| 1 | [SUBSYSTEM::TDR_REGF]
|
|---|
| 2 | PUBLIC_DEPENDENCIES = TDR
|
|---|
| 3 |
|
|---|
| 4 | TDR_REGF_OBJ_FILES = $(libregistrysrcdir)/tdr_regf.o
|
|---|
| 5 |
|
|---|
| 6 | # Special support for external builddirs
|
|---|
| 7 | $(libregistrysrcdir)/regf.c: $(libregistrysrcdir)/tdr_regf.c
|
|---|
| 8 | $(libregistrysrcdir)/tdr_regf.h: $(libregistrysrcdir)/tdr_regf.c
|
|---|
| 9 | $(libregistrysrcdir)/tdr_regf.c: $(libregistrysrcdir)/regf.idl
|
|---|
| 10 | @CPP="$(CPP)" $(PERL) $(pidldir)/pidl $(PIDL_ARGS) \
|
|---|
| 11 | --header --outputdir=$(libregistrysrcdir) \
|
|---|
| 12 | --tdr-parser -- $(libregistrysrcdir)/regf.idl
|
|---|
| 13 |
|
|---|
| 14 | clean::
|
|---|
| 15 | @-rm -f $(libregistrysrcdir)/regf.h $(libregistrysrcdir)/tdr_regf*
|
|---|
| 16 |
|
|---|
| 17 | ################################################
|
|---|
| 18 | # Start SUBSYSTEM registry
|
|---|
| 19 | [LIBRARY::registry]
|
|---|
| 20 | PUBLIC_DEPENDENCIES = \
|
|---|
| 21 | LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
|
|---|
| 22 | RPC_NDR_WINREG LDB_WRAP
|
|---|
| 23 | # End MODULE registry_ldb
|
|---|
| 24 | ################################################
|
|---|
| 25 |
|
|---|
| 26 | PC_FILES += $(libregistrysrcdir)/registry.pc
|
|---|
| 27 |
|
|---|
| 28 | registry_VERSION = 0.0.1
|
|---|
| 29 | registry_SOVERSION = 0
|
|---|
| 30 |
|
|---|
| 31 | registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/, interface.o util.o samba.o \
|
|---|
| 32 | patchfile_dotreg.o patchfile_preg.o patchfile.o regf.o \
|
|---|
| 33 | hive.o local.o ldb.o dir.o rpc.o)
|
|---|
| 34 |
|
|---|
| 35 | PUBLIC_HEADERS += $(libregistrysrcdir)/registry.h
|
|---|
| 36 |
|
|---|
| 37 | [SUBSYSTEM::registry_common]
|
|---|
| 38 | PUBLIC_DEPENDENCIES = registry
|
|---|
| 39 |
|
|---|
| 40 | registry_common_OBJ_FILES = $(libregistrysrcdir)/tools/common.o
|
|---|
| 41 |
|
|---|
| 42 | $(eval $(call proto_header_template,$(libregistrysrcdir)/tools/common.h,$(registry_common_OBJ_FILES:.o=.c)))
|
|---|
| 43 |
|
|---|
| 44 | ################################################
|
|---|
| 45 | # Start BINARY regdiff
|
|---|
| 46 | [BINARY::regdiff]
|
|---|
| 47 | INSTALLDIR = BINDIR
|
|---|
| 48 | PRIVATE_DEPENDENCIES = \
|
|---|
| 49 | LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
|---|
| 50 | # End BINARY regdiff
|
|---|
| 51 | ################################################
|
|---|
| 52 |
|
|---|
| 53 | regdiff_OBJ_FILES = $(libregistrysrcdir)/tools/regdiff.o
|
|---|
| 54 |
|
|---|
| 55 | MANPAGES += $(libregistrysrcdir)/man/regdiff.1
|
|---|
| 56 |
|
|---|
| 57 | ################################################
|
|---|
| 58 | # Start BINARY regpatch
|
|---|
| 59 | [BINARY::regpatch]
|
|---|
| 60 | INSTALLDIR = BINDIR
|
|---|
| 61 | PRIVATE_DEPENDENCIES = \
|
|---|
| 62 | LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
|
|---|
| 63 | registry_common
|
|---|
| 64 | # End BINARY regpatch
|
|---|
| 65 | ################################################
|
|---|
| 66 |
|
|---|
| 67 | regpatch_OBJ_FILES = $(libregistrysrcdir)/tools/regpatch.o
|
|---|
| 68 |
|
|---|
| 69 | MANPAGES += $(libregistrysrcdir)/man/regpatch.1
|
|---|
| 70 |
|
|---|
| 71 | ################################################
|
|---|
| 72 | # Start BINARY regshell
|
|---|
| 73 | [BINARY::regshell]
|
|---|
| 74 | INSTALLDIR = BINDIR
|
|---|
| 75 | PRIVATE_DEPENDENCIES = \
|
|---|
| 76 | LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|---|
| 77 | SMBREADLINE registry_common
|
|---|
| 78 | # End BINARY regshell
|
|---|
| 79 | ################################################
|
|---|
| 80 |
|
|---|
| 81 | regshell_OBJ_FILES = $(libregistrysrcdir)/tools/regshell.o
|
|---|
| 82 |
|
|---|
| 83 | MANPAGES += $(libregistrysrcdir)/man/regshell.1
|
|---|
| 84 |
|
|---|
| 85 | ################################################
|
|---|
| 86 | # Start BINARY regtree
|
|---|
| 87 | [BINARY::regtree]
|
|---|
| 88 | INSTALLDIR = BINDIR
|
|---|
| 89 | PRIVATE_DEPENDENCIES = \
|
|---|
| 90 | LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|---|
| 91 | registry_common
|
|---|
| 92 | # End BINARY regtree
|
|---|
| 93 | ################################################
|
|---|
| 94 |
|
|---|
| 95 | regtree_OBJ_FILES = $(libregistrysrcdir)/tools/regtree.o
|
|---|
| 96 |
|
|---|
| 97 | MANPAGES += $(libregistrysrcdir)/man/regtree.1
|
|---|
| 98 |
|
|---|
| 99 | [SUBSYSTEM::torture_registry]
|
|---|
| 100 | PRIVATE_DEPENDENCIES = torture registry
|
|---|
| 101 |
|
|---|
| 102 | torture_registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/tests/, generic.o hive.o diff.o registry.o)
|
|---|
| 103 |
|
|---|
| 104 | $(eval $(call proto_header_template,$(libregistrysrcdir)/tests/proto.h,$(torture_registry_OBJ_FILES:.o=.c)))
|
|---|
| 105 |
|
|---|
| 106 | [PYTHON::py_registry]
|
|---|
| 107 | LIBRARY_REALNAME = samba/registry.$(SHLIBEXT)
|
|---|
| 108 | PUBLIC_DEPENDENCIES = registry PYTALLOC pycredentials pyparam_util
|
|---|
| 109 |
|
|---|
| 110 | py_registry_OBJ_FILES = $(libregistrysrcdir)/pyregistry.o
|
|---|