summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-08-08 11:58:21 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-08-08 11:58:21 +0000
commit8c379c85a9085fede7bd9c30deb9d71eaa078048 (patch)
tree2990a8508c8c5c35354bbe436a8ed543e0c001ba
parent91aebc7f5c3931b73712e35f98ea25ea7cb3d52f (diff)
downloadMPC-8c379c85a9085fede7bd9c30deb9d71eaa078048.tar.gz
ChangeLogTag: Fri Aug 8 06:56:52 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--templates/make.mpd14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/make.mpd b/templates/make.mpd
index 46bf0e62..6321165c 100644
--- a/templates/make.mpd
+++ b/templates/make.mpd
@@ -104,6 +104,13 @@ $(BIN): $(OBJS)
<%endif%>
<%if(sharedname)%>
+<%if(sharedname)%>
+INSTARGET = $(SHLIB)
+<%else%>
+<%if(staticname)%>
+INSTARGET = $(LIB)
+<%endif%>
+<%endif%>
all: $(INSTARGET) <%if(install)%>install<%else%><%if(!exename)%>install<%endif%><%endif%>
$(SHLIB): $(OBJS)
@@ -130,13 +137,6 @@ install:
<%endif%>
<%else%>
<%if(!exename)%>
-<%if(sharedname)%>
-INSTARGET = $(SHLIB)
-<%else%>
-<%if(staticname)%>
-INSTARGET = $(LIB)
-<%endif%>
-<%endif%>
install:
@mkdir -p "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>"
@[ -f "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>/$(INSTARGET)" ] || ln -s "$(PWD)/$(INSTARGET)" "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>"