all install clean distclean:
$(MAKE) -C src $@
+ifeq ($(MAKECMDGOALS),upload)
PACKAGE=sysvinit
VERSION=$(shell sed -rn '1s/.*[[:blank:]]\((.*)\)[[:blank:]].*/\1/p' doc/Changelog)
SVLOGIN=$(shell svn info | sed -rn '/Repository Root:/{ s|.*//(.*)\@.*|\1|p }')
svn export . $@
@chmod -R a+r,u+w,og-w $@
@find $@ -type d | xargs -r chmod a+rx,u+w,og-w
+endif
and if already set to make sure the utf-8 flag is not cleared
from the tty. Patch from Samuel Thibault.
* Include limits.h in killall.c to enforce definition of PATH_MAX
+ * Fix sysvinit bug #29758 Linker invocation should not contain
+ headers. Change based on patch from Elias Pipping.
[ Petter Reinholdtsen ]
* Next release will be 2.89dsf.
init: LDLIBS += $(INITLIBS) $(STATIC)
init: init.o init_utmp.o
-halt: halt.o ifdown.o hddown.o utmp.o reboot.h
+halt: halt.o ifdown.o hddown.o utmp.o
-last: last.o oldutmp.h
+last: last.o
mesg: mesg.o
wall: dowall.o wall.o
-shutdown: dowall.o shutdown.o utmp.o reboot.h
+shutdown: dowall.o shutdown.o utmp.o
bootlogd: LDLIBS += -lutil
bootlogd: bootlogd.o
sulogin.o: sulogin.c
init.o: CPPFLAGS += $(SELINUX_DEF)
-init.o: init.c init.h set.h reboot.h initreq.h
+init.o: init.c init.h initreq.h paths.h reboot.h set.h
-utmp.o: utmp.c init.h
+utmp.o:
init_utmp.o: CPPFLAGS += -DINIT_MAIN
-init_utmp.o: utmp.c init.h
+init_utmp.o: utmp.c init.h initreq.h paths.h
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+utmpdump.o: utmpdump.c oldutmp.h
+
+shutdown.o: shutdown.c paths.h reboot.h initreq.h init.h
+
+halt.o: halt.c reboot.h
+
+last.o: last.c oldutmp.h
+
cleanobjs:
rm -f *.o *.bak