Move manpage management out of the perl build system.
[jelmer/samba4-debian.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 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 # End BINARY regdiff
56 ################################################
57
58 MANPAGES += lib/registry/man/regdiff.1
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 # End BINARY regpatch
69 ################################################
70
71 MANPAGES += lib/registry/man/regpatch.1
72
73 ################################################
74 # Start BINARY regshell
75 [BINARY::regshell]
76 INSTALLDIR = BINDIR
77 OBJ_FILES = tools/regshell.o
78 PRIVATE_DEPENDENCIES = \
79                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
80                 SMBREADLINE registry_common
81 # End BINARY regshell
82 ################################################
83
84 MANPAGES += lib/registry/man/regshell.1
85
86 ################################################
87 # Start BINARY regtree
88 [BINARY::regtree]
89 INSTALLDIR = BINDIR
90 OBJ_FILES = tools/regtree.o
91 PRIVATE_DEPENDENCIES = \
92                 LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
93                 registry_common
94 # End BINARY regtree
95 ################################################
96
97 MANPAGES += lib/registry/man/regtree.1
98
99 [SUBSYSTEM::torture_registry]
100 PRIVATE_DEPENDENCIES = registry
101 PRIVATE_PROTO_HEADER = tests/proto.h
102 OBJ_FILES = \
103                 tests/generic.o \
104                 tests/hive.o \
105                 tests/diff.o \
106                 tests/registry.o
107
108 [PYTHON::swig_registry]
109 PUBLIC_DEPENDENCIES = registry
110 SWIG_FILE = registry.i
111