]> git.saurik.com Git - wxWidgets.git/commitdiff
Added $(NEW_WXLIBNAME) to allow changing the library or DLL name
authorRobin Dunn <robin@alldunn.com>
Thu, 29 Apr 1999 15:57:41 +0000 (15:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 29 Apr 1999 15:57:41 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makevc.env
src/msw/makefile.vc

index 9ce663d59e5e163a8a001701d0a38523c1e607cf..d73db5b206f1d38a66cc9423cc4e0ad6c8f3ddb6 100644 (file)
@@ -120,6 +120,10 @@ WXLIBNAME=wx200
 WXLIBNAME=wx
 !endif
 
+!if "$(NEW_WXLIBNAME)" != ""
+WXLIBNAME=$(NEW_WXLIBNAME)
+!endif
+
 !if "$(FINAL)" == "1"
 D=Release
 !else
index e80cec04b37df824c15c58d0b005f96b89a12c98..e5f0d9eff47b4b72e40b793d19d7b739e83b4375 100644 (file)
@@ -287,10 +287,10 @@ $(OLEDIR)\$D:
 
 # wxWindows library as DLL
 dll:
-        nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
+        nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
 
 cleandll:
-        nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
+        nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
 
 # wxWindows + app as DLL. Only affects main.cpp.
 dllapp:
@@ -311,7 +311,7 @@ dllnp:
 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
 # in each case) so you couldn't use the same PCH.
 pch:
-        nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL)
+        nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
 
 pch1:   dirs $(DUMMYOBJ)
     echo $(DUMMYOBJ)