Ticket #19762: patch-Makefile.diff
File patch-Makefile.diff, 1.4 KB (added by lutz.horn@…, 15 years ago) |
---|
-
Makefile
old new 21 21 include Makefile.cfg 22 22 23 23 export CC = gcc -pthread 24 export CFLAGS += -I. - Wall -Os -ggdb -D_GNU_SOURCE -fPIC25 export LDLIBS += - lncursesw24 export CFLAGS += -I. -I/opt/local/include -Wall -Os -ggdb -D_GNU_SOURCE -fPIC 25 export LDLIBS += -L/opt/local/lib -lncursesw -liconv 26 26 27 27 VERSION := 0.20 28 28 … … 48 48 rm -f stfl.pc 49 49 50 50 Makefile.deps: *.c widgets/*.c *.h 51 $(CC) -I.-MM *.c > Makefile.deps_new52 $(CC) -I.-MM widgets/*.c | sed 's,^wt_[^ ]*\.o: ,widgets/&,' >> Makefile.deps_new51 $(CC) $(CFLAGS) $(LDLIBS) -MM *.c > Makefile.deps_new 52 $(CC) $(CFLAGS) $(LDLIBS) -MM widgets/*.c | sed 's,^wt_[^ ]*\.o: ,widgets/&,' >> Makefile.deps_new 53 53 mv -f Makefile.deps_new Makefile.deps 54 54 55 55 install: all stfl.pc … … 66 66 include spl/Makefile.snippet 67 67 endif 68 68 69 ifeq ($(FOUND_SWIG)$(FOUND_PERL5),11)70 include perl5/Makefile.snippet71 endif72 73 ifeq ($(FOUND_SWIG)$(FOUND_PYTHON),11)74 include python/Makefile.snippet75 endif76 77 ifeq ($(FOUND_SWIG)$(FOUND_RUBY),11)78 include ruby/Makefile.snippet79 endif80 69 #ifeq ($(FOUND_SWIG)$(FOUND_PERL5),11) 70 #include perl5/Makefile.snippet 71 #endif 72 # 73 #ifeq ($(FOUND_SWIG)$(FOUND_PYTHON),11) 74 #include python/Makefile.snippet 75 #endif 76 # 77 #ifeq ($(FOUND_SWIG)$(FOUND_RUBY),11) 78 #include ruby/Makefile.snippet 79 #endif 80 # 81 81 .PHONY: all clean install install_spl 82 82 83 83 include Makefile.deps