2006-01-15 06:12:29 +00:00
################################################
2006-03-09 22:06:54 +00:00
# Start MODULE ldb_asq
[MODULE :: ldb_asq ]
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
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-06-25 19:39:50 +02:00
ldb_asq_OBJ_FILES = $( ldbsrcdir) /modules/asq.o
2006-03-09 22:06:54 +00:00
# End MODULE ldb_asq
2006-01-15 06:12:29 +00:00
################################################
2009-12-05 17:56:35 +03:00
################################################
# Start MODULE sample_module
[MODULE :: sample ]
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
CFLAGS = -I$( ldbsrcdir) /include
INIT_FUNCTION = LDB_MODULE( sample)
2010-01-04 13:27:48 -08:00
SUBSYSTEM = LIBLDB
2009-12-05 17:56:35 +03:00
# End MODULE sample_module
################################################
sample_OBJ_FILES = $( ldbsrcdir) /tests/sample_module.o
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 ]
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
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-06-25 19:39:50 +02:00
ldb_server_sort_OBJ_FILES = $( ldbsrcdir) /modules/sort.o
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)
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
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-06-25 19:39:50 +02:00
ldb_paged_results_OBJ_FILES = $( ldbsrcdir) /modules/paged_results.o
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)
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
2007-05-08 21:17:58 +00:00
SUBSYSTEM = LIBLDB
2006-08-19 20:53:43 +00:00
# End MODULE ldb_paged_results
################################################
2008-06-25 19:39:50 +02:00
ldb_paged_searches_OBJ_FILES = $( ldbsrcdir) /modules/paged_searches.o
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
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
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-06-25 19:39:50 +02:00
ldb_rdn_name_OBJ_FILES = $( ldbsrcdir) /modules/rdn_name.o
2008-03-03 18:25:28 +01:00
2008-06-25 19:39:50 +02:00
ldb_map_OBJ_FILES = $( addprefix $( ldbsrcdir) /ldb_map/, ldb_map_inbound.o ldb_map_outbound.o ldb_map.o)
2008-03-03 18:25:28 +01:00
2008-06-25 19:39:50 +02:00
$(ldb_map_OBJ_FILES) : CFLAGS +=-I $( ldbsrcdir ) /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
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC LIBTEVENT
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-06-25 19:39:50 +02:00
ldb_skel_OBJ_FILES = $( ldbsrcdir) /modules/skel.o
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
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2009-01-21 09:16:45 +01:00
PRIVATE_DEPENDENCIES = LIBTALLOC SQLITE3 LIBTEVENT
2008-06-28 10:49:49 +02:00
INIT_FUNCTION = LDB_BACKEND( sqlite3)
2006-03-09 22:06:54 +00:00
# End MODULE ldb_sqlite3
2005-06-04 17:13:43 +00:00
################################################
2008-06-25 19:39:50 +02:00
ldb_sqlite3_OBJ_FILES = $( ldbsrcdir) /ldb_sqlite3/ldb_sqlite3.o
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
2008-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include -I$( ldbsrcdir) /ldb_tdb
2007-04-20 11:00:20 +00:00
PRIVATE_DEPENDENCIES = \
2009-01-21 09:16:45 +01:00
LIBTDB LIBTALLOC LIBTEVENT
2008-06-28 10:49:49 +02:00
INIT_FUNCTION = LDB_BACKEND( tdb)
2006-03-09 22:06:54 +00:00
# End MODULE ldb_tdb
2004-05-13 10:20:53 +00:00
################################################
2008-06-25 19:39:50 +02:00
ldb_tdb_OBJ_FILES = $( addprefix $( ldbsrcdir) /ldb_tdb/, ldb_tdb.o ldb_search.o ldb_pack.o ldb_index.o ldb_cache.o ldb_tdb_wrap.o)
2008-05-31 08:35:55 +10:00
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-06-25 19:39:50 +02:00
CFLAGS = -I$( ldbsrcdir) /include
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2009-01-21 09:16:45 +01:00
LIBTALLOC LIBTEVENT
2006-11-23 18:03:11 +00:00
PRIVATE_DEPENDENCIES = \
SOCKET_WRAPPER
2008-03-09 02:53:54 +01:00
2008-06-25 19:39:50 +02:00
PC_FILES += $( ldbsrcdir) /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-06-25 19:39:50 +02:00
LIBLDB_OBJ_FILES = $( addprefix $( ldbsrcdir) /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-06-25 19:39:50 +02:00
$(LIBLDB_OBJ_FILES) : CFLAGS +=-I $( ldbsrcdir ) /include
2008-05-27 14:36:28 +02:00
2008-06-25 19:39:50 +02:00
PUBLIC_HEADERS += $( ldbsrcdir) /include/ldb.h $( ldbsrcdir) /include/ldb_errors.h
2008-02-26 17:17:52 +01:00
2008-06-25 19:39:50 +02:00
MANPAGES += $( ldbsrcdir) /man/ldb.3
2008-02-26 15:11:47 +01:00
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-06-25 19:39:50 +02:00
ldbtest_OBJ_FILES = $( ldbsrcdir) /tools/ldbtest.o
2008-03-03 18:25:28 +01: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