1 |
# Makefile for winhost |
2 |
# $Id$ |
3 |
|
4 |
include Config.inc |
5 |
|
6 |
# these files will be included in the distribution |
7 |
FILES = winhost.exe winhost.ini SysTray.ocx MSWINSCK.OCX PDH.DLL |
8 |
|
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 |
cd $(CVSBUILDTEMP) && $(MAKE) dist |
17 |
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 |
|
24 |
update: |
25 |
$(CVS) -q -d $(CVSROOT) update |
26 |
|
27 |
# for compatibility with other scripts |
28 |
distclean: clean |