Contents of /trunk/sysvinit/patches/sysvinit-2.88-makefile.patch
Parent Directory | Revision Log
Revision 1081 -
(show annotations)
(download)
Tue Aug 17 18:03:26 2010 UTC (14 years, 1 month ago) by niro
File size: 1545 byte(s)
Tue Aug 17 18:03:26 2010 UTC (14 years, 1 month ago) by niro
File size: 1545 byte(s)
-added makefile patch
1 | http://savannah.nongnu.org/bugs/index.php?29758 |
2 | |
3 | From 2b7d90f04cdd0e343f413c5c7672615926c02706 Mon Sep 17 00:00:00 2001 |
4 | From: wfink <wfink@456724a4-4300-0410-8514-c89748c515a2> |
5 | Date: Tue, 4 May 2010 07:50:12 +0000 |
6 | Subject: [PATCH] Fix sysvinit bug #29758 |
7 | |
8 | git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@87 456724a4-4300-0410-8514-c89748c515a2 |
9 | |
10 | diff --git a/src/Makefile b/src/Makefile |
11 | index e2b8028..19675c5 100644 |
12 | --- a/src/Makefile |
13 | +++ b/src/Makefile |
14 | @@ -92,9 +92,9 @@ all: $(BIN) $(SBIN) $(USRBIN) |
15 | init: LDLIBS += $(INITLIBS) $(STATIC) |
16 | init: init.o init_utmp.o |
17 | |
18 | -halt: halt.o ifdown.o hddown.o utmp.o reboot.h |
19 | +halt: halt.o ifdown.o hddown.o utmp.o |
20 | |
21 | -last: last.o oldutmp.h |
22 | +last: last.o |
23 | |
24 | mesg: mesg.o |
25 | |
26 | @@ -109,7 +109,7 @@ sulogin: sulogin.o |
27 | |
28 | wall: dowall.o wall.o |
29 | |
30 | -shutdown: dowall.o shutdown.o utmp.o reboot.h |
31 | +shutdown: dowall.o shutdown.o utmp.o |
32 | |
33 | bootlogd: LDLIBS += -lutil |
34 | bootlogd: bootlogd.o |
35 | @@ -118,14 +118,22 @@ sulogin.o: CPPFLAGS += $(SELINUX_DEF) |
36 | sulogin.o: sulogin.c |
37 | |
38 | init.o: CPPFLAGS += $(SELINUX_DEF) |
39 | -init.o: init.c init.h set.h reboot.h initreq.h |
40 | +init.o: init.c init.h initreq.h paths.h reboot.h set.h |
41 | |
42 | -utmp.o: utmp.c init.h |
43 | +utmp.o: |
44 | |
45 | init_utmp.o: CPPFLAGS += -DINIT_MAIN |
46 | -init_utmp.o: utmp.c init.h |
47 | +init_utmp.o: utmp.c init.h initreq.h paths.h |
48 | $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< |
49 | |
50 | +utmpdump.o: utmpdump.c oldutmp.h |
51 | + |
52 | +shutdown.o: shutdown.c paths.h reboot.h initreq.h init.h |
53 | + |
54 | +halt.o: halt.c reboot.h |
55 | + |
56 | +last.o: last.c oldutmp.h |
57 | + |
58 | cleanobjs: |
59 | rm -f *.o *.bak |
60 |