1 |
tdb |
1.4 |
# Makefile for winhost |
2 |
tdb |
1.6 |
# $Id: Makefile,v 1.5 2001/03/19 10:31:23 tdb Exp $ |
3 |
tdb |
1.1 |
|
4 |
tdb |
1.4 |
include Config.inc |
5 |
|
|
|
6 |
|
|
# these files will be included in the distribution |
7 |
tdb |
1.6 |
FILES = winhost.exe winhost.ini SysTray.ocx MSWINSCK.OCX PDH.DLL winhost_install.exe README.txt COPYING.txt |
8 |
tdb |
1.1 |
|
9 |
|
|
all: dist |
10 |
|
|
|
11 |
|
|
dist: |
12 |
|
|
zip -9 $(BUILDDIR)/$(ZIPFILE) $(FILES) |
13 |
|
|
|
14 |
|
|
cvsbuild: |
15 |
|
|
$(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE) |
16 |
tdb |
1.2 |
cd $(CVSBUILDTEMP) && $(MAKE) dist |
17 |
tdb |
1.1 |
cp $(CVSBUILDTEMP)/$(BUILDDIR)/$(ZIPFILE) $(BUILDDIR)/$(ARCNAME)-$(REVISION)$(ZIPEXT) |
18 |
|
|
|
19 |
|
|
clean: |
20 |
|
|
rm -Rf $(BUILDDIR)/$(ZIPFILE) |
21 |
|
|
rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(ZIPEXT) |
22 |
|
|
rm -Rf $(CVSBUILDTEMP) |
23 |
tdb |
1.2 |
|
24 |
|
|
update: |
25 |
|
|
$(CVS) -q -d $(CVSROOT) update |
26 |
tdb |
1.3 |
|
27 |
tdb |
1.4 |
# for compatibility with other scripts |
28 |
tdb |
1.3 |
distclean: clean |