summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/vers/Makefile.am
blob: a3b6da6cdfe3ea9c5391a2a67d95660d93238ad6 (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
# $Id: Makefile.am 21959 2007-10-16 13:25:59Z lha $

include $(top_srcdir)/Makefile.am.common

CLEANFILES		= print_version.h

noinst_LTLIBRARIES	= libvers.la

build_HEADERZ		= vers.h

CHECK_LOCAL		= no-check-local

noinst_PROGRAMS		= make-print-version

if KRB4
if KRB5
## need to link with des here; otherwise, if krb4 is shared the link
## will fail with unresolved references
make_print_version_LDADD = $(LIB_krb4) $(LIB_hcrypto)
endif
endif

libvers_la_SOURCES	= print_version.c

print_version.lo: print_version.h

print_version.h: make-print-version$(EXEEXT)
	./make-print-version$(EXEEXT) print_version.h

make-print-version.o: $(top_builddir)/include/version.h

EXTRA_DIST = $(build_HEADERZ)
OpenPOWER on IntegriCloud