source: freewrt/package/dhcp6/patches/patch-server_Makefile@ ecb5fbe

freewrt_1_0 freewrt_2_0
Last change on this file since ecb5fbe was ecb5fbe, checked in by Thorsten Glaser <tg@…>, 19 years ago

two examples of regenerated patches,
one "normal" (zlib), one with WRKSRC=WRKDIR (dhcp6)

note: if there are object files and stuff like that
in WRKSRC, it goes ka-boom ;) so always do it like this:

TOPDIR=../.. gmake V=99 prepare
# patch the files
TOPDIR=../.. gmake update-patches
# review the patch files
TOPDIR=../.. gmake V=99 compile install

git-svn-id: svn://www.freewrt.org/trunk/freewrt@405 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
Line 
1$FreeWRT$
2--- w-dhcp6-1.0-1.orig/server/Makefile Fri Jun 28 14:49:42 2002
3+++ w-dhcp6-1.0-1/server/Makefile Tue Jul 25 10:37:06 2006
4@@ -1,27 +1,26 @@
5-CC = gcc
6 STD_HEADERS = stdhead.h head.h struct.h options_type.h message_type.h macros.h status_codes.h constants.h
7 OBJECT_FILES = server.o lib.o advertise.o parse.o leases.o reply.o
8
9 serv: $(OBJECT_FILES)
10- $(CC) -g3 $(OBJECT_FILES) -o serv
11+ $(CC) $(OBJECT_FILES) -o serv
12
13 lib.o: lib.c lib.h $(STD_HEADERS)
14- $(CC) -g3 -c lib.c -o lib.o
15+ $(CC) -c lib.c -o lib.o
16
17 parse.o: parse.c parse.h $(STD_HEADERS)
18- $(CC) -g3 -c parse.c -o parse.o
19+ $(CC) -c parse.c -o parse.o
20
21 leases.o: leases.c leases.h $(STD_HEADERS)
22- $(CC) -g3 -c leases.c -o leases.o
23+ $(CC) -c leases.c -o leases.o
24
25 advertise.o: advertise.c advertise.h $(STD_HEADERS)
26- $(CC) -g3 -c advertise.c -o advertise.o
27+ $(CC) -c advertise.c -o advertise.o
28
29 reply.o: reply.c reply.h $(STD_HEADERS)
30- $(CC) -g3 -c reply.c -o reply.o
31+ $(CC) -c reply.c -o reply.o
32
33 server.o: server.c lib.h advertise.h reply.h leases.h parse.h $(STD_HEADERS)
34- $(CC) -g3 -c server.c -o server.o
35+ $(CC) -c server.c -o server.o
36
37 clean:
38 rm -f *.o serv
Note: See TracBrowser for help on using the repository browser.