blob: 86e41873c7803315737d337560912dc326846f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: Makefile.in,v 1.37 2005/12/31 05:33:37 djm Exp $
VPATH=@srcdir@
CC=@CC@
LD=@LD@
CFLAGS=@CFLAGS@
CPPFLAGS=-I. -I.. -I@srcdir@ -I@srcdir@/.. @CPPFLAGS@ @DEFS@
AR=@AR@
RANLIB=@RANLIB@
OPENBSD=strlcat.o strlcpy.o strsep.o strtonum.o strtoll.o strtoul.o
COMPAT=bsd-asprintf.o bsd-snprintf.o
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
all: libopenbsd-compat.a
$(COMPAT): config.h
$(OPENBSD):config.h
libopenbsd-compat.a: $(COMPAT) $(OPENBSD)
$(AR) rv $@ $(COMPAT) $(OPENBSD)
$(RANLIB) $@
clean:
rm -f *.o *.a core
distclean: clean
rm -f Makefile *~ config.h
# vim:noexpandtab
|