wok-current view nbs/stuff/Makefile.u @ rev 4589

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