CVS: initscripts/src usleep.1, 1.2, 1.3 usleep.c, 1.2, 1.3 Makefile, 1.2, 1.3

Jasper Huysmans jasper at lunar-linux.org
Thu Oct 30 20:53:22 GMT 2003


Update of /var/cvs/lunar/initscripts/src
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22880

Modified Files:
	Makefile 
Added Files:
	usleep.1 usleep.c 
Log Message:
Add usleep back. The coreutils one is bogus.



Index: Makefile
===================================================================
RCS file: /var/cvs/lunar/initscripts/src/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	30 Oct 2003 08:22:57 -0000	1.2
+++ Makefile	30 Oct 2003 20:53:19 -0000	1.3
@@ -1,9 +1,10 @@
 CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE
 
-PROGS=usernetctl doexec netreport ipcalc initlog minilogd \
+PROGS=usernetctl doexec netreport usleep ipcalc initlog minilogd \
 	getkey ppp-watch consoletype lunar-support-check genhostid
 PPPWATCH_OBJS=ppp-watch.o shvar.o
 INITLOG_OBJS=initlog.o process.o
+USLEEP_OBJS=usleep.o
 
 mandir=/usr/share/man
 
@@ -15,6 +16,7 @@
 install:
 	mkdir -p $(ROOT)/bin $(ROOT)/usr/sbin $(ROOT)$(mandir)/man{1,8} $(ROOT)/etc
 	install -m 755 doexec $(ROOT)/bin/doexec
+	install -m 755 usleep $(ROOT)/bin/usleep
 	install -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
 	install -m 2755 netreport $(ROOT)/sbin/netreport
 	install -m 755 ipcalc $(ROOT)/bin/ipcalc
@@ -28,6 +30,7 @@
 	install -m 644 genhostid.1 $(ROOT)$(mandir)/man1
 	install -m 644 doexec.1 $(ROOT)$(mandir)/man1
 	install -m 644 netreport.1 $(ROOT)$(mandir)/man1
+	install -m 644 usleep.1 $(ROOT)$(mandir)/man1
 	install -m 644 usernetctl.8 $(ROOT)$(mandir)/man8
 	install -m 644 ppp-watch.8 $(ROOT)$(mandir)/man8
 	install -m 644 ipcalc.1 $(ROOT)$(mandir)/man1
@@ -48,6 +51,9 @@
 initlog: $(INITLOG_OBJS)
 	$(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
 
+usleep: $(USLEEP_OBJS)
+	$(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+
 ppp-watch: $(PPPWATCH_OBJS)
 	$(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic
 




More information about the Lunar-commits mailing list