mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
110 lines
3.3 KiB
Makefile
110 lines
3.3 KiB
Makefile
[SUBSYSTEM::TDR_REGF]
|
|
PUBLIC_DEPENDENCIES = TDR
|
|
|
|
TDR_REGF_OBJ_FILES = $(libregistrysrcdir)/tdr_regf.o
|
|
|
|
# Special support for external builddirs
|
|
$(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
|
|
@CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
|
|
--header --outputdir=lib/registry \
|
|
--tdr-parser -- $(srcdir)/$(libregistrysrcdir)/regf.idl
|
|
|
|
clean::
|
|
@-rm -f $(libregistrysrcdir)/regf.h $(libregistrysrcdir)/tdr_regf*
|
|
|
|
################################################
|
|
# Start SUBSYSTEM registry
|
|
[LIBRARY::registry]
|
|
PUBLIC_DEPENDENCIES = \
|
|
LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
|
|
RPC_NDR_WINREG LDB_WRAP
|
|
# End MODULE registry_ldb
|
|
################################################
|
|
|
|
PC_FILES += $(libregistrysrcdir)/registry.pc
|
|
|
|
registry_VERSION = 0.0.1
|
|
registry_SOVERSION = 0
|
|
|
|
registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/, interface.o util.o samba.o \
|
|
patchfile_dotreg.o patchfile_preg.o patchfile.o regf.o \
|
|
hive.o local.o ldb.o dir.o rpc.o)
|
|
|
|
PUBLIC_HEADERS += $(libregistrysrcdir)/registry.h
|
|
|
|
[SUBSYSTEM::registry_common]
|
|
PUBLIC_DEPENDENCIES = registry
|
|
PRIVATE_PROTO_HEADER = tools/common.h
|
|
|
|
registry_common_OBJ_FILES = $(libregistrysrcdir)/tools/common.o
|
|
|
|
################################################
|
|
# Start BINARY regdiff
|
|
[BINARY::regdiff]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
|
# End BINARY regdiff
|
|
################################################
|
|
|
|
regdiff_OBJ_FILES = $(libregistrysrcdir)/tools/regdiff.o
|
|
|
|
MANPAGES += $(libregistrysrcdir)/man/regdiff.1
|
|
|
|
################################################
|
|
# Start BINARY regpatch
|
|
[BINARY::regpatch]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
|
|
registry_common
|
|
# End BINARY regpatch
|
|
################################################
|
|
|
|
regpatch_OBJ_FILES = $(libregistrysrcdir)/tools/regpatch.o
|
|
|
|
MANPAGES += $(libregistrysrcdir)/man/regpatch.1
|
|
|
|
################################################
|
|
# Start BINARY regshell
|
|
[BINARY::regshell]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|
SMBREADLINE registry_common
|
|
# End BINARY regshell
|
|
################################################
|
|
|
|
regshell_OBJ_FILES = $(libregistrysrcdir)/tools/regshell.o
|
|
|
|
MANPAGES += $(libregistrysrcdir)/man/regshell.1
|
|
|
|
################################################
|
|
# Start BINARY regtree
|
|
[BINARY::regtree]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|
registry_common
|
|
# End BINARY regtree
|
|
################################################
|
|
|
|
regtree_OBJ_FILES = $(libregistrysrcdir)/tools/regtree.o
|
|
|
|
MANPAGES += $(libregistrysrcdir)/man/regtree.1
|
|
|
|
[SUBSYSTEM::torture_registry]
|
|
PRIVATE_DEPENDENCIES = registry
|
|
PRIVATE_PROTO_HEADER = tests/proto.h
|
|
|
|
torture_registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/tests/, generic.o hive.o diff.o registry.o)
|
|
|
|
[PYTHON::swig_registry]
|
|
PUBLIC_DEPENDENCIES = registry
|
|
SWIG_FILE = registry.i
|
|
|
|
swig_registry_OBJ_FILES = $(libregistrysrcdir)/registry_wrap.o
|