diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-03-09 00:49:39 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-03-09 00:49:39 +0100 |
commit | a4b6992b7023d5b67428739c29aa9948d76fca21 (patch) | |
tree | 27d7f2bcb4294ab900c3eb5cbe87ccd9b63963e2 /source4/build/make | |
parent | 7bb0d0b649eab94a3339c9d0f2f704a2eb0a6101 (diff) | |
download | samba-a4b6992b7023d5b67428739c29aa9948d76fca21.tar.gz samba-a4b6992b7023d5b67428739c29aa9948d76fca21.tar.bz2 samba-a4b6992b7023d5b67428739c29aa9948d76fca21.zip |
Move more code out of perl build system.
(This used to be commit bfb4d847005567da43e93987add1a7b171b7b192)
Diffstat (limited to 'source4/build/make')
-rw-r--r-- | source4/build/make/rules.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk index 6ea187f376..3c4f4081ea 100644 --- a/source4/build/make/rules.mk +++ b/source4/build/make/rules.mk @@ -144,14 +144,19 @@ $(1): $(2) @mkdir -p $$(@D) @$$(SHLD) $$(LDFLAGS) $$(SHLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) \ $(3) \ - $$(if $$(SONAMEFLAG), $$(SONAMEFLAG)$(4)) + $$(if $$(SONAMEFLAG), $$(SONAMEFLAG)$(notdir $(4))) -ifneq ($(notdir $(1)), $(notdir $(4))) +ifneq ($(notdir $(1)),$(notdir $(4))) $(4): $(1) @echo "Creating symbolic link for $(4)" @ln -fs $(notdir $(4)) $(1) endif +ifneq ($(notdir $(1)),$(notdir $(5))) +$(5): $(1) + @echo "Creating symbolic link for $(5)" + @ln -fs $(notdir $(5)) $(1) +endif endef # Shared alias |