3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_hcrypto)
8 $(gen_files_hdb:.x=.c) \
18 asn1_HDB_Ext_PKINIT_acl.x \
19 asn1_HDB_Ext_PKINIT_hash.x \
20 asn1_HDB_Ext_Constrained_delegation_acl.x \
21 asn1_HDB_Ext_Lan_Manager_OWF.x \
22 asn1_HDB_Ext_Password.x \
23 asn1_HDB_Ext_Aliases.x \
24 asn1_HDB_extension.x \
25 asn1_HDB_extensions.x \
27 asn1_hdb_entry_alias.x
29 CLEANFILES = $(BUILT_SOURCES) $(gen_files_hdb) hdb_asn1.h hdb_asn1_files
42 hdb_ldap_la_SOURCES = hdb-ldap.c
43 hdb_ldap_la_LDFLAGS = -module
52 lib_LTLIBRARIES = libhdb.la $(ldap_so)
53 libhdb_la_LDFLAGS = -version-info 11:0:2
55 noinst_PROGRAMS = test_dbinfo
57 dist_libhdb_la_SOURCES = \
73 nodist_libhdb_la_SOURCES = $(BUILT_SOURCES)
75 AM_CPPFLAGS += $(INCLUDE_openldap)
77 include_HEADERS = hdb.h hdb-protos.h
78 nodist_include_HEADERS = hdb_err.h hdb_asn1.h
80 libhdb_la_CPPFLAGS = -DHDB_DB_DIR=\"$(DIR_hdbdir)\"
92 $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h
94 CHECK_SYMBOLS = -lib hdb -asn1compile -com_err \
95 hdb_ _hdb HDBFlags2int initialize_hdb_error_table
97 $(srcdir)/hdb-protos.h:
98 cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(dist_libhdb_la_SOURCES) || rm -f hdb-protos.h
100 $(srcdir)/hdb-private.h:
101 cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(dist_libhdb_la_SOURCES) || rm -f hdb-private.h
103 $(gen_files_hdb) hdb_asn1.h: hdb_asn1_files
105 hdb_asn1_files: ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1
106 ../asn1/asn1_compile$(EXEEXT) $(srcdir)/hdb.asn1 hdb_asn1
108 $(libhdb_la_OBJECTS): hdb_asn1.h hdb_err.h
110 test_dbinfo_SOURCES = test_dbinfo.c
112 test_dbinfo_LIBS = libhdb.la
114 # to help stupid solaris make
116 hdb_err.h: hdb_err.et
118 EXTRA_DIST = hdb.asn1 hdb_err.et hdb.schema