2006-01-15 06:12:29 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_asq
[MODULE :: ldb_asq ]
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( asq)
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2008-03-03 18:25:28 +01:00
2008-05-27 14:14:45 +02:00
ldb_asq_OBJ_FILES = $( ldbdir) /modules/asq.o
2008-05-30 02:07:28 +02:00
$(ldb_asq_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2006-03-09 22:06:54 +00:00
# End MODULE ldb_asq
2006-01-15 06:12:29 +00:00
################################################
2006-01-06 04:01:23 +00:00
################################################
2006-03-21 07:08:08 +00:00
# Start MODULE ldb_server_sort
[MODULE :: ldb_server_sort ]
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( server_sort)
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2008-03-03 18:25:28 +01:00
2006-03-09 22:06:54 +00:00
# End MODULE ldb_sort
2006-01-06 04:01:23 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_server_sort_OBJ_FILES = $( ldbdir) /modules/sort.o
2008-05-30 02:07:28 +02:00
$(ldb_server_sort_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2006-01-06 04:01:23 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_paged_results
[MODULE :: ldb_paged_results ]
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( paged_results)
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-03-09 22:06:54 +00:00
# End MODULE ldb_paged_results
2006-01-06 04:01:23 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_paged_results_OBJ_FILES = $( ldbdir) /modules/paged_results.o
2008-05-30 02:07:28 +02:00
$(ldb_paged_results_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2006-08-19 20:53:43 +00:00
################################################
# Start MODULE ldb_paged_results
[MODULE :: ldb_paged_searches ]
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( paged_searches)
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-08-19 20:53:43 +00:00
# End MODULE ldb_paged_results
################################################
2008-05-27 14:14:45 +02:00
ldb_paged_searches_OBJ_FILES = $( ldbdir) /modules/paged_searches.o
2008-05-30 02:07:28 +02:00
$(ldb_paged_searches_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2005-10-12 06:10:23 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_operational
[MODULE :: ldb_operational ]
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( operational)
2006-03-09 22:06:54 +00:00
# End MODULE ldb_operational
2005-10-12 06:10:23 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_operational_OBJ_FILES = $( ldbdir) /modules/operational.o
2008-05-30 02:07:28 +02:00
$(ldb_operational_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2005-07-21 07:59:01 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_rdn_name
[MODULE :: ldb_rdn_name ]
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( rdn_name)
2006-03-09 22:06:54 +00:00
# End MODULE ldb_rdn_name
2005-07-21 07:59:01 +00:00
################################################
2005-01-03 14:05:47 +00:00
2008-05-27 14:14:45 +02:00
ldb_rdn_name_OBJ_FILES = $( ldbdir) /modules/rdn_name.o
2008-05-30 02:07:28 +02:00
$(ldb_rdn_name_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2008-05-27 14:14:45 +02:00
ldb_map_OBJ_FILES = $( addprefix $( ldbdir) /ldb_map/, ldb_map_inbound.o ldb_map_outbound.o ldb_map.o)
2008-03-03 18:25:28 +01:00
2008-05-27 14:14:45 +02:00
$(ldb_map_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /ldb_map
2008-05-11 02:15:32 +02:00
2005-06-04 17:13:43 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_skel
[MODULE :: ldb_skel ]
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-09-04 12:21:42 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC
2008-02-25 20:40:37 +01:00
INIT_FUNCTION = LDB_MODULE( skel)
2006-03-09 22:06:54 +00:00
# End MODULE ldb_skel
2006-01-05 04:56:19 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_skel_OBJ_FILES = $( ldbdir) /modules/skel.o
2008-05-30 02:07:28 +02:00
$(ldb_skel_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2006-01-05 04:56:19 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_sqlite3
[MODULE :: ldb_sqlite 3]
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2007-04-20 11:00:20 +00:00
PRIVATE_DEPENDENCIES = LIBTALLOC SQLITE3 LIBTALLOC
2006-03-09 22:06:54 +00:00
# End MODULE ldb_sqlite3
2005-06-04 17:13:43 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_sqlite3_OBJ_FILES = $( ldbdir) /ldb_sqlite3/ldb_sqlite3.o
2008-05-30 02:07:28 +02:00
$(ldb_sqlite3_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2004-05-13 10:20:53 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_tdb
[MODULE :: ldb_tdb ]
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2007-04-20 11:00:20 +00:00
PRIVATE_DEPENDENCIES = \
2006-09-04 12:21:42 +00:00
LIBTDB LIBTALLOC
2006-03-09 22:06:54 +00:00
# End MODULE ldb_tdb
2004-05-13 10:20:53 +00:00
################################################
2008-05-27 14:14:45 +02:00
ldb_tdb_OBJ_FILES = $( addprefix $( ldbdir) /ldb_tdb/, ldb_tdb.o ldb_search.o ldb_pack.o ldb_index.o ldb_cache.o ldb_tdb_wrap.o)
2008-05-30 02:07:28 +02:00
$(ldb_tdb_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include -I $( ldbdir ) /ldb_tdb
2008-03-03 18:25:28 +01:00
2004-05-13 10:20:53 +00:00
################################################
2006-03-07 16:41:04 +00:00
# Start SUBSYSTEM ldb
2007-05-08 21:17:58 +00:00
[LIBRARY :: LIBLDB ]
2008-02-20 03:40:44 +01:00
INIT_FUNCTION_TYPE = extern const struct ldb_module_ops
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-11-23 18:03:11 +00:00
LIBTALLOC
PRIVATE_DEPENDENCIES = \
SOCKET_WRAPPER
2008-03-09 02:53:54 +01:00
PC_FILES += $( ldbdir) /ldb.pc
2004-05-13 10:20:53 +00:00
#
2006-03-07 16:41:04 +00:00
# End SUBSYSTEM ldb
2004-05-13 10:20:53 +00:00
################################################
2008-03-08 15:28:12 +01:00
LIBLDB_VERSION = 0.0.1
LIBLDB_SOVERSION = 0
2008-05-27 14:14:45 +02:00
LIBLDB_OBJ_FILES = $( addprefix $( ldbdir) /common/, ldb.o ldb_ldif.o ldb_parse.o ldb_msg.o ldb_utf8.o ldb_debug.o ldb_modules.o ldb_match.o ldb_attributes.o attrib_handlers.o ldb_dn.o ldb_controls.o qsort.o) $( ldb_map_OBJ_FILES)
2008-03-03 18:25:28 +01:00
2008-05-27 14:36:28 +02:00
$(LIBLDB_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) /include
2008-02-26 17:17:52 +01:00
PUBLIC_HEADERS += $( ldbdir) /include/ldb.h $( ldbdir) /include/ldb_errors.h
2008-02-26 15:11:47 +01:00
MANPAGES += $( ldbdir) /man/ldb.3
2004-10-20 19:28:02 +00:00
################################################
# Start BINARY ldbtest
[BINARY :: ldbtest ]
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2005-06-18 07:42:21 +00:00
LIBLDB_CMDLINE
2004-10-20 19:28:02 +00:00
# End BINARY ldbtest
################################################
2005-08-21 14:26:03 +00:00
2008-05-27 14:14:45 +02:00
ldbtest_OBJ_FILES = $( ldbdir) /tools/ldbtest.o
2008-05-30 02:07:28 +02:00
$(ldbtest_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) $( LDB_CFLAGS )
2008-03-03 18:25:28 +01:00
2005-08-21 14:26:03 +00:00
################################################
# Start BINARY oLschema2ldif
[BINARY :: oLschema 2ldif ]
INSTALLDIR = BINDIR
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2005-08-21 14:26:03 +00:00
LIBLDB_CMDLINE
# End BINARY oLschema2ldif
################################################
2006-04-08 00:40:52 +00:00
2008-03-03 18:25:28 +01:00
2008-05-27 14:14:45 +02:00
oLschema2ldif_OBJ_FILES = $( addprefix $( ldbdir) /tools/, convert.o oLschema2ldif.o)
2008-05-30 02:07:28 +02:00
$(oLschema2ldif_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) -I $( ldbdir ) /include
2008-03-03 18:25:28 +01:00
2008-02-26 15:11:47 +01:00
MANPAGES += $( ldbdir) /man/oLschema2ldif.1
2006-08-17 08:31:19 +00:00
################################################
# Start BINARY ad2oLschema
[BINARY :: ad 2oLschema ]
INSTALLDIR = BINDIR
PRIVATE_DEPENDENCIES = \
LIBLDB_CMDLINE
# End BINARY ad2oLschema
################################################
2008-05-27 14:14:45 +02:00
ad2oLschema_OBJ_FILES = $( addprefix $( ldbdir) /tools/, convert.o ad2oLschema.o)
2008-05-30 02:07:28 +02:00
$(ad2oLschema_OBJ_FILES) : CFLAGS +=-I $( ldbdir ) $( LDB_CFLAGS )
2008-03-03 18:25:28 +01:00
2008-02-26 15:11:47 +01:00
MANPAGES += $( ldbdir) /man/ad2oLschema.1
2007-09-11 17:27:25 +00:00
2008-02-18 20:04:18 +01:00
m k i n c l u d e t o o l s / c o n f i g . m k
m k i n c l u d e l d b _ i l d a p / c o n f i g . m k
2008-05-30 02:07:28 +02:00
LDB_CFLAGS = -I$( ldbdir) /include