1 # Copyright (C) 2009, 2012-2014 Internet Systems Consortium, Inc. ("ISC")
3 # Permission to use, copy, modify, and/or distribute this software for any
4 # purpose with or without fee is hereby granted, provided that the above
5 # copyright notice and this permission notice appear in all copies.
7 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 # PERFORMANCE OF THIS SOFTWARE.
15 # Id: Makefile-postinstall.in,v 1.3 2009/09/02 23:48:02 tbox Exp
19 #exec_prefix = @exec_prefix@
24 DNSLIBS = -ldns @DNS_CRYPTO_LIBS@
29 LIBS = ${DNSLIBS} ${ISCCFGLIBS} ${ISCLIBS} @LIBS@
33 TARGETS = sample@EXEEXT@ sample-async@EXEEXT@ sample-gai@EXEEXT@ \
34 sample-update@EXEEXT@ sample-request@EXEEXT@ nsprobe@EXEEXT@ \
37 OBJS = sample.@O@ sample-async.@O@ sample-gai.@O@ sample-update.@O@ \
38 sample-request.@O@ nsprobe.@O@ dlvchecks.@O@
40 SRCS = sample.c sample-async.c sample-gai.c sample-update.c \
41 sample-request.c nsprobe.c dlvchecks..c
45 # The following two may depend on BIND9_MAKE_RULES
46 CINCLUDES = -I@export_includedir@
47 LDFLAGS = -L@export_libdir@
49 sample@EXEEXT@: sample.@O@ ${DEPLIBS}
50 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
53 sample-async@EXEEXT@: sample-async.@O@ ${DEPLIBS}
54 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
55 sample-async.@O@ ${LIBS}
57 sample-gai@EXEEXT@: sample-gai.@O@ ${IRSDEPLIBS} ${DEPLIBS}
58 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
59 sample-gai.@O@ ${IRSLIBS} ${LIBS}
61 sample-update@EXEEXT@: sample-update.@O@ ${DEPLIBS}
62 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
63 sample-update.@O@ ${LIBS}
65 sample-request@EXEEXT@: sample-request.@O@ ${DEPLIBS}
66 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
67 sample-request.@O@ ${LIBS}
69 nsprobe@EXEEXT@: nsprobe.@O@ ${DEPLIBS}
70 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
73 dlvchecks@EXEEXT@: dlvchecks.@O@ ${DEPLIBS}
74 ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \
77 clean distclean maintainer-clean::