[66] | 1 | # |
---|
| 2 | # Making the VNC applet. |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | CP = cp |
---|
| 6 | JC = javac |
---|
[105] | 7 | JCFLAGS = -target 1.1 -source 1.2 |
---|
[66] | 8 | JAR = jar |
---|
| 9 | ARCHIVE = VncViewer.jar |
---|
| 10 | MANIFEST = MANIFEST.MF |
---|
| 11 | PAGES = index.vnc |
---|
| 12 | INSTALL_DIR = /usr/local/vnc/classes |
---|
| 13 | |
---|
| 14 | CLASSES = 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 \ |
---|
[143] | 22 | InStream.class MemInStream.class ZlibInStream.class \ |
---|
[1335] | 23 | VNCProxyConnectSocketWrapper.class SocketWrapper.class SocketWrapper\$$WrappingSocketImpl.class InvirtTrustManager.class |
---|
[66] | 24 | |
---|
| 25 | SOURCES = 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 \ |
---|
[143] | 33 | InStream.java MemInStream.java ZlibInStream.java \ |
---|
[1335] | 34 | VNCProxyConnectSocketWrapper.java SocketWrapper.java InvirtTrustManager.java |
---|
[66] | 35 | |
---|
| 36 | all: $(CLASSES) $(ARCHIVE) |
---|
| 37 | |
---|
| 38 | $(CLASSES): $(SOURCES) |
---|
| 39 | $(JC) $(JCFLAGS) -O $(SOURCES) |
---|
| 40 | |
---|
| 41 | $(ARCHIVE): $(CLASSES) $(MANIFEST) |
---|
[1336] | 42 | $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES) |
---|
[66] | 43 | |
---|
| 44 | install: $(CLASSES) $(ARCHIVE) |
---|
| 45 | $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR) |
---|
| 46 | |
---|
| 47 | export:: $(CLASSES) $(ARCHIVE) $(PAGES) |
---|
| 48 | @$(ExportJavaClasses) |
---|
| 49 | |
---|
| 50 | clean:: |
---|
| 51 | $(RM) *.class *.jar |
---|