2004-01-21 07:07:16 +01:00
|
|
|
# $Id: Makefile.in,v 1.30 2004/01/21 06:07:23 djm Exp $
|
2001-02-09 02:55:35 +01:00
|
|
|
|
2001-01-31 22:52:01 +01:00
|
|
|
sysconfdir=@sysconfdir@
|
|
|
|
piddir=@piddir@
|
|
|
|
srcdir=@srcdir@
|
|
|
|
top_srcdir=@top_srcdir@
|
|
|
|
|
2001-02-02 01:00:54 +01:00
|
|
|
VPATH=@srcdir@
|
2001-01-31 22:52:01 +01:00
|
|
|
CC=@CC@
|
|
|
|
LD=@LD@
|
|
|
|
CFLAGS=@CFLAGS@
|
2001-03-12 06:16:18 +01:00
|
|
|
CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
|
2001-01-31 22:52:01 +01:00
|
|
|
LIBS=@LIBS@
|
|
|
|
AR=@AR@
|
|
|
|
RANLIB=@RANLIB@
|
|
|
|
INSTALL=@INSTALL@
|
|
|
|
LDFLAGS=-L. @LDFLAGS@
|
|
|
|
|
2003-10-07 09:49:56 +02:00
|
|
|
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
|
2001-01-31 22:52:01 +01:00
|
|
|
|
2004-01-21 07:07:16 +01:00
|
|
|
COMPAT=bsd-arc4random.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-snprintf.o bsd-waitpid.o fake-rfc2553.o xmmap.o xcrypt.o
|
2001-01-31 22:52:01 +01:00
|
|
|
|
2002-02-19 21:27:55 +01:00
|
|
|
PORTS=port-irix.o port-aix.o
|
2002-02-19 21:02:48 +01:00
|
|
|
|
2001-02-08 19:05:17 +01:00
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
2001-01-31 22:52:01 +01:00
|
|
|
|
|
|
|
all: libopenbsd-compat.a
|
|
|
|
|
2001-02-03 22:58:12 +01:00
|
|
|
$(COMPAT): ../config.h
|
|
|
|
$(OPENBSD): ../config.h
|
2002-02-19 21:02:48 +01:00
|
|
|
$(PORTS): ../config.h
|
2001-01-31 22:52:01 +01:00
|
|
|
|
2002-02-19 21:02:48 +01:00
|
|
|
libopenbsd-compat.a: $(COMPAT) $(OPENBSD) $(PORTS)
|
|
|
|
$(AR) rv $@ $(COMPAT) $(OPENBSD) $(PORTS)
|
2001-01-31 22:52:01 +01:00
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a core
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile *~
|