source: package_tags/invirt-vnc-client/0.0.3/Makefile @ 1346

Last change on this file since 1346 was 1336, checked in by broder, 16 years ago

Add a script to regenerate the VNC client's certificate store

File size: 1.7 KB
Line 
1#
2# Making the VNC applet.
3#
4
5CP = cp
6JC = javac
7JCFLAGS = -target 1.1 -source 1.2
8JAR = jar
9ARCHIVE = VncViewer.jar
10MANIFEST = MANIFEST.MF
11PAGES = index.vnc
12INSTALL_DIR = /usr/local/vnc/classes
13
14CLASSES = VncViewer.class RfbProto.class AuthPanel.class VncCanvas.class \
15          VncCanvas2.class \
16          OptionsFrame.class ClipboardFrame.class ButtonPanel.class \
17          DesCipher.class CapabilityInfo.class CapsContainer.class \
18          RecordingFrame.class SessionRecorder.class \
19          SocketFactory.class HTTPConnectSocketFactory.class \
20          VNCProxyConnectSocketFactory.class VNCProxyConnectSocket.class \
21          HTTPConnectSocket.class ReloginPanel.class \
22          InStream.class MemInStream.class ZlibInStream.class \
23          VNCProxyConnectSocketWrapper.class SocketWrapper.class SocketWrapper\$$WrappingSocketImpl.class InvirtTrustManager.class
24
25SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \
26          VncCanvas2.java \
27          OptionsFrame.java ClipboardFrame.java ButtonPanel.java \
28          DesCipher.java CapabilityInfo.java CapsContainer.java \
29          RecordingFrame.java SessionRecorder.java \
30          SocketFactory.java HTTPConnectSocketFactory.java \
31          VNCProxyConnectSocketFactory.java VNCProxyConnectSocket.java \
32          HTTPConnectSocket.java ReloginPanel.java \
33          InStream.java MemInStream.java ZlibInStream.java \
34          VNCProxyConnectSocketWrapper.java SocketWrapper.java InvirtTrustManager.java
35
36all: $(CLASSES) $(ARCHIVE)
37
38$(CLASSES): $(SOURCES)
39        $(JC) $(JCFLAGS) -O $(SOURCES)
40
41$(ARCHIVE): $(CLASSES) $(MANIFEST)
42        $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
43
44install: $(CLASSES) $(ARCHIVE)
45        $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
46
47export:: $(CLASSES) $(ARCHIVE) $(PAGES)
48        @$(ExportJavaClasses)
49
50clean::
51        $(RM) *.class *.jar
Note: See TracBrowser for help on using the repository browser.