43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $Id: Makefile.in,v 1.29 2003/10/07 07:49:57 dtucker Exp $
|
|
|
|
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 bindresvport.o daemon.o dirname.o getcwd.o getgrouplist.o getopt.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o readpassphrase.o realpath.o rresvport.o setenv.o setproctitle.o sigact.o strlcat.o strlcpy.o strmode.o strsep.o strtoul.o vis.o
|
|
|
|
COMPAT=bsd-arc4random.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o bsd-misc.o bsd-nextstep.o bsd-snprintf.o bsd-waitpid.o fake-rfc2553.o xmmap.o xcrypt.o
|
|
|
|
PORTS=port-irix.o port-aix.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 *~
|