]> git.pld-linux.org Git - projects/rc-scripts.git/blob - src/Makefile
Synced with rc-scripts-0.0.2 from old repo.
[projects/rc-scripts.git] / src / Makefile
1 CFLAGS+=-Wall
2
3 PROGS=usernetctl doexec netreport testd usleep ipcalc
4
5 all:    $(PROGS)
6
7 clean:
8         rm -f $(PROGS)
9
10 install:
11         mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)/usr/man/man1
12         install -s -m 755 doexec $(ROOT)/bin/doexec
13         install -s -m 755 usleep $(ROOT)/bin/usleep
14         install -s -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
15         install -s -m 2755 netreport $(ROOT)/sbin/netreport
16         install -s -m 755 ipcalc $(ROOT)/bin/ipcalc
17         install -m 644 doexec.1 $(ROOT)/usr/man/man1
18         install -m 644 netreport.1 $(ROOT)/usr/man/man1
19         install -m 644 usleep.1 $(ROOT)/usr/man/man1
20         install -m 644 usernetctl.1 $(ROOT)/usr/man/man1
21         install -m 644 ipcalc.1 $(ROOT)/usr/man/man1
22
23 # this daemon and initscript are useful for testing the up/down/status stuff
24 # not installed by default, only comes from sources.
25 install-test:
26         install -s -m 755 testd $(ROOT)/usr/sbin/testd
27         install -m 755 testdinit $(ROOT)/etc/rc.d/init.d/testd
28
29 ipcalc: ipcalc.o
30         $(CC) $(LDFLAGS) -o $@ $< -lpopt
This page took 0.020888 seconds and 3 git commands to generate.