diff options
Diffstat (limited to 'net/ish/patches/patch-aa')
-rw-r--r-- | net/ish/patches/patch-aa | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net/ish/patches/patch-aa b/net/ish/patches/patch-aa new file mode 100644 index 00000000000..9320a0075e5 --- /dev/null +++ b/net/ish/patches/patch-aa @@ -0,0 +1,58 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/11 23:48:26 minskim Exp $ +--- Makefile.orig 2002-01-31 18:35:52.000000000 +0100 ++++ Makefile 2004-01-23 03:34:45.566770000 +0100 +@@ -1,38 +1,24 @@ +-CC = gcc +-CFLAGS1 = -O2 -Wall +-CFLAGS2 = -O2 -Wall -lsocket +-STRIP = strip +- +-default: +- @echo "-------------------------------" +- @echo "Make with the OS from the list:" +- @echo "" +- @echo "1.) linux" +- @echo "2.) bsd" +- @echo "3.) solaris" +- @echo "" +- @echo "ex: make bsd" +- @echo "-------------------------------" ++OWNCFLAGS = -O2 -Wall + ++ish_OBJECTS = ish.o ish_main.o ++ishd_OBJECTS = ishd.o ish_main.o ish_open.o + +-clean: +- /bin/rm -f ish ishd +- +-linux: clean cc1 fin ++all: ish ishd + +-bsd: clean cc1 fin ++.c.o: ++ $(CC) -c $(CPPFLAGS) $(OWNCFLAGS) $(CFLAGS) $< + +-solaris: clean cc2 fin ++ish: $(ish_OBJECTS) ++ $(CC) $(ish_OBJECTS) $(LDFLAGS) $(LIBS) -o $@ + +-cc1: +- $(CC) $(CFLAGS1) -o ish ish.c ish_main.c +- $(CC) $(CFLAGS1) -o ishd ishd.c ish_main.c ish_open.c ++ishd: $(ishd_OBJECTS) ++ $(CC) $(ishd_OBJECTS) $(LDFLAGS) $(LIBS) -o $@ + +-cc2: +- $(CC) $(CFLAGS2) -o ish ish.c ish_main.c +- $(CC) $(CFLAGS2) -o ishd ishd.c ish_main.c ish_open.c ++clean: ++ ${RM} -f ish ishd + +-fin: +- $(STRIP) ish +- $(STRIP) ishd ++install: ++ ${BSD_INSTALL_PROGRAM} ./ish ${PREFIX}/bin/ish ++ ${BSD_INSTALL_PROGRAM} ./ish ${PREFIX}/sbin/ishd + ++.PHONY: all clean install |