1 |
tdb |
1.1.2.1 |
# Makefile for build |
2 |
tdb |
1.1.2.5 |
# $Id: Makefile,v 1.1.2.4 2000/12/12 01:54:02 tdb1 Exp $ |
3 |
tdb |
1.1.2.1 |
|
4 |
tdb |
1.1.2.3 |
include ../Config.inc |
5 |
|
|
|
6 |
|
|
BUILDFILES = uk |
7 |
tdb |
1.1.2.1 |
|
8 |
|
|
all : package |
9 |
|
|
|
10 |
|
|
clean : |
11 |
tdb |
1.1.2.3 |
rm -Rf $(BUILDFILES) |
12 |
tdb |
1.1.2.1 |
rm -Rf $(PACKAGE) |
13 |
tdb |
1.1.2.5 |
rm -Rf $(TARFILE) |
14 |
|
|
rm -Rf $(TARGZFILE) |
15 |
|
|
rm -Rf $(ZIPFILE) |
16 |
tdb |
1.1.2.1 |
|
17 |
|
|
package : $(PACKAGE) |
18 |
|
|
|
19 |
tdb |
1.1.2.4 |
$(PACKAGE) : $(BUILDCHECK) |
20 |
tdb |
1.1.2.3 |
@echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP |
21 |
|
|
@echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP |
22 |
|
|
jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) |
23 |
tdb |
1.1.2.1 |
rm -f MANIFEST_TMP |
24 |
tdb |
1.1.2.5 |
tar -cvf $(TARFILE) $(PACKAGE) lib etc |
25 |
|
|
gzip -v9 $(TARFILE) |
26 |
|
|
zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* |
27 |
tdb |
1.1.2.3 |
|
28 |
|
|
include $(MKINC) |