Makefile.am revision 90926
1# $Id: Makefile.am,v 1.4 2001/08/23 22:41:03 assar Exp $
2
3include $(top_srcdir)/Makefile.am.common
4
5CLEANFILES		= print_version.h
6
7noinst_LTLIBRARIES	= libvers.la
8
9build_HEADERZ		= vers.h
10
11noinst_PROGRAMS		= make-print-version
12
13if KRB4
14if KRB5
15## need to link with des here; otherwise, if krb4 is shared the link
16## will fail with unresolved references
17make_print_version_LDADD = $(LIB_krb4) -ldes
18endif
19endif
20
21libvers_la_SOURCES	= print_version.c
22
23print_version.lo: print_version.h
24
25print_version.h: make-print-version$(EXEEXT)
26	./make-print-version$(EXEEXT) print_version.h
27
28make-print-version.o: $(top_builddir)/include/version.h
29