summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-04-30 15:33:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:38 -0500
commita2b6d47390a07f0d2a737d17144f825a9733d5bf (patch)
tree253f9daa6093d5d906fad7cb1598f9d62394a291 /source4
parent4c991c6edd2a46d7452096ba80c00e7ab4c95924 (diff)
downloadsamba-a2b6d47390a07f0d2a737d17144f825a9733d5bf.tar.gz
samba-a2b6d47390a07f0d2a737d17144f825a9733d5bf.tar.bz2
samba-a2b6d47390a07f0d2a737d17144f825a9733d5bf.zip
r432: fix the linking of the reg* tools
metze (This used to be commit 089f6f063fdd7e54c0a2a95d27bab1813fbc2307)
Diffstat (limited to 'source4')
-rw-r--r--source4/Makefile.in46
1 files changed, 31 insertions, 15 deletions
diff --git a/source4/Makefile.in b/source4/Makefile.in
index 967c0fcf62..9739fa3c53 100644
--- a/source4/Makefile.in
+++ b/source4/Makefile.in
@@ -146,6 +146,8 @@ DCERPC_LIBS = @DCERPC_LIBS@
REG_OBJS = @REG_OBJS@
REG_LIBS = @REG_LIBS@
+
+GTK_OBJS =
GTK_LIBS = @GTK_LIBS@
LIBLDB_OBJS = @LIBLDB_OBJS@
@@ -217,11 +219,25 @@ NDRDUMP_OBJS = utils/ndrdump.o utils/rewrite.o \
$(LIBSMB_OBJS) $(CONFIG_OBJS) $(LIBBASIC_OBJS)
NDRDUMP_LIBS = $(LIBSMB_LIBS) $(CONFIG_LIBS) $(LIBBASIC_LIBS)
-REGTREE_OBJ = $(REG_OBJS) lib/registry/tools/regtree.o $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS)
-GREGEDIT_OBJ = $(REG_OBJS) lib/registry/tools/gregedit.o $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS)
-REGSHELL_OBJ = $(REG_OBJS) lib/registry/tools/regshell.o $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBCMDLINE_OBJS) $(LIBSMB_OBJS)
-REGPATCH_OBJ = $(REG_OBJS) lib/registry/tools/regpatch.o $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS)
-REGDIFF_OBJ = $(REG_OBJS) lib/registry/tools/regdiff.o $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS)
+REGTREE_OBJS = lib/registry/tools/regtree.o \
+ $(REG_OBJS) $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS)
+REGTREE_LIBS = $(REG_LIBS) $(LIBBASIC_LIBS) $(CONFIG_LIBS) $(LIBSMB_LIBS)
+
+GREGEDIT_OBJS = lib/registry/tools/gregedit.o \
+ $(REG_OBJS) $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBSMB_OBJS) $(GTK_OBJS)
+GREGEDIT_LIBS = $(REG_LIBS) $(LIBBASIC_LIBS) $(CONFIG_LIBS) $(LIBSMB_LIBS) $(GTK_LIBS)
+
+REGSHELL_OBJS = lib/registry/tools/regshell.o \
+ $(REG_OBJS) $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBCMDLINE_OBJS) $(LIBSMB_OBJS)
+REGSHELL_LIBS = $(REG_LIBS) $(LIBBASIC_LIBS) $(CONFIG_LIBS) $(LIBCMDLINE_LIBS) $(LIBSMB_LIBS)
+
+REGPATCH_OBJS = lib/registry/tools/regpatch.o \
+ $(REG_OBJS) $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBCMDLINE_OBJS) $(LIBSMB_OBJS)
+REGPATCH_LIBS = $(REG_LIBS) $(LIBBASIC_LIBS) $(CONFIG_LIBS) $(LIBCMDLINE_LIBS) $(LIBSMB_LIBS)
+
+REGDIFF_OBJS = lib/registry/tools/regdiff.o \
+ $(REG_OBJS) $(LIBBASIC_OBJS) $(CONFIG_OBJS) $(LIBCMDLINE_OBJS) $(LIBSMB_OBJS)
+REGDIFF_LIBS = $(REG_LIBS) $(LIBBASIC_LIBS) $(CONFIG_LIBS) $(LIBCMDLINE_LIBS) $(LIBSMB_LIBS)
PROTO_OBJ = $(SERVER_OBJS) $(PROCESS_MODEL_OBJS) $(CLIENT_OBJS) $(TORTURE_OBJS) \
$(DCERPC_OBJS) $(SMB_OBJS) $(AUTH_OBJS) $(PASSDB_OBJS) $(NTVFS_OBJS) \
@@ -412,25 +428,25 @@ bin/locktest@EXEEXT@: $(LOCKTEST_OBJS) bin/.dummy
@$(CC) $(FLAGS) -o $@ $(LOCKTEST_OBJS) $(LDFLAGS) $(LOCKTEST_LIBS)
-bin/regshell@EXEEXT@: $(REGSHELL_OBJ) bin/.dummy
+bin/regshell@EXEEXT@: $(REGSHELL_OBJS) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(REGSHELL_OBJ) $(LDFLAGS) $(LIBS) $(REG_LIBS) $(LIBCMDLINE_LIBS)
+ @$(CC) $(FLAGS) -o $@ $(REGSHELL_OBJS) $(LDFLAGS) $(REGSHELL_LIBS)
-bin/regtree@EXEEXT@: $(REGTREE_OBJ) bin/.dummy
+bin/regtree@EXEEXT@: $(REGTREE_OBJS) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(REGTREE_OBJ) $(LDFLAGS) $(LIBS) $(REG_LIBS)
+ @$(CC) $(FLAGS) -o $@ $(REGTREE_OBJS) $(LDFLAGS) $(REGTREE_LIBS)
-bin/gregedit@EXEEXT@: $(GREGEDIT_OBJ) bin/.dummy
+bin/gregedit@EXEEXT@: $(GREGEDIT_OBJS) bin/.dummy
@echo Linking $@
- @$(CC) $(FLGS) -o $@ $(GREGEDIT_OBJ) $(LDFLAGS) $(LIBS) $(REG_LIBS) $(GTK_LIBS)
+ @$(CC) $(FLGS) -o $@ $(GREGEDIT_OBJS) $(LDFLAGS) $(GREGEDIT_LIBS)
-bin/regpatch@EXEEXT@: $(REGPATCH_OBJ) bin/.dummy
+bin/regpatch@EXEEXT@: $(REGPATCH_OBJS) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(REGPATCH_OBJ) $(LDFLAGS) $(LIBS) $(REG_LIBS)
+ @$(CC) $(FLAGS) -o $@ $(REGPATCH_OBJS) $(LDFLAGS) $(REGPATCH_LIBS)
-bin/regdiff@EXEEXT@: $(REGDIFF_OBJ) bin/.dummy
+bin/regdiff@EXEEXT@: $(REGDIFF_OBJS) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(REGDIFF_OBJ) $(LDFLAGS) $(LIBS) $(REG_LIBS)
+ @$(CC) $(FLAGS) -o $@ $(REGDIFF_OBJS) $(LDFLAGS) $(REGDIFF_LIBS)
install: installbin installtorture installldb installreg installdat