source: trunk/packages/invirt-vnc-client/Makefile @ 2164

Last change on this file since 2164 was 1438, checked in by broder, 16 years ago

Isolate our patches to the VNC client from the upstream TightVNC
source

File size: 1.3 KB
Line 
1#
2# Making the VNC applet.
3#
4
5CP = cp
6JC = javac
7JCFLAGS = -target 1.1
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          HTTPConnectSocket.class ReloginPanel.class \
21          InStream.class MemInStream.class ZlibInStream.class
22
23SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \
24          VncCanvas2.java \
25          OptionsFrame.java ClipboardFrame.java ButtonPanel.java \
26          DesCipher.java CapabilityInfo.java CapsContainer.java \
27          RecordingFrame.java SessionRecorder.java \
28          SocketFactory.java HTTPConnectSocketFactory.java \
29          HTTPConnectSocket.java ReloginPanel.java \
30          InStream.java MemInStream.java ZlibInStream.java
31
32all: $(CLASSES) $(ARCHIVE)
33
34$(CLASSES): $(SOURCES)
35        $(JC) $(JCFLAGS) -O $(SOURCES)
36
37$(ARCHIVE): $(CLASSES) $(MANIFEST)
38        $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
39
40install: $(CLASSES) $(ARCHIVE)
41        $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
42
43export:: $(CLASSES) $(ARCHIVE) $(PAGES)
44        @$(ExportJavaClasses)
45
46clean::
47        $(RM) *.class *.jar
Note: See TracBrowser for help on using the repository browser.