1 |
|
# Makefile for build |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
PACKAGE = iscream.jar |
5 |
< |
FILES = uk |
4 |
> |
include ../Config.inc |
5 |
|
|
6 |
+ |
BUILDFILES = uk |
7 |
+ |
|
8 |
|
all : package |
9 |
|
|
10 |
|
clean : |
11 |
< |
rm -Rf uk |
11 |
> |
rm -Rf $(BUILDFILES) |
12 |
|
rm -Rf $(PACKAGE) |
13 |
|
|
14 |
|
package : $(PACKAGE) |
15 |
|
|
16 |
|
$(PACKAGE) : |
17 |
< |
@echo "Main-Class: uk.ac.ukc.iscream.core.Core" > MANIFEST_TMP |
18 |
< |
@echo "Class-Path: /usr/local/work/co610/JacORB/lib/idl.jar /usr/local/work/co610/JacORB/lib/jacorb.jar /home/proj/co600_10/xml-lib/jaxp.jar /home/proj/co600_10/xml-lib/parser.jar" >> MANIFEST_TMP |
19 |
< |
jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES) |
17 |
> |
@echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP |
18 |
> |
@echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP |
19 |
> |
jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) |
20 |
|
rm -f MANIFEST_TMP |
21 |
< |
@echo "-----------------------------" |
22 |
< |
@echo "to run: java -jar $(PACKAGE)" |
23 |
< |
@echo "-----------------------------" |
21 |
> |
@touch $(BUILDCHECK) |
22 |
> |
|
23 |
> |
include $(MKINC) |