summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-25 18:14:03 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-29 14:09:10 +0100
commitbffb5fc1825da328158e9efc4916d90d045eb3f1 (patch)
tree0d0ec91a3980710ecee86cc19e2203409da455d1 /source4
parent38254b875552b739b7a38accec74446e115166a2 (diff)
downloadsamba-bffb5fc1825da328158e9efc4916d90d045eb3f1.tar.gz
samba-bffb5fc1825da328158e9efc4916d90d045eb3f1.tar.bz2
samba-bffb5fc1825da328158e9efc4916d90d045eb3f1.zip
Use more GNU-make specific variables.
(This used to be commit 3506c707c5e390a0634e597362f454399fb50b07)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/makefile.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 8e6df89d1c..1bd51d8582 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -253,7 +253,7 @@ sub SharedLibrary($$)
#
$ctx->{RESULT_SHARED_LIBRARY}: \$($ctx->{NAME}_DEPEND_LIST) \$($ctx->{NAME}_FULL_OBJ_LIST)
\@echo Linking \$\@
- \@mkdir -p $ctx->{SHAREDDIR}
+ \@mkdir -p \$(D@)
\@\$(SHLD) \$(LDFLAGS) \$(SHLD_FLAGS) \$(INTERN_LDFLAGS) -o \$\@ \$(INSTALL_LINK_FLAGS) \\
\$($ctx->{NAME}\_FULL_OBJ_LIST) \\
\$($ctx->{NAME}_LINK_FLAGS) \\
@@ -274,7 +274,7 @@ sub MergedObj($$)
#
$ctx->{RESULT_MERGED_OBJ}: \$($ctx->{NAME}_OBJ_LIST)
\@echo Partially linking \$@
- \@mkdir -p bin/mergedobj
+ \@mkdir -p \$(D@)
\$(PARTLINK) -o \$@ \$($ctx->{NAME}_OBJ_LIST)
__EOD__