f1f50479cbce66e5070bb5adaf55e6e876ba234a
[ira/wip.git] / source / lib / registry / config.mk
1 [SUBSYSTEM::TDR_REGF]
2 PUBLIC_DEPENDENCIES = TDR 
3 OBJ_FILES = tdr_regf.o
4
5 # Special support for external builddirs
6 lib/registry/regf.c: lib/registry/tdr_regf.c
7 $(srcdir)/lib/registry/regf.c: lib/registry/tdr_regf.c
8 lib/registry/tdr_regf.h: lib/registry/tdr_regf.c
9 lib/registry/tdr_regf.c: $(srcdir)/lib/registry/regf.idl
10         @CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
11                 --header --outputdir=lib/registry \
12                 --tdr-parser -- $(srcdir)/lib/registry/regf.idl
13
14 clean::
15         @-rm -f lib/registry/regf.h lib/registry/tdr_regf*
16
17 ################################################
18 # Start SUBSYSTEM registry
19 [LIBRARY::registry]
20 VERSION = 0.0.1
21 SO_VERSION = 0
22 DESCRIPTION = Windows-style registry library
23 OBJ_FILES = \
24                 interface.o \
25                 util.o \
26                 samba.o \
27                 patchfile_dotreg.o \
28                 patchfile_preg.o \
29                 patchfile.o \
30                 regf.o \
31                 hive.o \
32                 local.o \
33                 ldb.o \
34                 dir.o \
35                 rpc.o
36 PUBLIC_DEPENDENCIES = \
37                 LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
38                 RPC_NDR_WINREG LDB_WRAP
39 PUBLIC_HEADERS = registry.h hive.h patchfile.h
40 # End MODULE registry_ldb
41 ################################################
42
43 [SUBSYSTEM::registry_common]
44 PUBLIC_DEPENDENCIES = registry
45 OBJ_FILES = tools/common.o
46 PRIVATE_PROTO_HEADER = tools/common.h
47
48 ################################################
49 # Start BINARY regdiff
50 [BINARY::regdiff]
51 INSTALLDIR = BINDIR
52 OBJ_FILES = tools/regdiff.o
53 PRIVATE_DEPENDENCIES = \
54                 LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
55 MANPAGE = man/regdiff.1
56 # End BINARY regdiff
57 ################################################
58
59 ################################################
60 # Start BINARY regpatch
61 [BINARY::regpatch]
62 INSTALLDIR = BINDIR
63 OBJ_FILES = tools/regpatch.o
64 PRIVATE_DEPENDENCIES = \
65                 LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
66                 registry_common
67 MANPAGE = man/regpatch.1
68 # End BINARY regpatch
69 ################################################
70
71 ################################################
72 # Start BINARY regshell
73 [BINARY::regshell]
74 INSTALLDIR = BINDIR
75 OBJ_FILES = tools/regshell.o
76 PRIVATE_DEPENDENCIES = \
77                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
78                 SMBREADLINE registry_common
79 MANPAGE = man/regshell.1
80 # End BINARY regshell
81 ################################################
82
83 ################################################
84 # Start BINARY regtree
85 [BINARY::regtree]
86 INSTALLDIR = BINDIR
87 OBJ_FILES = tools/regtree.o
88 PRIVATE_DEPENDENCIES = \
89                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
90                 registry_common
91 MANPAGE = man/regtree.1
92 # End BINARY regtree
93 ################################################
94
95 [SUBSYSTEM::torture_registry]
96 PRIVATE_DEPENDENCIES = registry
97 PRIVATE_PROTO_HEADER = tests/proto.h
98 OBJ_FILES = \
99                 tests/generic.o \
100                 tests/hive.o \
101                 tests/diff.o \
102                 tests/registry.o
103
104 [PYTHON::swig_registry]
105 PUBLIC_DEPENDENCIES = registry
106 SWIG_FILE = registry.i
107