summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorkiyoto hashida <khashida@redhat.com>2008-04-04 06:30:13 +0000
committerkiyoto hashida <khashida@redhat.com>2008-04-04 06:30:13 +0000
commit3631313d2900180c868e645cbd739d11177a9fc4 (patch)
treea7e75bdfc0ec9caaa1602ca6d22c35841ac5ac43 /src/Makefile
parent0af9a7de74367e1989f3d22d042a935a02e1f7bd (diff)
parent2394cb257250b03adac84b76115901a0da10f835 (diff)
downloadinitscripts-3631313d2900180c868e645cbd739d11177a9fc4.tar.gz
initscripts-3631313d2900180c868e645cbd739d11177a9fc4.tar.xz
initscripts-3631313d2900180c868e645cbd739d11177a9fc4.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/initscripts
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 887e2373..b793300b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,7 +2,7 @@ CFLAGS+=$(RPM_OPT_FLAGS) -Wall -D_GNU_SOURCE
PROGS=usernetctl doexec netreport testd usleep ipcalc initlog \
fstab-decode getkey ppp-watch consoletype genhostid rename_device \
- console_init console_check
+ console_init console_check securetty
PPPWATCH_OBJS=ppp-watch.o shvar.o
CONSOLE_INIT_OBJS=console_init.o shvar.o
INITLOG_OBJS=initlog.o process.o
@@ -28,6 +28,7 @@ install:
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 755 securetty $(ROOT)/sbin/securetty
install -m 755 rename_device $(ROOT)/lib/udev/rename_device
install -m 755 console_init $(ROOT)/lib/udev/console_init
install -m 755 console_check $(ROOT)/lib/udev/console_check
@@ -72,6 +73,9 @@ usernetctl.o: usernetctl.c
usernetctl: usernetctl.c usernetctl.o
$(CC) $(LDFLAGS) -pie -o $@ $@.o
+securetty: securetty.o
+ $(CC) $(LDFLAGS) -o $@ $<
+
shvar.o: shvar.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c shvar.c -o shvar.o