wok-6.x annotate tcc/stuff/Makefile.u @ rev 12792

ncurses: silently install tic
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 16 12:15:00 2012 +0200 (2012-05-16)
parents 32953ef3a7c7
children 012b01cf2c1d
rev   line source
pascal@4253 1 --- tcc-0.9.25/Makefile
pascal@4253 2 +++ tcc-0.9.25/Makefile
pascal@4253 3 @@ -197,48 +197,48 @@
pascal@769 4
pascal@4253 5 ifndef CONFIG_WIN32
pascal@4253 6 install: $(PROGS) $(LIBTCC1) $(BCHECK_O) libtcc.a tcc.1 tcc-doc.html
pascal@769 7 - mkdir -p "$(bindir)"
pascal@769 8 - $(INSTALL) -s -m755 $(PROGS) "$(bindir)"
pascal@4253 9 - mkdir -p "$(mandir)/man1"
pascal@4253 10 - $(INSTALL) tcc.1 "$(mandir)/man1"
pascal@4253 11 - mkdir -p "$(tccdir)"
pascal@4253 12 - mkdir -p "$(tccdir)/include"
pascal@769 13 + mkdir -p "$(DESTDIR)/$(bindir)"
pascal@769 14 + $(INSTALL) -s -m755 $(PROGS) "$(DESTDIR)/$(bindir)"
pascal@769 15 + mkdir -p "$(DESTDIR)/$(mandir)/man1"
pascal@769 16 + $(INSTALL) tcc.1 "$(DESTDIR)/$(mandir)/man1"
pascal@769 17 + mkdir -p "$(DESTDIR)/$(tccdir)"
pascal@769 18 + mkdir -p "$(DESTDIR)/$(tccdir)/include"
pascal@4253 19 ifneq ($(LIBTCC1),)
pascal@4253 20 - $(INSTALL) -m644 $(LIBTCC1) "$(tccdir)"
pascal@4253 21 + $(INSTALL) -m644 $(LIBTCC1) "$(DESTDIR)/$(tccdir)"
pascal@4253 22 endif
pascal@4253 23 ifneq ($(BCHECK_O),)
pascal@4253 24 - $(INSTALL) -m644 $(BCHECK_O) "$(tccdir)"
pascal@4253 25 + $(INSTALL) -m644 $(BCHECK_O) "$(DESTDIR)/$(tccdir)"
pascal@4253 26 endif
pascal@4253 27 - $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(tccdir)/include"
pascal@4253 28 - mkdir -p "$(docdir)"
pascal@4253 29 - $(INSTALL) -m644 tcc-doc.html "$(docdir)"
pascal@4253 30 - mkdir -p "$(libdir)"
pascal@4253 31 - $(INSTALL) -m644 libtcc.a "$(libdir)"
pascal@4253 32 - mkdir -p "$(includedir)"
pascal@4253 33 - $(INSTALL) -m644 libtcc.h "$(includedir)"
pascal@4253 34 + $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(DESTDIR)/$(tccdir)/include"
pascal@4253 35 + mkdir -p "$(DESTDIR)/$(docdir)"
pascal@4253 36 + $(INSTALL) -m644 tcc-doc.html "$(DESTDIR)/$(docdir)"
pascal@4253 37 + mkdir -p "$(DESTDIR)/$(libdir)"
pascal@4253 38 + $(INSTALL) -m644 libtcc.a "$(DESTDIR)/$(libdir)"
pascal@4253 39 + mkdir -p "$(DESTDIR)/$(includedir)"
pascal@4253 40 + $(INSTALL) -m644 libtcc.h "$(DESTDIR)/$(includedir)"
pascal@4253 41
pascal@4253 42 uninstall:
pascal@4253 43 - rm -fv $(foreach P,$(PROGS),"$(bindir)/$P")
pascal@4253 44 - rm -fv $(foreach P,$(LIBTCC1) $(BCHECK_O),"$(tccdir)/$P")
pascal@4253 45 - rm -fv $(foreach P,$(TCC_INCLUDES),"$(tccdir)/include/$P")
pascal@4253 46 - rm -fv "$(docdir)/tcc-doc.html" "$(mandir)/man1/tcc.1"
pascal@4253 47 - rm -fv "$(libdir)/libtcc.a" "$(includedir)/libtcc.h"
pascal@4253 48 + rm -fv $(foreach P,$(PROGS),"$(DESTDIR)/$(bindir)/$P")
pascal@4253 49 + rm -fv $(foreach P,$(LIBTCC1) $(BCHECK_O),"$(DESTDIR)/$(tccdir)/$P")
pascal@4253 50 + rm -fv $(foreach P,$(TCC_INCLUDES),"$(DESTDIR)/$(tccdir)/include/$P")
pascal@4253 51 + rm -fv "$(docdir)/tcc-doc.html" "$(DESTDIR)/$(mandir)/man1/tcc.1"
pascal@4253 52 + rm -fv "$(libdir)/libtcc.a" "$(DESTDIR)/$(includedir)/libtcc.h"
pascal@4253 53
pascal@4253 54 else
pascal@4253 55 install: $(PROGS) $(LIBTCC1) libtcc.a tcc-doc.html
pascal@4253 56 - mkdir -p "$(tccdir)"
pascal@769 57 - mkdir -p "$(tccdir)/lib"
pascal@4253 58 - mkdir -p "$(tccdir)/include"
pascal@4253 59 - mkdir -p "$(tccdir)/examples"
pascal@4253 60 - mkdir -p "$(tccdir)/doc"
pascal@4253 61 - mkdir -p "$(tccdir)/libtcc"
pascal@4253 62 - $(INSTALL) -s -m755 $(PROGS) "$(tccdir)"
pascal@4253 63 - $(INSTALL) -m644 $(LIBTCC1) win32/lib/*.def "$(tccdir)/lib"
pascal@769 64 - cp -r win32/include/. "$(tccdir)/include"
pascal@769 65 - cp -r win32/examples/. "$(tccdir)/examples"
pascal@4253 66 -# $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(tccdir)/include"
pascal@4253 67 - $(INSTALL) -m644 tcc-doc.html win32/tcc-win32.txt "$(tccdir)/doc"
pascal@4253 68 - $(INSTALL) -m644 libtcc.a libtcc.h "$(tccdir)/libtcc"
pascal@4253 69 + mkdir -p "$(DESTDIR)/$(tccdir)"
pascal@769 70 + mkdir -p "$(DESTDIR)/$(tccdir)/lib"
pascal@4253 71 + mkdir -p "$(DESTDIR)/$(tccdir)/include"
pascal@4253 72 + mkdir -p "$(DESTDIR)/$(tccdir)/examples"
pascal@4253 73 + mkdir -p "$(DESTDIR)/$(tccdir)/doc"
pascal@4253 74 + mkdir -p "$(DESTDIR)/$(tccdir)/libtcc"
pascal@4253 75 + $(INSTALL) -s -m755 $(PROGS) "$(DESTDIR)/$(tccdir)"
pascal@4253 76 + $(INSTALL) -m644 $(LIBTCC1) win32/lib/*.def "$(DESTDIR)/$(tccdir)/lib"
pascal@769 77 + cp -r win32/include/. "$(DESTDIR)/$(tccdir)/include"
pascal@769 78 + cp -r win32/examples/. "$(DESTDIR)/$(tccdir)/examples"
pascal@4253 79 +# $(INSTALL) -m644 $(addprefix include/,$(TCC_INCLUDES)) "$(DESTDIR)/$(tccdir)/include"
pascal@4253 80 + $(INSTALL) -m644 tcc-doc.html win32/tcc-win32.txt "$(DESTDIR)/$(tccdir)/doc"
pascal@4253 81 + $(INSTALL) -m644 libtcc.a libtcc.h "$(DESTDIR)/$(tccdir)/libtcc"
pascal@769 82 endif
pascal@769 83
pascal@4253 84 # documentation and man page