add missing iptables-mod-imq control file (fixes #269)
[openwrt.git] / openwrt / package / iptraf / patches / iptraf-2.7.0-cross_compile.patch
1 diff -ruN iptraf-2.7.0-old/support/Makefile iptraf-2.7.0-new/support/Makefile
2 --- iptraf-2.7.0-old/support/Makefile 2001-11-27 09:37:11.000000000 +0100
3 +++ iptraf-2.7.0-new/support/Makefile 2005-10-03 18:40:40.000000000 +0200
4 @@ -3,16 +3,21 @@
5 OBJS = input.o menurt.o listbox.o winops.o labels.o \
6 msgboxes.o
7
8 +AR=ar
9 +CC=cc
10 +RANLIB=ranlib
11 +CFLAGS= -O2 -g -fPIC
12 +
13 all: libtextbox.a
14
15 libtextbox.a: $(OBJS)
16 rm -rf libtextbox.a
17 - ar cq libtextbox.a $(OBJS)
18 - ranlib libtextbox.a
19 -# gcc -shared -o libtextbox.so $(OBJS)
20 + $(AR) cq libtextbox.a $(OBJS)
21 + $(RANLIB) libtextbox.a
22 +# $(CC) -shared -o libtextbox.so $(OBJS)
23
24 %.o: %.c *.h
25 - gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
26 + $(CC) $(CFLAGS) -Wall $(INCLUDEDIR) -c -o $*.o $<
27
28 clean:
29 rm -rf *.o *~ libtextbox.a libtextbox.so
This page took 0.039603 seconds and 5 git commands to generate.