ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile.inc
Revision: 1.12
Committed: Fri Jun 7 16:12:47 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.11: +2 -2 lines
Log Message:
My first bash at a new-style Makefile setup. This one generates proper
distfiles in subdirectories with version numbers, etc. I'll port it to the
other parts of i-scream when I've tested it a bit more.
This will also lead the way for me to generate daily snapshots.

File Contents

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