2a01feabb3
Compatibility with existing OpenSSL versions is maintained. Upstream commits: 482d23bcac upstream: hold our collective noses and use the openssl-1.1.x 48f54b9d12 adapt -portable to OpenSSL 1.1x API 86e0a9f3d2 upstream: use only openssl-1.1.x API here too a3fd8074e2 upstream: missed a bit of openssl-1.0.x API in this unittest cce8cbe0ed Fix openssl-1.1 fallout for --without-openssl. Trivial conflicts in sshkey.c and test_sshkey.c were resolved. Connect libressl-api-compat.c to the build, and regenerate config.h Reviewed by: des Approved by: re (rgrimes) MFC after: 2 seeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17444
116 lines
1.8 KiB
Makefile
116 lines
1.8 KiB
Makefile
sysconfdir=@sysconfdir@
|
|
piddir=@piddir@
|
|
srcdir=@srcdir@
|
|
top_srcdir=@top_srcdir@
|
|
|
|
VPATH=@srcdir@
|
|
CC=@CC@
|
|
LD=@LD@
|
|
CFLAGS=@CFLAGS@
|
|
CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
|
|
LIBS=@LIBS@
|
|
AR=@AR@
|
|
RANLIB=@RANLIB@
|
|
INSTALL=@INSTALL@
|
|
LDFLAGS=-L. @LDFLAGS@
|
|
|
|
OPENBSD=base64.o \
|
|
basename.o \
|
|
bcrypt_pbkdf.o \
|
|
bcrypt_pbkdf.o \
|
|
bindresvport.o \
|
|
blowfish.o \
|
|
daemon.o \
|
|
dirname.o \
|
|
explicit_bzero.o \
|
|
fmt_scaled.o \
|
|
freezero.o \
|
|
getcwd.o \
|
|
getgrouplist.o \
|
|
getopt_long.o \
|
|
getrrsetbyname.o \
|
|
glob.o \
|
|
inet_aton.o \
|
|
inet_ntoa.o \
|
|
inet_ntop.o \
|
|
md5.o \
|
|
mktemp.o \
|
|
pwcache.o \
|
|
readpassphrase.o \
|
|
reallocarray.o \
|
|
realpath.o \
|
|
recallocarray.o \
|
|
rmd160.o \
|
|
rresvport.o \
|
|
setenv.o \
|
|
setproctitle.o \
|
|
sha1.o \
|
|
sha2.o \
|
|
sigact.o \
|
|
strcasestr.o \
|
|
strlcat.o \
|
|
strlcpy.o \
|
|
strmode.o \
|
|
strndup.o \
|
|
strnlen.o \
|
|
strptime.o \
|
|
strsep.o \
|
|
strtoll.o \
|
|
strtonum.o \
|
|
strtoull.o \
|
|
strtoul.o \
|
|
timingsafe_bcmp.o \
|
|
vis.o
|
|
|
|
COMPAT= arc4random.o \
|
|
bsd-asprintf.o \
|
|
bsd-closefrom.o \
|
|
bsd-cygwin_util.o \
|
|
bsd-err.o \
|
|
bsd-flock.o \
|
|
bsd-getline.o \
|
|
bsd-getpagesize.o \
|
|
bsd-getpeereid.o \
|
|
bsd-malloc.o \
|
|
bsd-misc.o \
|
|
bsd-nextstep.o \
|
|
bsd-openpty.o \
|
|
bsd-poll.o \
|
|
bsd-setres_id.o \
|
|
bsd-signal.o \
|
|
bsd-snprintf.o \
|
|
bsd-statvfs.o \
|
|
bsd-waitpid.o \
|
|
fake-rfc2553.o \
|
|
getrrsetbyname-ldns.o \
|
|
kludge-fd_set.o \
|
|
openssl-compat.o \
|
|
libressl-api-compat.o \
|
|
xcrypt.o
|
|
|
|
PORTS= port-aix.o \
|
|
port-irix.o \
|
|
port-linux.o \
|
|
port-solaris.o \
|
|
port-net.o \
|
|
port-uw.o
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
|
|
|
all: libopenbsd-compat.a
|
|
|
|
$(COMPAT): ../config.h
|
|
$(OPENBSD): ../config.h
|
|
$(PORTS): ../config.h
|
|
|
|
libopenbsd-compat.a: $(COMPAT) $(OPENBSD) $(PORTS)
|
|
$(AR) rv $@ $(COMPAT) $(OPENBSD) $(PORTS)
|
|
$(RANLIB) $@
|
|
|
|
clean:
|
|
rm -f *.o *.a core
|
|
|
|
distclean: clean
|
|
rm -f Makefile *~
|