2013-09-18 17:27:38 +00:00
|
|
|
# $Id: Makefile.in,v 1.51 2013/05/10 06:28:56 dtucker Exp $
|
2002-06-27 22:31:32 +00:00
|
|
|
|
|
|
|
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@
|
|
|
|
|
2013-09-18 17:27:38 +00:00
|
|
|
OPENBSD=base64.o basename.o bindresvport.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt_long.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o realpath.o rresvport.o setenv.o setproctitle.o sha2.o sigact.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o strtoull.o timingsafe_bcmp.o vis.o
|
2002-06-27 22:31:32 +00:00
|
|
|
|
2013-03-22 11:19:48 +00:00
|
|
|
COMPAT=bsd-arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o getrrsetbyname-ldns.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-setres_id.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o fake-rfc2553.o openssl-compat.o xmmap.o xcrypt.o
|
2002-06-27 22:31:32 +00:00
|
|
|
|
2006-09-30 13:29:51 +00:00
|
|
|
PORTS=port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o
|
2002-06-27 22:31:32 +00:00
|
|
|
|
|
|
|
.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 *~
|