wok-6.x annotate nbs/stuff/Makefile.u @ rev 1313

Add apache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 27 18:36:44 2008 +0000 (2008-08-27)
parents
children
rev   line source
pascal@1182 1 --- Makefile.org 2008-04-30 10:55:30.000000000 +0200
pascal@1182 2 +++ Makefile 2008-04-30 11:03:26.000000000 +0200
pascal@1182 3 @@ -8,17 +8,17 @@
pascal@1182 4 all: nbsd $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) nbscat
pascal@1182 5
pascal@1182 6 install: all
pascal@1182 7 - mkdir -p /usr/lib
pascal@1182 8 - mkdir -p /usr/sbin
pascal@1182 9 - mkdir -p /usr/include
pascal@1182 10 - install -m 755 nbsd /usr/sbin/nbsd
pascal@1182 11 - install -m 755 nbscat /usr/bin/nbscat
pascal@1182 12 - install -m 755 nbscat8k /usr/bin/nbscat8k
pascal@1182 13 - install -m 644 nbs.h /usr/include/nbs.h
pascal@1182 14 - install -m 755 $(DYNAMIC_LIBRARY) /usr/lib
pascal@1182 15 - ( cd /usr/lib ; ln -sf libnbs.so.1 libnbs.so )
pascal@1182 16 - install -m 755 $(STATIC_LIBRARY) /usr/lib
pascal@1182 17 - /sbin/ldconfig
pascal@1182 18 + mkdir -p $(DESTDIR)/usr/lib
pascal@1182 19 + mkdir -p $(DESTDIR)/usr/bin
pascal@1182 20 + mkdir -p $(DESTDIR)/usr/sbin
pascal@1182 21 + mkdir -p $(DESTDIR)/usr/include
pascal@1182 22 + install -m 755 nbsd $(DESTDIR)/usr/sbin/nbsd
pascal@1182 23 + install -m 755 nbscat $(DESTDIR)/usr/bin/nbscat
pascal@1182 24 + install -m 755 nbscat8k $(DESTDIR)/usr/bin/nbscat8k
pascal@1182 25 + install -m 644 nbs.h $(DESTDIR)/usr/include/nbs.h
pascal@1182 26 + install -m 755 $(DYNAMIC_LIBRARY) $(DESTDIR)/usr/lib
pascal@1182 27 + ( cd $(DESTDIR)/usr/lib ; ln -sf libnbs.so.1 libnbs.so )
pascal@1182 28 + install -m 755 $(STATIC_LIBRARY) $(DESTDIR)/usr/lib
pascal@1182 29
pascal@1182 30 %.lo : %.c
pascal@1182 31 $(CC) -fPIC $(CFLAGS) -o $@ -c $<