2 # Making the VNC applet.
7 JCFLAGS = -target 1.1 -source 1.2
9 ARCHIVE = VncViewer.jar
10 MANIFEST = MANIFEST.MF
12 INSTALL_DIR = /usr/local/vnc/classes
14 CLASSES = VncViewer.class RfbProto.class AuthPanel.class VncCanvas.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
25 SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.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
36 all: $(CLASSES) $(ARCHIVE)
38 $(CLASSES): $(SOURCES)
39 $(JC) $(JCFLAGS) -O $(SOURCES)
41 $(ARCHIVE): $(CLASSES) $(MANIFEST)
42 $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
44 install: $(CLASSES) $(ARCHIVE)
45 $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
47 export:: $(CLASSES) $(ARCHIVE) $(PAGES)