From 8249d5cb488dd3787a9a4a9cef75a98310716051 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 5 Oct 2011 19:17:36 +0000 Subject: [PATCH] Remove old Makefile in favor of new CMake-based Java build system git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4708 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tigervnc/vncviewer/Makefile | 65 ------------------------ 1 file changed, 65 deletions(-) delete mode 100644 java/src/com/tigervnc/vncviewer/Makefile diff --git a/java/src/com/tigervnc/vncviewer/Makefile b/java/src/com/tigervnc/vncviewer/Makefile deleted file mode 100644 index 51d4917d..00000000 --- a/java/src/com/tigervnc/vncviewer/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# -# Making the VNC applet. -# - -CP = cp -JC = javac -JCFLAGS = -target 1.5 -Xlint:all,-serial,-cast -classpath ../../../ -JAR = jar -ARCHIVE = VncViewer.jar -MANIFEST = MANIFEST.MF -TIMESTAMP = timestamp -PAGES = index.vnc -INSTALL_DIR = /usr/local/vnc/classes -DATE = $(shell date -u "+%b %d %Y") -TIME = $(shell date -u "+%H:%M:%S") - -CLASSES = CConn.class OptionsDialogCallback.class ClipboardDialog.class \ - PasswdDialog.class DesktopWindow.class PixelBufferImage.class \ - Dialog.class ServerDialog.class F8Menu.class UserPrefs.class \ - OptionsDialog.class VncViewer.class - -SOURCES = CConn.java OptionsDialogCallback.java ClipboardDialog.java \ - PasswdDialog.java DesktopWindow.java PixelBufferImage.java \ - Dialog.java ServerDialog.java F8Menu.java UserPrefs.java \ - OptionsDialog.java VncViewer.java - -all: $(CLASSES) $(ARCHIVE) - -$(CLASSES): $(SOURCES) ../rfb/*.java ../rdr/*.java ../../jcraft/jzlib/*.java - $(JC) $(JCFLAGS) -O $(SOURCES) - -$(ARCHIVE): $(CLASSES) $(MANIFEST) $(TIMESTAMP) - cd ../../..; \ - $(JAR) cfm com/tigervnc/vncviewer/$(ARCHIVE) \ - com/tigervnc/vncviewer/$(MANIFEST) \ - com/tigervnc/vncviewer/$(TIMESTAMP) \ - com/tigervnc/vncviewer/*.class \ - com/tigervnc/rfb/*.class \ - com/tigervnc/rdr/*.class \ - com/jcraft/jzlib/*.class \ - com/tigervnc/vncviewer/tigervnc.png \ - com/tigervnc/vncviewer/tigervnc.ico - rm -f tigervnc.keystore - keytool -genkey -alias TigerVNC -keystore tigervnc.keystore -keyalg RSA \ - -storepass tigervnc -keypass tigervnc -validity 7300 \ - -dname "CN=TigerVNC, OU=Software Development, O=The TigerVNC Project, L=Austin, S=Texas, C=US" - jarsigner -keystore tigervnc.keystore -storepass tigervnc -keypass tigervnc \ - $(ARCHIVE) TigerVNC - rm -f tigervnc.keystore - - -$(TIMESTAMP): - $(shell cat $(MANIFEST) > $(TIMESTAMP)) - $(shell echo "Package-Date: $(DATE)" >> $(TIMESTAMP)) - $(shell echo "Package-Time: $(TIME)" >> $(TIMESTAMP)) - -install: $(PAGES) README $(ARCHIVE) - mkdir -p $(INSTALL_DIR) - $(CP) $(ARCHIVE) $(PAGES) README $(INSTALL_DIR) - -export:: $(CLASSES) $(ARCHIVE) $(PAGES) - @$(ExportJavaClasses) - -clean:: - $(RM) *.class *.jar timestamp ../rfb/*.class ../rdr/*.class ../../jcraft/jzlib/*.class -- 2.39.5