]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - Makefile
new DLL setup; now working with Gtk+ 2.2
[xonotic/netradiant.git] / Makefile
index 9df9c7c81190b19ba0fa1bb954d645d0d4648c38..a65c1d9b522e107d42317c0c64cfa7e7c9692b9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -790,28 +790,7 @@ install-data: makeversion
 .PHONY: install-dll
 ifeq ($(OS),Win32)
 install-dll:
 .PHONY: install-dll
 ifeq ($(OS),Win32)
 install-dll:
-       set -e; \
-       dllfetch() \
-       { \
-               dll=$$1; \
-               [ -f "install/$$dll" ] && return; \
-               dllsource=`which $$dll`; \
-               echo "Fetching $$dll..."; \
-               $(CP) $$dllsource install/$$dll; \
-               dlldeps install/$$dll; \
-       }; \
-       dlldeps() \
-       { \
-               echo "Looking for dependencies of $$1..."; \
-               $(OBJDUMP) -p $$1 | grep "DLL Name" | grep -- '-' | while read -r DUMMY1 DUMMY2 dll; do \
-                       dllfetch $$dll; \
-               done; \
-       }; \
-       dllfetch zlib1.dll; \
-       dllfetch intl.dll; \
-       for obj in install/*.$(EXE) install/*/*.$(DLL); do \
-               dlldeps $$obj; \
-       done
+       sh install-dlls.sh
 else
 install-dll:
        echo No DLL inclusion required for this target.
 else
 install-dll:
        echo No DLL inclusion required for this target.