2 PUBLIC_DEPENDENCIES
= TDR
4 TDR_REGF_OBJ_FILES
= $(libregistrysrcdir
)/tdr_regf.o
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
15 @
-rm -f
$(libregistrysrcdir
)/regf.h
$(libregistrysrcdir
)/tdr_regf
*
17 ################################################
18 # Start SUBSYSTEM registry
20 PUBLIC_DEPENDENCIES
= \
21 LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
22 RPC_NDR_WINREG LDB_WRAP
23 # End MODULE registry_ldb
24 ################################################
26 PC_FILES
+= $(libregistrysrcdir
)/registry.
pc
28 registry_VERSION
= 0.0.1
29 registry_SOVERSION
= 0
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
)
35 PUBLIC_HEADERS
+= $(libregistrysrcdir
)/registry.h
37 [SUBSYSTEM
::registry_common
]
38 PUBLIC_DEPENDENCIES
= registry
40 registry_common_OBJ_FILES
= $(libregistrysrcdir
)/tools
/common.o
42 $(eval
$(call proto_header_template
,$(libregistrysrcdir
)/tools
/common.h
,$(registry_common_OBJ_FILES
:.o
=.c
)))
44 ################################################
45 # Start BINARY regdiff
48 PRIVATE_DEPENDENCIES
= \
49 LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
51 ################################################
53 regdiff_OBJ_FILES
= $(libregistrysrcdir
)/tools
/regdiff.o
55 MANPAGES
+= $(libregistrysrcdir
)/man
/regdiff
.1
57 ################################################
58 # Start BINARY regpatch
61 PRIVATE_DEPENDENCIES
= \
62 LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
65 ################################################
67 regpatch_OBJ_FILES
= $(libregistrysrcdir
)/tools
/regpatch.o
69 MANPAGES
+= $(libregistrysrcdir
)/man
/regpatch
.1
71 ################################################
72 # Start BINARY regshell
75 PRIVATE_DEPENDENCIES
= \
76 LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
77 SMBREADLINE registry_common
79 ################################################
81 regshell_OBJ_FILES
= $(libregistrysrcdir
)/tools
/regshell.o
83 MANPAGES
+= $(libregistrysrcdir
)/man
/regshell
.1
85 ################################################
86 # Start BINARY regtree
89 PRIVATE_DEPENDENCIES
= \
90 LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
93 ################################################
95 regtree_OBJ_FILES
= $(libregistrysrcdir
)/tools
/regtree.o
97 MANPAGES
+= $(libregistrysrcdir
)/man
/regtree
.1
99 [SUBSYSTEM
::torture_registry
]
100 PRIVATE_DEPENDENCIES
= torture registry
102 torture_registry_OBJ_FILES
= $(addprefix $(libregistrysrcdir
)/tests
/, generic.o hive.o diff.o registry.o
)
104 $(eval
$(call proto_header_template
,$(libregistrysrcdir
)/tests
/proto.h
,$(torture_registry_OBJ_FILES
:.o
=.c
)))
106 [PYTHON
::py_registry
]
107 LIBRARY_REALNAME
= samba
/registry.
$(SHLIBEXT
)
108 PUBLIC_DEPENDENCIES
= registry PYTALLOC pycredentials pyparam_util
110 py_registry_OBJ_FILES
= $(libregistrysrcdir
)/pyregistry.o