source: fedd/abac-src/rbtm/Makefile @ 59f3d1f

version-1.30
Last change on this file since 59f3d1f was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#!/bin/make
2#
3#
4JAVAC=javac
5#JAVAC=jikes
6CLASSDIR=classes
7CATALINA=/var/tomcat4
8DOCTITLE="Role Based Trust Management"
9WINDOWTITLE="Role Based Trust Management"
10SRCDIR=.
11
12all:            classes jar
13
14doc:            Makefile
15                ln -s . edu; ln -s . stanford;  ln -s . peer; ln -s . rbtm
16                ln -s . com; ln -s . nailabs; ln -s . abac
17                javadoc -package -d doc -sourcepath $(SRCDIR) \
18                        -doctitle $(DOCTITLE) \
19                        -windowtitle $(WINDOWTITLE) \
20                        edu.stanford.peer.rbtm.credential \
21                        edu.stanford.peer.rbtm.engine \
22                        edu.stanford.peer.rbtm.util \
23                        edu.stanford.peer.rbtm.test \
24                        edu.stanford.peer.rbtm \
25                        com.nailabs.abac.access
26                rm com; rm nailabs; rm abac
27                rm edu; rm stanford; rm peer; rm rbtm
28
29clean:                 
30                @echo Cleaning up class files and javadoc...
31                @rm -rf classes/com classes/edu
32                @touch RBTMConstants.java
33                @rm -rf doc/*
34
35jar:           
36                cd classes; jar cvf rbtm.jar edu
37
38classes:       
39                $(JAVAC) -d $(CLASSDIR) *.java \
40                        credential/*.java \
41                        engine/*.java \
42                        access/*.java \
43                        test/*.java \
44                        util/*.java
45
46install: 
47                cp classes/rbtm.jar $(CATALINA)/common/lib/.
48
49
50.PHONY: clean classes jar install doc
Note: See TracBrowser for help on using the repository browser.