5 |
|
|
6 |
|
BUILDFILES = uk |
7 |
|
|
8 |
+ |
.PHONY : all |
9 |
|
all : dist |
10 |
|
|
11 |
+ |
.PHONY : clean |
12 |
|
clean : |
13 |
|
rm -Rf $(BUILDFILES) |
14 |
|
rm -f $(PACKAGE) |
21 |
|
rm -Rf $(DOCDIR) $(SRCDIR) |
22 |
|
rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) |
23 |
|
|
24 |
+ |
.PHONY : package |
25 |
|
package : $(PACKAGE) |
26 |
|
|
27 |
< |
$(PACKAGE) : $(BUILDCHECK) |
27 |
> |
$(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK) |
28 |
|
rm -f $(PACKAGE) |
29 |
|
@echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP |
30 |
|
@echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP |
31 |
|
jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) |
32 |
|
rm -f MANIFEST_TMP |
33 |
|
|
34 |
+ |
.PHONY : packageutil |
35 |
|
packageutil : $(UTILPACKAGE) |
36 |
|
|
37 |
< |
$(UTILPACKAGE) : $(BUILDCHECK) |
37 |
> |
$(UTILPACKAGE) : $(MCOMPILECHECK) |
38 |
|
jar -cf $(UTILPACKAGE) $(BUILDFILES) |
39 |
|
|
40 |
< |
dist-bin : mk-dist-bin mk-distfiles |
40 |
> |
.PHONY : dist-bin |
41 |
> |
dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESCHECK) |
42 |
|
|
43 |
< |
dist : mk-dist mk-distfiles |
43 |
> |
.PHONY : dist |
44 |
> |
dist : $(MKDISTCHECK) $(MKDISTFILESCHECK) |
45 |
|
|
46 |
+ |
.PHONY : mk-dist-bin |
47 |
|
mk-dist-bin : $(MKDISTBINCHECK) |
48 |
|
$(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG) |
49 |
|
if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi |
54 |
|
@touch $(MKDISTBINCHECK) |
55 |
|
@rm -f $(MKDISTFILESCHECK) |
56 |
|
|
57 |
+ |
.PHONY : mk-dist |
58 |
|
mk-dist : $(MKDISTCHECK) |
59 |
|
$(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG) |
60 |
|
if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi |
65 |
|
@touch $(MKDISTCHECK) |
66 |
|
@rm -f $(MKDISTFILESCHECK) |
67 |
|
|
68 |
+ |
.PHONY : mk-distfiles |
69 |
|
mk-distfiles : $(MKDISTFILESCHECK) |
70 |
|
$(MKDISTFILESCHECK) : |
71 |
|
if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi |