2005-09-03 22:58:04 +00:00
[SUBSYSTEM :: TDR_REGF ]
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = TDR
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
TDR_REGF_OBJ_FILES = $( libregistrysrcdir) /tdr_regf.o
2005-09-03 22:58:04 +00:00
2006-04-11 11:37:52 +00:00
# Special support for external builddirs
2008-05-18 20:30:46 +02:00
$(libregistrysrcdir)/regf.c : $( libregistrysrcdir ) /tdr_regf .c
$(srcdir)/$(libregistrysrcdir)/regf.c : $( libregistrysrcdir ) /tdr_regf .c
$(libregistrysrcdir)/tdr_regf.h : $( libregistrysrcdir ) /tdr_regf .c
$(libregistrysrcdir)/tdr_regf.c : $( srcdir ) /$( libregistrysrcdir ) /regf .idl
2007-04-02 17:06:14 +00:00
@CPP= " $( CPP) " srcdir = " $( srcdir) " $( PERL) $( srcdir) /pidl/pidl $( PIDL_ARGS) \
2007-12-25 17:34:07 -06:00
--header --outputdir= lib/registry \
2008-05-18 20:30:46 +02:00
--tdr-parser -- $( srcdir) /$( libregistrysrcdir) /regf.idl
2005-09-03 22:58:04 +00:00
2006-04-04 14:39:00 +00:00
clean ::
2008-05-18 20:30:46 +02:00
@-rm -f $( libregistrysrcdir) /regf.h $( libregistrysrcdir) /tdr_regf*
2006-04-04 14:39:00 +00:00
2004-05-24 17:18:00 +00:00
################################################
2006-03-07 16:41:04 +00:00
# Start SUBSYSTEM registry
[LIBRARY :: registry ]
2007-08-26 15:16:40 +00:00
PUBLIC_DEPENDENCIES = \
LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
2007-11-21 12:31:26 +01:00
RPC_NDR_WINREG LDB_WRAP
2004-05-24 17:18:00 +00:00
# End MODULE registry_ldb
################################################
2008-05-18 20:30:46 +02:00
PC_FILES += $( libregistrysrcdir) /registry.pc
2008-03-09 02:53:54 +01:00
2008-03-08 15:28:12 +01:00
registry_VERSION = 0.0.1
registry_SOVERSION = 0
2008-05-18 20:30:46 +02:00
registry_OBJ_FILES = $( addprefix $( libregistrysrcdir) /, interface.o util.o samba.o \
2008-03-03 18:25:28 +01:00
patchfile_dotreg.o patchfile_preg.o patchfile.o regf.o \
hive.o local.o ldb.o dir.o rpc.o)
2008-05-18 20:30:46 +02:00
PUBLIC_HEADERS += $( libregistrysrcdir) /registry.h
2008-02-26 17:17:52 +01:00
2007-08-26 15:16:40 +00:00
[SUBSYSTEM :: registry_common ]
PUBLIC_DEPENDENCIES = registry
2007-08-26 15:55:06 +00:00
PRIVATE_PROTO_HEADER = tools/common.h
2007-08-26 15:16:40 +00:00
2008-05-18 20:30:46 +02:00
registry_common_OBJ_FILES = $( libregistrysrcdir) /tools/common.o
2008-03-03 18:25:28 +01:00
2004-05-24 17:18:00 +00:00
################################################
# Start BINARY regdiff
[BINARY :: regdiff ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2008-04-01 15:08:30 +02:00
LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
2004-05-24 17:18:00 +00:00
# End BINARY regdiff
################################################
2008-05-18 20:30:46 +02:00
regdiff_OBJ_FILES = $( libregistrysrcdir) /tools/regdiff.o
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
MANPAGES += $( libregistrysrcdir) /man/regdiff.1
2008-02-26 15:11:47 +01:00
2004-05-24 17:18:00 +00:00
################################################
# Start BINARY regpatch
[BINARY :: regpatch ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2008-04-01 15:08:30 +02:00
LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
2007-08-26 15:16:40 +00:00
registry_common
2004-05-24 17:18:00 +00:00
# End BINARY regpatch
################################################
2008-05-18 20:30:46 +02:00
regpatch_OBJ_FILES = $( libregistrysrcdir) /tools/regpatch.o
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
MANPAGES += $( libregistrysrcdir) /man/regpatch.1
2008-02-26 15:11:47 +01:00
2004-05-24 17:18:00 +00:00
################################################
# Start BINARY regshell
[BINARY :: regshell ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2008-04-01 15:08:30 +02:00
LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
2007-08-26 15:16:40 +00:00
SMBREADLINE registry_common
2004-05-24 17:18:00 +00:00
# End BINARY regshell
################################################
2008-05-18 20:30:46 +02:00
regshell_OBJ_FILES = $( libregistrysrcdir) /tools/regshell.o
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
MANPAGES += $( libregistrysrcdir) /man/regshell.1
2008-02-26 15:11:47 +01:00
2004-05-24 17:18:00 +00:00
################################################
# Start BINARY regtree
[BINARY :: regtree ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2008-04-01 15:08:30 +02:00
LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
2007-08-26 15:16:40 +00:00
registry_common
2004-05-24 17:18:00 +00:00
# End BINARY regtree
################################################
2007-11-11 23:36:53 +01:00
2008-05-18 20:30:46 +02:00
regtree_OBJ_FILES = $( libregistrysrcdir) /tools/regtree.o
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
MANPAGES += $( libregistrysrcdir) /man/regtree.1
2008-02-26 15:11:47 +01:00
2007-11-13 04:57:09 +01:00
[SUBSYSTEM :: torture_registry ]
2007-11-11 23:36:53 +01:00
PRIVATE_DEPENDENCIES = registry
2007-11-13 04:57:09 +01:00
PRIVATE_PROTO_HEADER = tests/proto.h
2008-03-03 18:25:28 +01:00
2008-05-18 20:30:46 +02:00
torture_registry_OBJ_FILES = $( addprefix $( libregistrysrcdir) /tests/, generic.o hive.o diff.o registry.o)
2007-11-21 12:31:26 +01:00
[PYTHON :: swig_registry ]
2007-12-23 23:54:30 -06:00
PUBLIC_DEPENDENCIES = registry
2007-11-21 12:31:26 +01:00
SWIG_FILE = registry.i
2008-05-18 20:30:46 +02:00
swig_registry_OBJ_FILES = $( libregistrysrcdir) /registry_wrap.o