1
0

patch-support_Makefile 766 B

123456789101112131415161718192021222324
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- iptraf-3.0.0.orig/support/Makefile 2002-07-19 18:31:48.000000000 +0200
  3. +++ iptraf-3.0.0/support/Makefile 2008-10-09 17:34:11.000000000 +0200
  4. @@ -3,16 +3,14 @@ INCLUDEDIR = -I/usr/include/ncurses
  5. OBJS = input.o menurt.o listbox.o winops.o labels.o \
  6. msgboxes.o txbox.o
  7. -all: libtextbox.a
  8. -
  9. libtextbox.a: $(OBJS)
  10. rm -rf libtextbox.a
  11. - ar cq libtextbox.a $(OBJS)
  12. - ranlib libtextbox.a
  13. -# gcc -shared -o libtextbox.so $(OBJS)
  14. + $(AR) cq libtextbox.a $(OBJS)
  15. + $(RANLIB) libtextbox.a
  16. +# $(CC) -shared -o libtextbox.so $(OBJS)
  17. %.o: %.c *.h
  18. - gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
  19. + $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
  20. clean:
  21. rm -rf *.o *~ libtextbox.a libtextbox.so