aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-08-26 08:10:20 +0000
committerBill Nottingham <notting@redhat.com>2004-08-26 08:10:20 +0000
commit255335de9b1ad76cef878078e8965a45fc5db273 (patch)
tree9695d3d90c4e3d76b2de5b72ae6c756bdd0c0a4c /src/Makefile
parent19a8799235360e8839c0da1da755197e24f949c8 (diff)
downloadinitscripts-255335de9b1ad76cef878078e8965a45fc5db273.tar
initscripts-255335de9b1ad76cef878078e8965a45fc5db273.tar.gz
initscripts-255335de9b1ad76cef878078e8965a45fc5db273.tar.bz2
initscripts-255335de9b1ad76cef878078e8965a45fc5db273.tar.xz
initscripts-255335de9b1ad76cef878078e8965a45fc5db273.zip
autoloading of hardware at boot time
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fc67203c..ba2378cd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE
PROGS=usernetctl doexec netreport testd usleep ipcalc initlog minilogd \
- getkey ppp-watch consoletype genhostid
+ getkey ppp-watch consoletype genhostid kmodule
PPPWATCH_OBJS=ppp-watch.o shvar.o
INITLOG_OBJS=initlog.o process.o
USLEEP_OBJS=usleep.o
@@ -16,6 +16,7 @@ clean:
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 kmodule $(ROOT)/sbin/kmodule
install -m 755 usleep $(ROOT)/bin/usleep
install -m 4755 usernetctl $(ROOT)/usr/sbin/usernetctl
install -m 2755 netreport $(ROOT)/sbin/netreport
@@ -69,3 +70,6 @@ shvar.o: shvar.c
ppp-watch.o: ppp-watch.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o
+
+kmodule: kmodule.o
+ $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic -lkudzu -lpci