Makefile.in 603 Bytes
Newer Older
1 2
# Copyright (C) 2000, 2001  Nominum, Inc.  All Rights Reserved.

Andreas Gustafsson's avatar
Andreas Gustafsson committed
3
CC = @CC@
4
LIBOBJS = @LIBOBJS@
5
LIBS = @LIBS@
Andreas Gustafsson's avatar
Andreas Gustafsson committed
6
DEFS = @DEFS@
7

8
queryperf: queryperf.o $(LIBOBJS)
9
	$(CC) $(CFLAGS) $(DEFS) $(LDFLAGS) queryperf.o $(LIBOBJS) $(LIBS) -lm -o queryperf
10 11

queryperf.o: queryperf.c
Andreas Gustafsson's avatar
Andreas Gustafsson committed
12
	$(CC) $(CFLAGS) $(DEFS) -c queryperf.c
13

14 15 16 17 18 19 20
# under missing subdir
getaddrinfo.o:	./missing/getaddrinfo.c
	$(CC) $(CFLAGS) -c ./missing/$*.c

getnameinfo.o:	./missing/getnameinfo.c
	$(CC) $(CFLAGS) -c ./missing/$*.c

21 22 23 24 25 26 27 28
clean:
	rm -f *.o queryperf

distclean: clean
	rm -f config.log
	rm -f config.cache
	rm -f config.status
	rm -f Makefile