2001-01-31 21:52:01 +00:00
|
|
|
sysconfdir=@sysconfdir@
|
|
|
|
piddir=@piddir@
|
|
|
|
srcdir=@srcdir@
|
|
|
|
top_srcdir=@top_srcdir@
|
|
|
|
|
2001-02-02 00:00:54 +00:00
|
|
|
VPATH=@srcdir@
|
2001-01-31 21:52:01 +00:00
|
|
|
CC=@CC@
|
|
|
|
LD=@LD@
|
|
|
|
CFLAGS=@CFLAGS@
|
2001-03-12 05:16:18 +00:00
|
|
|
CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
|
2001-01-31 21:52:01 +00:00
|
|
|
LIBS=@LIBS@
|
|
|
|
AR=@AR@
|
|
|
|
RANLIB=@RANLIB@
|
|
|
|
INSTALL=@INSTALL@
|
|
|
|
LDFLAGS=-L. @LDFLAGS@
|
|
|
|
|
2018-03-03 03:49:07 +00:00
|
|
|
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 \
|
|
|
|
strnlen.o \
|
|
|
|
strptime.o \
|
|
|
|
strsep.o \
|
|
|
|
strtoll.o \
|
|
|
|
strtonum.o \
|
|
|
|
strtoull.o \
|
|
|
|
strtoul.o \
|
|
|
|
timingsafe_bcmp.o \
|
|
|
|
vis.o
|
2001-01-31 21:52:01 +00:00
|
|
|
|
2018-03-03 03:49:07 +00:00
|
|
|
COMPAT= arc4random.o \
|
|
|
|
bsd-asprintf.o \
|
|
|
|
bsd-closefrom.o \
|
|
|
|
bsd-cygwin_util.o \
|
|
|
|
bsd-err.o \
|
|
|
|
bsd-flock.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 \
|
|
|
|
xcrypt.o
|
2001-01-31 21:52:01 +00:00
|
|
|
|
2018-03-03 03:49:07 +00:00
|
|
|
PORTS= port-aix.o \
|
|
|
|
port-irix.o \
|
|
|
|
port-linux.o \
|
|
|
|
port-solaris.o \
|
|
|
|
port-net.o \
|
|
|
|
port-uw.o
|
2002-02-19 20:02:48 +00:00
|
|
|
|
2001-02-08 18:05:17 +00:00
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
2001-01-31 21:52:01 +00:00
|
|
|
|
|
|
|
all: libopenbsd-compat.a
|
|
|
|
|
2001-02-03 21:58:12 +00:00
|
|
|
$(COMPAT): ../config.h
|
|
|
|
$(OPENBSD): ../config.h
|
2002-02-19 20:02:48 +00:00
|
|
|
$(PORTS): ../config.h
|
2001-01-31 21:52:01 +00:00
|
|
|
|
2002-02-19 20:02:48 +00:00
|
|
|
libopenbsd-compat.a: $(COMPAT) $(OPENBSD) $(PORTS)
|
|
|
|
$(AR) rv $@ $(COMPAT) $(OPENBSD) $(PORTS)
|
2001-01-31 21:52:01 +00:00
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
clean:
|
2016-08-01 23:44:25 +00:00
|
|
|
rm -f *.o *.a core
|
2001-01-31 21:52:01 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile *~
|