new directory for library for keeping track of versions

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8513 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-07-01 19:47:36 +00:00
parent d905232336
commit 4c0e1f1d00
4 changed files with 216 additions and 0 deletions

29
lib/vers/Makefile.am Normal file
View File

@@ -0,0 +1,29 @@
# $Id$
include $(top_srcdir)/Makefile.am.common
CLEANFILES = print_version.h
lib_LTLIBRARIES = libvers.la
libvers_la_LDFLAGS = -version-info 1:0:0
build_HEADERZ = vers.h
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) -ldes
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