*** ./src/Makefile.ORIG Fri Jun 4 14:56:31 2010 --- ./src/Makefile Fri Jun 4 14:58:23 2010 *************** *** 1,12 **** include ../Makefile.cfg CC=gcc ! CFLAGS=-Wall -Wcast-align -Wshadow -Wstrict-prototypes -g -O2 -DHAVE_$(CRYPTO_TYPE) -I../include -I./include ! LDFLAGS=-lz -lpthread ifeq ($(CRYPTO_TYPE),OPENSSL) LDFLAGS+=-lcrypto else ! LDFLAGS+=-lgcrypt endif all: config ctunnel --- 1,12 ---- include ../Makefile.cfg CC=gcc ! CFLAGS=-Wall -Wcast-align -Wshadow -Wstrict-prototypes -O2 -DHAVE_$(CRYPTO_TYPE) -I../include -I./include ! LDFLAGS=-L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -lz -lpthread ifeq ($(CRYPTO_TYPE),OPENSSL) LDFLAGS+=-lcrypto else ! LDFLAGS+=-lgcrypt -lgpg-error endif all: config ctunnel *************** *** 31,37 **** ctunnel.o: $(CC) $(CFLAGS) -c ctunnel.c ctunnel: ctunnel.o crypto.o comp.o net.o opt.o log.o thread.o ! $(CC) $(CFLAGS) -o ctunnel ctunnel.o crypto.o comp.o net.o opt.o log.o thread.c $(LDFLAGS) install: install ctunnel $(PREFIX)/bin uninstall: --- 31,37 ---- ctunnel.o: $(CC) $(CFLAGS) -c ctunnel.c ctunnel: ctunnel.o crypto.o comp.o net.o opt.o log.o thread.o ! $(CC) $(CFLAGS) -o ctunnel ctunnel.o crypto.o comp.o net.o opt.o log.o thread.o $(LDFLAGS) install: install ctunnel $(PREFIX)/bin uninstall: *** ./Makefile.ORIG Fri Jun 4 13:58:38 2010 --- ./Makefile Fri Jun 4 13:58:57 2010 *************** *** 5,11 **** $(MAKE) -C src/ clean install: $(MAKE) -C src/ install ! install ctunnel.1 $(PREFIX)/share/man/man1 uninstall: $(MAKE) -C src/ uninstall ! rm -f $(PREFIX)/share/man/man1/ctunnel.1 --- 5,11 ---- $(MAKE) -C src/ clean install: $(MAKE) -C src/ install ! install ctunnel.1 $(PREFIX)/man/man1 uninstall: $(MAKE) -C src/ uninstall ! rm -f $(PREFIX)/man/man1/ctunnel.1