ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile.inc
Revision: 1.4
Committed: Sun Jan 28 23:54:57 2001 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.3: +5 -2 lines
Log Message:
Dependency checking for the DOCOPY method. Ensures that any files (eg. images)
are only copied once, not every time (unless they've changed of course!).

File Contents

# User Rev Content
1 tdb 1.2 # Include Makefile for the server
2 tdb 1.4 # $Id: Makefile.inc,v 1.3 2001/01/07 19:37:39 tdb1 Exp $
3 tdb 1.2
4     ## Rule to CVS update the files
5     update :
6     cvs -q -d $(CVSROOT) update
7    
8     ## Rule for making and compiling the IDL files
9     $(IDLCHECK) : $(SERVERROOT)/idl/iscream.idl
10     cd $(SERVERROOT)/idl && $(MAKE) build
11     rm -f $(COMPILECHECK)
12    
13     ## General Build Rule for Java Files
14     DOBUILD : $(IDLCHECK) $(COMPILECHECK)
15    
16     $(COMPILECHECK) : $(JAVA)
17     javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $?
18     @touch $(BUILDCHECK)
19     @touch $(COMPILECHECK)
20    
21     DOCLEAN :
22     rm -f $(COMPILECHECK)
23 tdb 1.3
24 tdb 1.4 DOCOPY : $(COPYCHECK)
25    
26     $(COPYCHECK) : $(FILES)
27 tdb 1.3 cp $(FILES) `perl -e '$$root="$(SERVERROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'`
28 tdb 1.4 @touch $(COPYCHECK)