diff options
author | Bill Nottingham <notting@redhat.com> | 2005-03-31 20:52:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-03-31 20:52:04 +0000 |
commit | c45ffd7f30263049d6316034119682fd89cedff7 (patch) | |
tree | b5768278fe6a5ac812b173875164053e4bcf911e /src/Makefile | |
parent | ed25c43e6789cef946d56db177bfdad1a450c587 (diff) | |
download | initscripts-c45ffd7f30263049d6316034119682fd89cedff7.tar initscripts-c45ffd7f30263049d6316034119682fd89cedff7.tar.gz initscripts-c45ffd7f30263049d6316034119682fd89cedff7.tar.bz2 initscripts-c45ffd7f30263049d6316034119682fd89cedff7.tar.xz initscripts-c45ffd7f30263049d6316034119682fd89cedff7.zip |
bring back initlog for third-party scripts. officially deprecate it
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 3de4df1f..9ef54794 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,8 +1,9 @@ CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE -PROGS=usernetctl doexec netreport testd usleep ipcalc \ +PROGS=usernetctl doexec netreport testd usleep ipcalc initlog \ getkey ppp-watch consoletype genhostid kmodule PPPWATCH_OBJS=ppp-watch.o shvar.o +INITLOG_OBJS=initlog.o process.o USLEEP_OBJS=usleep.o mandir=/usr/share/man @@ -21,9 +22,11 @@ install: install -m 2755 netreport $(ROOT)/sbin/netreport install -m 755 ipcalc $(ROOT)/bin/ipcalc install -m 755 genhostid $(ROOT)/sbin/genhostid + install -m 755 initlog $(ROOT)/sbin/initlog install -m 755 getkey $(ROOT)/sbin/getkey install -m 755 ppp-watch $(ROOT)/sbin/ppp-watch install -m 755 consoletype $(ROOT)/sbin/consoletype + install -m 644 initlog.1 $(ROOT)$(mandir)/man1 install -m 644 genhostid.1 $(ROOT)$(mandir)/man1 install -m 644 doexec.1 $(ROOT)$(mandir)/man1 install -m 644 netreport.1 $(ROOT)$(mandir)/man1 @@ -32,6 +35,7 @@ install: install -m 644 ppp-watch.8 $(ROOT)$(mandir)/man8 install -m 644 ipcalc.1 $(ROOT)$(mandir)/man1 install -m 644 consoletype.1 $(ROOT)$(mandir)/man1 + install -m 644 initlog.conf $(ROOT)/etc # this daemon and initscript are useful for testing the up/down/status stuff # not installed by default, only comes from sources. @@ -45,6 +49,9 @@ getkey: getkey.o ipcalc: ipcalc.o $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic +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 |