remove gcc34
[dragonfly.git] / crypto / heimdal-0.6.3 / lib / hdb / Makefile.am
blob952944bda348645450b2c0a6fbc05e370e099248
1 # $Id: Makefile.am,v 1.53.4.2 2003/10/14 16:13:14 joda Exp $
3 include $(top_srcdir)/Makefile.am.common
5 INCLUDES += -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_des)
7 BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
8         asn1_Salt.c hdb_err.c hdb_err.h asn1_GENERATION.c
10 foo = asn1_Key.x asn1_GENERATION.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
12 CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
14 noinst_PROGRAMS = convert_db
15 LDADD = libhdb.la \
16         $(LIB_openldap) \
17         ../krb5/libkrb5.la \
18         ../asn1/libasn1.la \
19         $(LIB_des) \
20         $(LIB_roken)
22 lib_LTLIBRARIES = libhdb.la
23 libhdb_la_LDFLAGS = -version-info 7:7:0
25 libhdb_la_SOURCES =                             \
26         common.c                                \
27         db.c                                    \
28         db3.c                                   \
29         hdb-ldap.c                              \
30         hdb.c                                   \
31         keytab.c                                \
32         mkey.c                                  \
33         ndbm.c                                  \
34         print.c                                 \
35         $(BUILT_SOURCES)
37 INCLUDES += $(INCLUDE_openldap)
39 include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h
41 libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $(LIB_openldap) $(DBLIB) $(LIB_NDBM)
43 $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
45 $(srcdir)/hdb-protos.h:
46         cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(libhdb_la_SOURCES) || rm -f hdb-protos.h
48 $(srcdir)/hdb-private.h:
49         cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(libhdb_la_SOURCES) || rm -f hdb-private.h
51 $(foo) hdb_asn1.h: asn1_files
53 asn1_files: ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1
54         ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1 hdb_asn1
56 $(libhdb_la_OBJECTS): hdb_asn1.h hdb_err.h
58 $(convert_db_OBJECTS): hdb_asn1.h hdb_err.h
60 # to help stupid solaris make
62 hdb_err.h: hdb_err.et