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
24 SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \
26 OptionsFrame.java ClipboardFrame.java ButtonPanel.java \
27 DesCipher.java CapabilityInfo.java CapsContainer.java \
28 RecordingFrame.java SessionRecorder.java \
29 SocketFactory.java HTTPConnectSocketFactory.java \
30 VNCProxyConnectSocketFactory.java VNCProxyConnectSocket.java \
31 HTTPConnectSocket.java ReloginPanel.java \
32 InStream.java MemInStream.java ZlibInStream.java
34 all: $(CLASSES) $(ARCHIVE)
36 $(CLASSES): $(SOURCES)
37 $(JC) $(JCFLAGS) -O $(SOURCES)
39 $(ARCHIVE): $(CLASSES) $(MANIFEST)
40 $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
42 install: $(CLASSES) $(ARCHIVE)
43 $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
45 export:: $(CLASSES) $(ARCHIVE) $(PAGES)