2001-02-09 01:55:35 +00:00
|
|
|
# $Id: Makefile.in,v 1.5 2001/02/09 01:55:36 djm Exp $
|
|
|
|
|
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-02-02 00:00:54 +00:00
|
|
|
CPPFLAGS=@CPPFLAGS@ -I. -I.. -I$(srcdir) -I$(srcdir)/.. @DEFS@
|
2001-01-31 21:52:01 +00:00
|
|
|
LIBS=@LIBS@
|
|
|
|
AR=@AR@
|
|
|
|
RANLIB=@RANLIB@
|
|
|
|
INSTALL=@INSTALL@
|
|
|
|
LDFLAGS=-L. @LDFLAGS@
|
|
|
|
|
|
|
|
OPENBSD=base64.o bindresvport.o daemon.o getcwd.o getgrouplist.o inet_aton.o inet_ntoa.o mktemp.o realpath.o rresvport.o setenv.o setproctitle.o sigaction.o strlcat.o strlcpy.o strmode.o strsep.o strtok.o vis.o
|
|
|
|
|
|
|
|
COMPAT=bsd-arc4random.o bsd-cygwin_util.o bsd-misc.o bsd-nextstep.o bsd-snprintf.o bsd-waitpid.o fake-getaddrinfo.o fake-getnameinfo.o
|
|
|
|
|
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
|
2001-01-31 21:52:01 +00:00
|
|
|
|
|
|
|
libopenbsd-compat.a: $(COMPAT) $(OPENBSD)
|
|
|
|
$(AR) rv $@ $(COMPAT) $(OPENBSD)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a core
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile *~
|