source: trunk/vnc/vnc_javasrc/Makefile @ 127

Last change on this file since 127 was 105, checked in by quentin, 17 years ago

Allow building with javac 1.5

File size: 1.5 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
24SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \
25          VncCanvas2.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
33
34all: $(CLASSES) $(ARCHIVE)
35
36$(CLASSES): $(SOURCES)
37        $(JC) $(JCFLAGS) -O $(SOURCES)
38
39$(ARCHIVE): $(CLASSES) $(MANIFEST)
40        $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
41
42install: $(CLASSES) $(ARCHIVE)
43        $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
44
45export:: $(CLASSES) $(ARCHIVE) $(PAGES)
46        @$(ExportJavaClasses)
47
48clean::
49        $(RM) *.class *.jar
Note: See TracBrowser for help on using the repository browser.