JAVA = javac ALL = $(MAIN_ALL) $(TEST_ALL) CLDIR = /afs/cs.cmu.edu/user/lalonso/se/draft/ CURDIR = $(CLDIR) PACKAGE = edu.cmu.paid.authentication #UI_ROOT = /tmp/stephane/swing-1.1beta3 UI_ROOT = /afs/cs.cmu.edu/user/masmith/swing UI_CLASSDIR = ${UI_ROOT}/swingall.jar #UI_CLASSDIR = ${UI_ROOT}/beaninfo.jar:${UI_ROOT}/motif.jar:${UI_ROOT}/multi.jar:${UI_ROOT}/swing.jar:${UI_ROOT}/swingall.jar:${UI_ROOT}/windows.jar:${UI_ROOT}/ NET_CLASSDIR = /afs/cs.cmu.edu/academic/class/15413/voyager/voyager2.0.0/lib/voyager2.0.0.jar:/afs/cs.cmu.edu/academic/class/15413/voyager/voyager2.0.0/ CLASSDIR = /afs/cs.cmu.edu/local/java/i386_linux2/omega/jdk1.1.5/lib/classes.zip:$(CLDIR):${UI_CLASSDIR}:${NET_CLASSDIR} DESTDIR = ./javadoc CRYPTO_ALL = crypto/Caesar.class crypto/Cryptography.class crypto/Crypto_Interface.class crypto/Rsa.class CRYPTO_SRCS = crypto/Caesar.java crypto/Cryptography.java crypto/Crypto_Interface.java crypto/Rsa.java UTIL_ALL = util/ByteConverter.class util/ByteConverterWrapper.class util/DoubleByteArray.class util/ByteArray.class UTIL_SRCS = util/ByteConverter.java util/ByteConverterWrapper.java util/DoubleByteArray.java util/ByteArray.java SMART_ALL = SmartCard/SmartCard.class SMART_SRCS = SmartCard/SmartCard.java EXCEP_ALL = Exception/NoKeyException.class Exception/NoUserException.class EXCEP_SRCS = Exception/NoKeyException.java Exception/NoUserException.java OBJ_ALL = Authentication_Interface.class User.class Group.class Session.class AuthenticationEventAdaptor.class OBJ_SRCS = Authentication_Interface.java User.java Group.java Session.java AuthenticationEventAdaptor.java #DATA_ALL = ../database/AuthenticationData.class #DATA_SRCS = ../database/AuthenticationData.java AUTHSRV_ALL = AuthServer.class ServSession.class AUTHSRV_SRCS = AuthServer.java ServSession.java MAIN_ALL = $(OBJ_ALL) $(EXCEP_ALL) $(SMART_ALL) $(UTIL_ALL) $(CRYPTO_ALL) $(AUTHSRV_ALL) #$(DATA_ALL) MAIN_SRCS = $(OBJ_SRCS) $(EXCEP_SRCS) $(SMART_SRCS) $(UTIL_SRCS) $(CRYPTO_SRCS) $(AUTHSRV_SRCS) #$(DATA_SRCS) TEST_ALL = crypto/TestWrapper.class test/TestCaesar.class test/TestKeyGen.class test/TestRsa.class test/TestSerialization.class TestUser.class TestAuthDB.class TEST_SRCS = crypto/TestWrapper.java test/TestCaesar.java test/TestKeyGen.java test/TestRsa.java test/TestSerialization.java TestUser.java TestAuthDB.java PACKAGES = $(PACKAGE) $(PACKAGE).Exception $(PACKAGE).SmartCard $(PACKAGE).crypto $(PACKAGE).util all: $(ALL) love: make clean; gmake -j Test: $(ALL) java -classpath $(CLASSDIR) edu.cmu.paid.authentication.test.TestRsa javadoc: $(MAIN_ALL) javadoc -classpath $(CLASSDIR) -d $(DESTDIR) -package -version -author $(PACKAGES) # Update a tags table for this program. TAGS: $(MAIN_SRCS) $(TEST_SRCS) etags $(MAIN_SRCS) $(TEST_SRCS) clean: rm -f $(ALL) *~ test: $(TEST_ALL) $(JAVA) -classpath $(CLASSDIR) $(TEST_SRCS) count: wc $(MAIN_SRCS) %.class: %.java $(JAVA) -classpath $(CLASSDIR) -g $(@:%.class=%.java)