registry: Use manually written .pc file.
[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 PC_FILE = registry.pc
22 SO_VERSION = 0
23 DESCRIPTION = Windows-style registry library
24 OBJ_FILES = \
25                 interface.o \
26                 util.o \
27                 samba.o \
28                 patchfile_dotreg.o \
29                 patchfile_preg.o \
30                 patchfile.o \
31                 regf.o \
32                 hive.o \
33                 local.o \
34                 ldb.o \
35                 dir.o \
36                 rpc.o
37 PUBLIC_DEPENDENCIES = \
38                 LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
39                 RPC_NDR_WINREG LDB_WRAP
40 PUBLIC_HEADERS = registry.h hive.h patchfile.h
41 # End MODULE registry_ldb
42 ################################################
43
44 [SUBSYSTEM::registry_common]
45 PUBLIC_DEPENDENCIES = registry
46 OBJ_FILES = tools/common.o
47 PRIVATE_PROTO_HEADER = tools/common.h
48
49 ################################################
50 # Start BINARY regdiff
51 [BINARY::regdiff]
52 INSTALLDIR = BINDIR
53 OBJ_FILES = tools/regdiff.o
54 PRIVATE_DEPENDENCIES = \
55                 LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
56 MANPAGE = man/regdiff.1
57 # End BINARY regdiff
58 ################################################
59
60 ################################################
61 # Start BINARY regpatch
62 [BINARY::regpatch]
63 INSTALLDIR = BINDIR
64 OBJ_FILES = tools/regpatch.o
65 PRIVATE_DEPENDENCIES = \
66                 LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
67                 registry_common
68 MANPAGE = man/regpatch.1
69 # End BINARY regpatch
70 ################################################
71
72 ################################################
73 # Start BINARY regshell
74 [BINARY::regshell]
75 INSTALLDIR = BINDIR
76 OBJ_FILES = tools/regshell.o
77 PRIVATE_DEPENDENCIES = \
78                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
79                 SMBREADLINE registry_common
80 MANPAGE = man/regshell.1
81 # End BINARY regshell
82 ################################################
83
84 ################################################
85 # Start BINARY regtree
86 [BINARY::regtree]
87 INSTALLDIR = BINDIR
88 OBJ_FILES = tools/regtree.o
89 PRIVATE_DEPENDENCIES = \
90                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
91                 registry_common
92 MANPAGE = man/regtree.1
93 # End BINARY regtree
94 ################################################
95
96 [SUBSYSTEM::torture_registry]
97 PRIVATE_DEPENDENCIES = registry
98 PRIVATE_PROTO_HEADER = tests/proto.h
99 OBJ_FILES = \
100                 tests/generic.o \
101                 tests/hive.o \
102                 tests/diff.o \
103                 tests/registry.o
104
105 [PYTHON::swig_registry]
106 PUBLIC_DEPENDENCIES = registry
107 SWIG_FILE = registry.i
108