ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/winhost/Makefile
Revision: 1.3
Committed: Wed Feb 28 13:03:19 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.2: +2 -0 lines
Log Message:
Added a distclean target for compatibilty. It just cleans.

File Contents

# Content
1
2 FILES = winhost.exe winhost.ini SysTray.ocx MSWINSCK.OCX PDH.DLL
3 ARCNAME = iscream-winhost
4 ZIPEXT = .zip
5 ZIPFILE = $(ARCNAME)$(ZIPEXT)
6 BUILDDIR = build
7 rev = HEAD
8 REVISION = $(rev)
9 CVS = `if test -x /usr/bin/cvs; then echo /usr/bin/cvs; else if test -x /usr/local/bin/cvs; then echo /usr/local/bin/cvs; else echo cvs; fi fi`
10 CVSROOT = /usr/local/proj/co600_10/cvs
11 CVSBUILDTEMP = cvsbuildtemp
12 CVSMODULE = source/host/winhost
13
14 all: dist
15
16 dist:
17 zip -9 $(BUILDDIR)/$(ZIPFILE) $(FILES)
18
19 cvsbuild:
20 $(CVS) -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSMODULE)
21 cd $(CVSBUILDTEMP) && $(MAKE) dist
22 cp $(CVSBUILDTEMP)/$(BUILDDIR)/$(ZIPFILE) $(BUILDDIR)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
23
24 clean:
25 rm -Rf $(BUILDDIR)/$(ZIPFILE)
26 rm -Rf $(BUILDDIR)/$(ARCNAME)-*$(ZIPEXT)
27 rm -Rf $(CVSBUILDTEMP)
28
29 update:
30 $(CVS) -q -d $(CVSROOT) update
31
32 distclean: clean