mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Fix build on amd64
This commit is contained in:
parent
d63e3f2974
commit
605674f88f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157502
@ -1,6 +1,6 @@
|
||||
--- Makefile.orig Fri Mar 17 16:30:14 2006
|
||||
+++ Makefile Fri Mar 17 16:31:40 2006
|
||||
@@ -5,7 +5,6 @@
|
||||
--- Makefile.orig Thu Aug 18 02:20:28 2005
|
||||
+++ Makefile Fri Mar 17 17:06:22 2006
|
||||
@@ -5,11 +5,11 @@
|
||||
# Copyright (c) PeerSec Networks, 2002-2005. All Rights Reserved.
|
||||
#
|
||||
|
||||
@ -8,7 +8,39 @@
|
||||
STRIP = strip
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
@@ -69,8 +68,8 @@
|
||||
O = .o
|
||||
+SOBJ = .O
|
||||
SO = .so
|
||||
A = .a
|
||||
E =
|
||||
@@ -37,6 +37,26 @@
|
||||
pki/rsaPki$(O) \
|
||||
pki/x509$(O)
|
||||
|
||||
+SOBJECTS = \
|
||||
+ cipherSuite$(SOBJ) \
|
||||
+ matrixSsl$(SOBJ) \
|
||||
+ sslDecode$(SOBJ) \
|
||||
+ sslEncode$(SOBJ) \
|
||||
+ sslv3$(SOBJ) \
|
||||
+ os/debug$(SOBJ) \
|
||||
+ os/linux/linux$(SOBJ) \
|
||||
+ crypto/peersec/arc4$(SOBJ) \
|
||||
+ crypto/peersec/base64$(SOBJ) \
|
||||
+ crypto/peersec/des3$(SOBJ) \
|
||||
+ crypto/peersec/md5$(SOBJ) \
|
||||
+ crypto/peersec/md2$(SOBJ) \
|
||||
+ crypto/peersec/mpi$(SOBJ) \
|
||||
+ crypto/peersec/rsa$(SOBJ) \
|
||||
+ crypto/peersec/sha1$(SOBJ) \
|
||||
+ pki/asn1$(SOBJ) \
|
||||
+ pki/rsaPki$(SOBJ) \
|
||||
+ pki/x509$(SOBJ)
|
||||
+
|
||||
#
|
||||
# Debug flags (Define MATRIXSSL_DEBUG in shell to build debug)
|
||||
# bash: export MATRIXSSL_DEBUG=1
|
||||
@@ -69,8 +89,8 @@
|
||||
# Compile options
|
||||
#
|
||||
SHARED = -shared
|
||||
@ -19,3 +51,16 @@
|
||||
|
||||
#
|
||||
# Override variables for compilation on Mac OS X (Darwin)
|
||||
@@ -110,7 +130,11 @@
|
||||
#
|
||||
# Build the library
|
||||
#
|
||||
-$(LIBRARY): $(OBJECTS)
|
||||
+%.O: %.c
|
||||
+ $(CC) -c $(CFLAGS) -fPIC -o $@ $^
|
||||
+
|
||||
+
|
||||
+$(LIBRARY): $(SOBJECTS)
|
||||
$(CC) $(SHARED) -o $@ $^ $(LDFLAGS)
|
||||
$(STRIP) $(LIBRARY)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user