[misc] demos/bio/Makefile
Stefan Kuttler
sk at elego.de
Tue Jun 6 10:16:32 UTC 2006
Hi all,
Well, for me the Makefile in demos/bio was broken, because it wants
to link against static libraries of openssl. For *users* that do
not want to built a static version, or have strange PATH settings,
this little patch makes it working so one can start hacking :)
--- /tmp/openssl-0.9.8b/demos/bio/Makefile.broken.fbsd Tue Jun 6 04:26:07 2006
+++ /tmp/openssl-0.9.8b/demos/bio/Makefile Tue Jun 6 11:55:52 2006
@@ -1,16 +1,15 @@
CC=cc
CFLAGS= -g -I../../include
-LIBS= -L../.. ../../libssl.a ../../libcrypto.a
+LIBS= -L../.. -lssl -lcrypto
EXAMPLES=saccept sconnect
all: $(EXAMPLES)
saccept: saccept.o
- $(CC) -o saccept saccept.o $(LIBS)
+ $(CC) $(CFLAGS) -o saccept saccept.o $(LIBS)
sconnect: sconnect.o
- $(CC) -o sconnect sconnect.o $(LIBS)
+ $(CC) $(CLFAGS) -o sconnect sconnect.o $(LIBS)
clean:
- rm -f $(EXAMPLES) *.o
-
+ rm -f $(EXAMPLES) *.o *.core
using FreeBSD 6.1-RELEASE
--
Gruss
Stefan Kuttler (B.O.F.H.) .ooO=Ooo. https://www.netbeisser.de
GPG Fingerprint: E7AC 1E9B 87D8 5BD2 E2F2 6F4A 3177 ED68 8185 480C
More information about the freebsd-questions
mailing list