we are only heimdal, drop building of header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24363 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2,31 +2,12 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
CLEANFILES = print_version.h
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libvers.la
|
noinst_LTLIBRARIES = libvers.la
|
||||||
|
|
||||||
build_HEADERZ = vers.h
|
build_HEADERZ = vers.h
|
||||||
|
|
||||||
CHECK_LOCAL = no-check-local
|
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
|
make-print-version.o: $(top_builddir)/include/version.h
|
||||||
|
|
||||||
EXTRA_DIST = $(build_HEADERZ)
|
EXTRA_DIST = $(build_HEADERZ)
|
||||||
|
@@ -31,18 +31,17 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
RCSID("$Id$");
|
|
||||||
#endif
|
|
||||||
#include "roken.h"
|
#include "roken.h"
|
||||||
|
|
||||||
#include "print_version.h"
|
#include "version.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
print_version(const char *progname)
|
print_version(const char *progname)
|
||||||
{
|
{
|
||||||
const char *package_list = VERSIONLIST;
|
const char *package_list = heimdal_version;
|
||||||
|
|
||||||
if(progname == NULL)
|
if(progname == NULL)
|
||||||
progname = getprogname();
|
progname = getprogname();
|
||||||
|
Reference in New Issue
Block a user