source: fedd/abac-src/ttg/Makefile @ ca489e8

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since ca489e8 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#!/bin/make
2#       $Id: Makefile,v 1.18 2003/07/16 16:27:39 jjacobs Exp $ 
3#
4JAVAC=javac -g
5#JAVAC=jikes +E -g
6CLASSDIR=classes
7CATALINA=/var/tomcat4
8DOCTITLE="Attribute Based Access Control (ABAC)"
9WINDOWTITLE="Attribute Based Access Control (ABAC)"
10LICENSE="<FONT SIZE="-1">Portions copyrighted &copy; 2001-2, Networks Associates Technology, Inc. All rights reserved <BR> Funded by DARPA through SPAWAR contract N66001-01-C-8005</FONT>"
11TTG=.
12RBTM=../rbtm
13SRCDIR=$(TTG):$(RBTM)
14
15all:            classes jar
16
17doc:            Makefile
18                ln -s . com; ln -s . nailabs; ln -s . abac
19                pushd ../rbtm; \
20                  ln -s . edu; ln -s . stanford; ln -s . peer; ln -s . rbtm; \
21                popd
22                javadoc -package -d doc -sourcepath $(SRCDIR) \
23                        -doctitle $(DOCTITLE) -bottom $(LICENSE)\
24                        -windowtitle $(WINDOWTITLE) \
25                        edu.stanford.peer.rbtm.credential \
26                        edu.stanford.peer.rbtm.engine \
27                        edu.stanford.peer.rbtm.util \
28                        edu.stanford.peer.rbtm.test \
29                        com.nailabs.abac.trust \
30                        com.nailabs.abac.process \
31                        com.nailabs.abac.credential\
32                        com.nailabs.abac.test
33                rm com; rm nailabs; rm abac
34                pushd $(RBTM); rm edu stanford peer rbtm; popd
35
36stubs:         
37                cd classes;\
38                rmic    -classpath .:classes:${CLASSPATH}\
39                        com.nailabs.abac.process.RMINegotiator \
40                        com.nailabs.abac.test.ClientRTMLService \
41                        com.nailabs.abac.test.ClientAuthenticationService
42
43cleandoc:
44                rm com; rm nailabs; rm abac
45                pushd ~/rbtm ; rm edu stanford peer rbtm
46
47clean:                 
48                @echo Cleaning up class files and javadoc...
49                @rm -rf classes/com
50                @rm -rf doc/*
51
52jar:    stubs
53                cd classes; jar cvf abac.jar com
54
55classes:       
56                $(JAVAC) -cp ${CLASSPATH} -d $(CLASSDIR)        \
57                        trust/*.java \
58                        process/*.java \
59                        credential/*.java \
60                        test/*.java
61
62.PHONY: clean classes jar doc cleandoc install
Note: See TracBrowser for help on using the repository browser.