Downloaded from https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kiki-the-nano-bot/debian/patches/Makefile.patch?revision=15681&view=co Makefile fixes: - Make CXXFLAGS, CPPFLAGS, LDFLAGS available for user-specified flags. - run SWIG before compiling Peter De Wachter (pdewacht@gmail.com) placed in the public domain --- a/kodilib/linux/Makefile +++ b/kodilib/linux/Makefile @@ -21,7 +21,7 @@ INCLUDES = $(KODI_INCLUDES) $(X11_INCLUDES) $(SDL_INCLUDES) -CXXFLAGS = $(INCLUDES) $(SDL_CFLAGS) +CXXOPTS = -Wall $(INCLUDES) $(SDL_CFLAGS) $(CPPFLAGS) $(CXXFLAGS) src = \ $(KODISRCDIR)/handler/KEventHandler.cpp \ @@ -95,4 +95,4 @@ $(RM) -f $(obj) libkodi.a %.o: %.cpp - $(CXX) -c $(CXXFLAGS) -o $@ $< + $(CXX) -c $(CXXOPTS) -o $@ $< --- a/linux/Makefile +++ b/linux/Makefile @@ -46,7 +46,7 @@ INCLUDES = $(KIKI_INCLUDES) $(X11_INCLUDES) $(PYTHON_INCLUDES) -CXXFLAGS = $(INCLUDES) $(SDLCFLAGS) +CXXOPTS = -Wall $(INCLUDES) $(SDLCFLAGS) $(CPPFLAGS) $(CXXFLAGS) src = \ $(KIKISRC)/base/KikiAction.cpp \ @@ -105,8 +105,10 @@ obj = $(src:.cpp=.o) kiki: $(KIKISRC)/../SWIG/KikiPy_wrap.cpp $(obj) - -(cd ../SWIG; swig -c++ -python -globals kiki -o KikiPy_wrap.cpp KikiPy.i; cp kiki.py ../py) - $(CXX) $(obj) $(KODILIB) -o kiki $(GLLIBS) $(SDLLIBS) $(PYTHONLIBS) + $(CXX) $(LDFLAGS) $(obj) $(KODILIB) -o kiki $(GLLIBS) $(SDLLIBS) $(PYTHONLIBS) + +$(KIKISRC)/../SWIG/KikiPy_wrap.cpp: $(wildcard ../SWIG/*.i) + (cd ../SWIG && swig -c++ -python -globals kiki -DSWIG_PYTHON_LEGACY_BOOL -o KikiPy_wrap.cpp KikiPy.i && cp kiki.py ../py) obj-clean: $(RM) -f $(obj) @@ -115,5 +117,5 @@ $(RM) -f $(obj) kiki %.o: %.cpp - $(CXX) -c $(CXXFLAGS) -o $@ $< + $(CXX) -c $(CXXOPTS) -o $@ $< ut class='txt' type='search' size='10' name='q' value=''/>
path: root/po
AgeCommit message (Expand)Author
2019-09-24Merge branch 'master' into core-updatesLudovic Courtès
2019-09-21guix package: Add 'guix show' alias....* guix/scripts/show.scm: New file. * Makefile.am (MODULES): Add it. * po/guix/POTFILES.in: Add it. * tests/guix-package-aliases.sh: Add test. * doc/guix.texi (Invoking guix package): Document it and use it in a example. Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2019-09-18doc: Add Guix Cookbook....* .gitignore: Update ignore list. * Makefile.am (assert-no-store-file-names): Exclude the cookbook. * bootstrap: Generate po files for cookbook translations. * doc/guix-cookbook.texi: New file. * doc/local.mk (info_TEXINFOS): Add it; add a rule to build cookbook translations. * po/doc/local.mk (DOC_COOKBOOK_PO_FILES): New variable. (EXTRA_DIST): Add cookbook pot file and po files. (doc-po-update-cookbook-%): New target. (doc-pot-update): Also update cookbook pot file. (doc-po-update): Also update cookbook po files. Ricardo Wurmus
2019-09-06Merge branch 'master' into core-updatesMark H Weaver
2019-08-31nls: Update 'fr' translation of the manual.Julien Lepiller
2019-08-31nls: Update 'es' translation of the manual.Julien Lepiller
2019-08-29Merge branch 'master' into core-updatesMark H Weaver
2019-08-25nls: Update 'sv' translation.Ludovic Courtès
2019-08-25nls: Update 'de' translation.Ludovic Courtès
2019-08-25nls: Update 'fr' translation.Ludovic Courtès