diff Makefile.msvc @ 0:d39e1d0d75b6

initial add
author paulo@hit-nxdomain.opendns.com
date Sat, 20 Feb 2010 21:18:28 -0800
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.msvc	Sat Feb 20 21:18:28 2010 -0800
     1.3 @@ -0,0 +1,40 @@
     1.4 +# $Id: Makefile.msvc,v 1.12 2004/11/11 17:56:04 mkern Exp $
     1.5 +# Microsoft Visual C++ 6.0 makefile
     1.6 +# see README.msvc for usage
     1.7 +
     1.8 +!if !defined(BUILD_ROOT)
     1.9 +BUILD_ROOT=$(MAKEDIR)\..
    1.10 +!endif
    1.11 +
    1.12 +!include Make.msvc
    1.13 +
    1.14 +MAKEOPTS=-nologo -C BUILD_ROOT=$(BUILD_ROOT)
    1.15 +
    1.16 +
    1.17 +all:
    1.18 +	cd src
    1.19 +	@$(MAKE) $(MAKEOPTS) -f Makefile.msvc
    1.20 +	cd ..
    1.21 +
    1.22 +
    1.23 +clean:
    1.24 +	cd src
    1.25 +	@$(MAKE) $(MAKEOPTS) -f Makefile.msvc clean
    1.26 +	cd ..
    1.27 +
    1.28 +
    1.29 +win32-dist: all
    1.30 +	@-md $(BUILD_ROOT)\win32-dist\data\Gnutella
    1.31 +	@for %f in ($(DIST_DLLS)) DO copy %f $(BUILD_ROOT)\win32-dist
    1.32 +	@copy data\Gnutella.conf $(BUILD_ROOT)\win32-dist\data\Gnutella\Gnutella.conf
    1.33 +	@copy data\gwebcaches    $(BUILD_ROOT)\win32-dist\data\Gnutella\gwebcaches
    1.34 +	@copy data\hostiles.txt  $(BUILD_ROOT)\win32-dist\data\Gnutella\hostiles.txt
    1.35 +!if defined(dynamic) || defined(DYNAMIC)
    1.36 +# remove traling 'd' for debug builds in distro
    1.37 +	@copy src\$(GNUTELLA_DLL) $(BUILD_ROOT)\win32-dist\Gnutella.dll
    1.38 +!endif
    1.39 +
    1.40 +
    1.41 +clean-dist:
    1.42 +	@-rmdir /S $(BUILD_ROOT)\win32-dist\Gnutella
    1.43 +	@-rmdir /S $(BUILD_ROOT)\win32-dist\data\Gnutella