blob: 98b87d127a72cbe67f6575ba905aa6e356c70ee5 (
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
|
mydir=tests/resolve
BUILDTOP=$(REL)..$(S)..
RUN_SETUP = @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
OBJS=resolve.o addrinfo-test.o fake-addrinfo-test.o
SRCS=$(srcdir)/resolve.c $(srcdir)/addrinfo-test.c \
$(srcdir)/fake-addrinfo-test.c
all:: resolve addrinfo-test fake-addrinfo-test
resolve: resolve.o
$(CC_LINK) -o $@ resolve.o $(LIBS)
addrinfo-test: addrinfo-test.o
$(CC_LINK) -o $@ addrinfo-test.o $(SUPPORT_LIB) $(LIBS)
fake-addrinfo-test: fake-addrinfo-test.o
$(CC_LINK) -o $@ fake-addrinfo-test.o $(SUPPORT_LIB) $(LIBS)
check:: resolve addrinfo-test fake-addrinfo-test
$(RUN_SETUP) $(VALGRIND) ./resolve
$(RUN_SETUP) $(VALGRIND) ./addrinfo-test -p telnet
$(RUN_SETUP) $(VALGRIND) ./fake-addrinfo-test -p telnet
install::
clean::
$(RM) resolve addrinfo-test fake-addrinfo-test
|