Revision: | 1.12 |
Committed: | Sat Feb 1 19:08:54 2003 UTC (21 years, 9 months ago) by tdb |
Branch: | MAIN |
Changes since 1.11: | +9 -11 lines |
Log Message: | A continuation of my last commit on all this Makefile reworking. I think I've managed to get the dependencies working quite well now. As long as the builds are done from the top level Makefile it should all be fine. If you try from, say, the build directory it might not notice things changing in the source files. |
# | User | Rev | Content |
---|---|---|---|
1 | tdb | 1.1 | # Makefile for idl |
2 | tdb | 1.12 | # $Id: Makefile,v 1.11 2003/01/26 14:02:52 tdb Exp $ |
3 | tdb | 1.2 | |
4 | include ../Config.inc | ||
5 | tdb | 1.1 | |
6 | IDLFILES = uk | ||
7 | |||
8 | tdb | 1.12 | .PHONY : all |
9 | tdb | 1.2 | all : build |
10 | tdb | 1.1 | |
11 | tdb | 1.12 | .PHONY : idl |
12 | idl : iscream.idl | ||
13 | tdb | 1.10 | java -classpath $(BUILD)/lib/idl.jar org.jacorb.idl.parser -sloppy_names iscream.idl |
14 | tdb | 1.2 | |
15 | tdb | 1.12 | .PHONY : build |
16 | build : idl | ||
17 | tdb | 1.9 | cd uk/org/iscream/cms/server/clientinterface && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
18 | cd uk/org/iscream/cms/server/core && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java | ||
19 | cd uk/org/iscream/cms/server/filter && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java | ||
20 | cd uk/org/iscream/cms/server/client && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java | ||
21 | tdb | 1.12 | @touch $(IDLCHECK) |
22 | @rm -f $(MCOMPILECHECK) | ||
23 | tdb | 1.1 | |
24 | tdb | 1.12 | .PHONY : clean |
25 | tdb | 1.1 | clean : |
26 | rm -Rf $(IDLFILES) | ||
27 | tdb | 1.2 | rm -f $(IDLCHECK) |
28 | tdb | 1.1 | |
29 | tdb | 1.11 | include $(MKINC) |