freebsd-ports/security/cryptlib/files/patch-makefile
2003-06-21 06:11:50 +00:00

37 lines
1.6 KiB
Text

--- makefile.orig Tue Jun 17 12:28:06 2003
+++ makefile Tue Jun 17 13:47:16 2003
@@ -709,7 +709,7 @@
$(CC) $(CFLAGS) misc/keyex.c -o $(OBJPATH)keyex.o
$(OBJPATH)keyex_rw.o: $(CRYPT_DEP) $(ASN1_DEP) misc/objinfo.h misc/keyex_rw.c
- $(CC) $(CFLAGS) misc/keyex_rw.c -o $(OBJPATH)/keyex_rw.o
+ $(CC) $(CFLAGS) misc/keyex_rw.c -o $(OBJPATH)keyex_rw.o
$(OBJPATH)net_cmp.o: $(CRYPT_DEP) misc/net_cmp.c
$(CC) $(CFLAGS) misc/net_cmp.c -o $(OBJPATH)net_cmp.o
@@ -1171,11 +1171,11 @@
# @make asm_out
@make $(DEFINES) CC=gcc CFLAGS="$(CFLAGS) -fomit-frame-pointer -O3"
FreeBSD:
- @echo "The most common version of this OS uses an incredibly old version of as"
- @echo "which doesn't handle 486 opcodes, so the asm code is disabled by default."
- @echo "If you've upgraded to a newer as, uncomment the 'make asm_out' line"
- @echo "in the FreeBSD section of the makefile to use the much faster asm code."
-# @make asm_out
+# @echo "The most common version of this OS uses an incredibly old version of as"
+# @echo "which doesn't handle 486 opcodes, so the asm code is disabled by default."
+# @echo "If you've upgraded to a newer as, uncomment the 'make asm_out' line"
+# @echo "in the FreeBSD section of the makefile to use the much faster asm code."
+ @make asm_out
@make $(DEFINES) CFLAGS="$(CFLAGS) -fomit-frame-pointer -O3"
OpenBSD:
@make asm_out
@@ -1463,6 +1463,8 @@
BeOS:
@make $(DEFINES) CC=mwcc AR="mwcc -xml -o" SLD="mwcc -xms -f crypt.exp"
+all:
+ @make default
#****************************************************************************
#* *