Merge from vendor branch NTPD:
[dragonfly.git] / crypto / heimdal-0.6.3 / lib / vers / Makefile.am
1 # $Id: Makefile.am,v 1.5 2002/08/28 22:57:42 assar Exp $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 CLEANFILES              = print_version.h
6
7 noinst_LTLIBRARIES      = libvers.la
8
9 build_HEADERZ           = vers.h
10
11 noinst_PROGRAMS         = make-print-version
12
13 if KRB4
14 if KRB5
15 ## need to link with des here; otherwise, if krb4 is shared the link
16 ## will fail with unresolved references
17 make_print_version_LDADD = $(LIB_krb4) $(LIB_des)
18 endif
19 endif
20
21 libvers_la_SOURCES      = print_version.c
22
23 print_version.lo: print_version.h
24
25 print_version.h: make-print-version$(EXEEXT)
26         ./make-print-version$(EXEEXT) print_version.h
27
28 make-print-version.o: $(top_builddir)/include/version.h