Home | History | Annotate | Download | only in openbsd-compat
      1 # $Id: Makefile.in,v 1.56 2014/09/30 23:43:08 djm Exp $
      2 
      3 sysconfdir=@sysconfdir@
      4 piddir=@piddir@
      5 srcdir=@srcdir@
      6 top_srcdir=@top_srcdir@
      7 
      8 VPATH=@srcdir@
      9 CC=@CC@
     10 LD=@LD@
     11 CFLAGS=@CFLAGS@
     12 CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
     13 LIBS=@LIBS@
     14 AR=@AR@
     15 RANLIB=@RANLIB@
     16 INSTALL=@INSTALL@
     17 LDFLAGS=-L. @LDFLAGS@
     18 
     19 OPENBSD=base64.o basename.o bcrypt_pbkdf.o bindresvport.o blowfish.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 reallocarray.o realpath.o rresvport.o setenv.o setproctitle.o sha1.o sha2.o rmd160.o md5.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 blowfish.o bcrypt_pbkdf.o explicit_bzero.o
     20 
     21 COMPAT=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 kludge-fd_set.o
     22 
     23 PORTS=port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o
     24 
     25 .c.o:
     26 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
     27 
     28 all: libopenbsd-compat.a
     29 
     30 $(COMPAT): ../config.h
     31 $(OPENBSD): ../config.h
     32 $(PORTS): ../config.h
     33 
     34 libopenbsd-compat.a:  $(COMPAT) $(OPENBSD) $(PORTS)
     35 	$(AR) rv $@ $(COMPAT) $(OPENBSD) $(PORTS)
     36 	$(RANLIB) $@
     37 
     38 clean:
     39 	rm -f *.o *.a core 
     40 
     41 distclean: clean
     42 	rm -f Makefile *~
     43