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:
788 bytes
|
| Line | |
|---|
| 1 | $FreeWRT$
|
|---|
| 2 | --- zlib-1.2.3.orig/contrib/minizip/Makefile Tue Jul 12 18:08:18 2005
|
|---|
| 3 | +++ zlib-1.2.3/contrib/minizip/Makefile Tue Jul 25 10:50:14 2006
|
|---|
| 4 | @@ -1,8 +1,8 @@
|
|---|
| 5 | CC=cc
|
|---|
| 6 | -CFLAGS=-O -I../..
|
|---|
| 7 | +CFLAGS=-O2 -g -I../.. -Dunix
|
|---|
| 8 |
|
|---|
| 9 | -UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a
|
|---|
| 10 | -ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a
|
|---|
| 11 | +UNZ_OBJS = miniunz.o unzip.o ioapi.o
|
|---|
| 12 | +ZIP_OBJS = minizip.o zip.o ioapi.o
|
|---|
| 13 |
|
|---|
| 14 | .c.o:
|
|---|
| 15 | $(CC) -c $(CFLAGS) $*.c
|
|---|
| 16 | @@ -10,10 +10,10 @@ ZIP_OBJS = minizip.o zip.o ioapi.o ../
|
|---|
| 17 | all: miniunz minizip
|
|---|
| 18 |
|
|---|
| 19 | miniunz: $(UNZ_OBJS)
|
|---|
| 20 | - $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS)
|
|---|
| 21 | + $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) -L ../.. -lz
|
|---|
| 22 |
|
|---|
| 23 | minizip: $(ZIP_OBJS)
|
|---|
| 24 | - $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS)
|
|---|
| 25 | + $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) -L ../.. -lz
|
|---|
| 26 |
|
|---|
| 27 | test: miniunz minizip
|
|---|
| 28 | ./minizip test readme.txt
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.