mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
f22fd17116
- Set OPENSSL default Submitted by: danfe [1] Alexander Logvinov <ports@logvinov.com> (maintainer)
34 lines
923 B
Plaintext
34 lines
923 B
Plaintext
--- Makefile.orig Mon May 1 07:29:07 2006
|
|
+++ Makefile Sun Nov 12 14:57:38 2006
|
|
@@ -6,7 +6,7 @@
|
|
#
|
|
|
|
CC = cc
|
|
-FLAGS = -ansi -pedantic -Wall -O2 -fno-strict-aliasing
|
|
+FLAGS = -ansi -Wall -O2 -fno-strict-aliasing # -pedantic
|
|
|
|
BIN_PROGRAM = opendd
|
|
|
|
@@ -49,15 +49,13 @@
|
|
fi
|
|
@echo ""
|
|
.c.o:
|
|
- @echo "===> Compiling `basename $*.o` ..."
|
|
- @if [ "$*" = "./include/socket" ]\
|
|
- || [ "$*" = "./main" ]\
|
|
- && [ "${USE_SOCKET_SSL}" ]; then\
|
|
- echo '${CC} ${FLAGS} ${MACROS} -c -o $*.o $*.c';\
|
|
- ${CC} ${FLAGS} ${MACROS} -c -o $*.o $*.c;\
|
|
+ @echo "===> Compiling `basename $@` ..."
|
|
+ @if [ "${USE_SOCKET_SSL}" ]; then\
|
|
+ echo '${CC} ${FLAGS} ${MACROS} -c -o $@ $<';\
|
|
+ ${CC} ${FLAGS} ${MACROS} -c -o $@ $<;\
|
|
else\
|
|
- echo '${CC} ${FLAGS} -c -o $*.o $*.c';\
|
|
- ${CC} ${FLAGS} -c -o $*.o $*.c;\
|
|
+ echo '${CC} ${FLAGS} -c -o $@ $<';\
|
|
+ ${CC} ${FLAGS} -c -o $@ $<;\
|
|
fi
|
|
clean:
|
|
if [ -f opendd ];then rm -f opendd; fi
|