aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-09-06 22:42:05 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-09-06 22:42:05 +0000
commit57487e296e885786382588f547d259bec4c3595e (patch)
treeb85655e478e1c22807d754df6a6c3d4f39cb46fc /src/Makefile
parent5ae520ecf238d6c5d1db515bb3217501f93c8a13 (diff)
downloadinitscripts-57487e296e885786382588f547d259bec4c3595e.tar
initscripts-57487e296e885786382588f547d259bec4c3595e.tar.gz
initscripts-57487e296e885786382588f547d259bec4c3595e.tar.bz2
initscripts-57487e296e885786382588f547d259bec4c3595e.tar.xz
initscripts-57487e296e885786382588f547d259bec4c3595e.zip
first pass at ppp-watch
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 8b9616ad..6dfe6a93 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,8 @@
CFLAGS+=-Wall -D_GNU_SOURCE -g
-PROGS=usernetctl doexec netreport testd usleep ipcalc initlog minilogd loglevel getkey
+PROGS=usernetctl doexec netreport testd usleep ipcalc initlog minilogd \
+ loglevel getkey ppp-watch
+PPPWATCH_OBJS=ppp-watch.o shvar.o
INITLOG_OBJS=initlog.o process.o
USLEEP_OBJS=usleep.o
@@ -20,6 +22,7 @@ install:
install -s -m 755 minilogd $(ROOT)/sbin/minilogd
install -s -m 755 loglevel $(ROOT)/sbin/loglevel
install -s -m 755 getkey $(ROOT)/sbin/getkey
+ install -s -m 755 ppp-watch $(ROOT)/sbin/ppp-watch
install -m 644 initlog.1 $(ROOT)/usr/man/man1
install -m 644 doexec.1 $(ROOT)/usr/man/man1
install -m 644 netreport.1 $(ROOT)/usr/man/man1
@@ -42,3 +45,10 @@ initlog: $(INITLOG_OBJS)
usleep: $(USLEEP_OBJS)
$(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -lpopt
+
+ppp-watch: $(PPPWATCH_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -lglib
+shvar.o: shvar.c
+ $(CC) $(CFLAGS) `glib-config --cflags` -c shvar.c -o shvar.o
+ppp-watch.o: ppp-watch.c
+ $(CC) $(CFLAGS) `glib-config --cflags` -c ppp-watch.c -o ppp-watch.o