Mercurial > hg > index.fcgi > gift-gnutella > gift-gnutella-0.0.11-1pba
annotate Makefile.msvc @ 0:d39e1d0d75b6
initial add
author | paulo@hit-nxdomain.opendns.com |
---|---|
date | Sat, 20 Feb 2010 21:18:28 -0800 |
parents | |
children |
rev | line source |
---|---|
paulo@0 | 1 # $Id: Makefile.msvc,v 1.12 2004/11/11 17:56:04 mkern Exp $ |
paulo@0 | 2 # Microsoft Visual C++ 6.0 makefile |
paulo@0 | 3 # see README.msvc for usage |
paulo@0 | 4 |
paulo@0 | 5 !if !defined(BUILD_ROOT) |
paulo@0 | 6 BUILD_ROOT=$(MAKEDIR)\.. |
paulo@0 | 7 !endif |
paulo@0 | 8 |
paulo@0 | 9 !include Make.msvc |
paulo@0 | 10 |
paulo@0 | 11 MAKEOPTS=-nologo -C BUILD_ROOT=$(BUILD_ROOT) |
paulo@0 | 12 |
paulo@0 | 13 |
paulo@0 | 14 all: |
paulo@0 | 15 cd src |
paulo@0 | 16 @$(MAKE) $(MAKEOPTS) -f Makefile.msvc |
paulo@0 | 17 cd .. |
paulo@0 | 18 |
paulo@0 | 19 |
paulo@0 | 20 clean: |
paulo@0 | 21 cd src |
paulo@0 | 22 @$(MAKE) $(MAKEOPTS) -f Makefile.msvc clean |
paulo@0 | 23 cd .. |
paulo@0 | 24 |
paulo@0 | 25 |
paulo@0 | 26 win32-dist: all |
paulo@0 | 27 @-md $(BUILD_ROOT)\win32-dist\data\Gnutella |
paulo@0 | 28 @for %f in ($(DIST_DLLS)) DO copy %f $(BUILD_ROOT)\win32-dist |
paulo@0 | 29 @copy data\Gnutella.conf $(BUILD_ROOT)\win32-dist\data\Gnutella\Gnutella.conf |
paulo@0 | 30 @copy data\gwebcaches $(BUILD_ROOT)\win32-dist\data\Gnutella\gwebcaches |
paulo@0 | 31 @copy data\hostiles.txt $(BUILD_ROOT)\win32-dist\data\Gnutella\hostiles.txt |
paulo@0 | 32 !if defined(dynamic) || defined(DYNAMIC) |
paulo@0 | 33 # remove traling 'd' for debug builds in distro |
paulo@0 | 34 @copy src\$(GNUTELLA_DLL) $(BUILD_ROOT)\win32-dist\Gnutella.dll |
paulo@0 | 35 !endif |
paulo@0 | 36 |
paulo@0 | 37 |
paulo@0 | 38 clean-dist: |
paulo@0 | 39 @-rmdir /S $(BUILD_ROOT)\win32-dist\Gnutella |
paulo@0 | 40 @-rmdir /S $(BUILD_ROOT)\win32-dist\data\Gnutella |