diff options
Diffstat (limited to 'security/sslsniffer/files/patch-Makefile')
-rw-r--r-- | security/sslsniffer/files/patch-Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/security/sslsniffer/files/patch-Makefile b/security/sslsniffer/files/patch-Makefile new file mode 100644 index 000000000000..3c54276e9ff7 --- /dev/null +++ b/security/sslsniffer/files/patch-Makefile @@ -0,0 +1,35 @@ +--- Makefile.orig Mon Nov 18 18:52:28 2002 ++++ Makefile Mon Nov 18 18:55:30 2002 +@@ -1,26 +1,24 @@ +-CC= gcc + PFLAGS= -cache-dir=/tmp/${USER} + PURIFY= purify ${PFLAGS} +-INCS= -I/usr/local/ssl/include +-LIBS= -L/usr/local/ssl/lib -L. -lnsl -lssl -lcrypto -lutl ++INCS= -I${OPENSSLINC} ++LIBS= -L${OPENSSLLIB} -L. -lssl -lcrypto -lutl + SRCS= sslsniffer.c + OBJS= ${SRCS:.c=.o} + BINS= sslsniffer + UTL_LIB= libutl.a + UTL_SRCS= general_utilities.c net_utilities.c + AR= ar +-ARFLAGS= rs ++ARFLAGS= r + BINS.PURIFY= sslpure + +-CCFLAGS= -g -Wall -O3 -pedantic ${INCS} + + all: $(UTL_LIB) ${BINS} + + %.o: %.c +- ${CC} ${CCFLAGS} -c $< ++ ${CC} ${CFLAGS} ${INCS} -c $< + + ${BINS}: ${OBJS} +- ${CC} ${CCFLAGS} -o $@ ${OBJS} ${LIBS} ++ ${CC} ${CFLAGS} ${INCS} -o $@ ${OBJS} ${LIBS} + + $(UTL_LIB): general_utilities.o net_utilities.o + ${AR} ${ARFLAGS} $@ general_utilities.o net_utilities.o + |