annotate Makefile/Makefile @ 12:ac847013174d

add html and Makefile
author e085711
date Sat, 16 Apr 2011 20:43:07 +0900
parents
children 3a8e75cb0743
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
ac847013174d add html and Makefile
e085711
parents:
diff changeset
1 #
ac847013174d add html and Makefile
e085711
parents:
diff changeset
2 # Making the VNC applet.
ac847013174d add html and Makefile
e085711
parents:
diff changeset
3 #
ac847013174d add html and Makefile
e085711
parents:
diff changeset
4
ac847013174d add html and Makefile
e085711
parents:
diff changeset
5 CP = cp
ac847013174d add html and Makefile
e085711
parents:
diff changeset
6 JC = javac
ac847013174d add html and Makefile
e085711
parents:
diff changeset
7 JCFLAGS = -target 1.1 -source 1.2
ac847013174d add html and Makefile
e085711
parents:
diff changeset
8 JAR = jar
ac847013174d add html and Makefile
e085711
parents:
diff changeset
9 ARCHIVE = VncViewer.jar
ac847013174d add html and Makefile
e085711
parents:
diff changeset
10 MANIFEST = MANIFEST.MF
ac847013174d add html and Makefile
e085711
parents:
diff changeset
11 PAGES = index.vnc
ac847013174d add html and Makefile
e085711
parents:
diff changeset
12 INSTALL_DIR = /usr/local/vnc/classes
ac847013174d add html and Makefile
e085711
parents:
diff changeset
13
ac847013174d add html and Makefile
e085711
parents:
diff changeset
14 CLASSES = VncViewer.class RfbProto.class AuthPanel.class VncCanvas.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
15 VncCanvas2.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
16 OptionsFrame.class ClipboardFrame.class ButtonPanel.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
17 DesCipher.class CapabilityInfo.class CapsContainer.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
18 RecordingFrame.class SessionRecorder.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
19 SocketFactory.class HTTPConnectSocketFactory.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
20 HTTPConnectSocket.class ReloginPanel.class \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
21 InStream.class MemInStream.class ZlibInStream.class
ac847013174d add html and Makefile
e085711
parents:
diff changeset
22
ac847013174d add html and Makefile
e085711
parents:
diff changeset
23 SOURCES = VncViewer.java RfbProto.java AuthPanel.java VncCanvas.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
24 VncCanvas2.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
25 OptionsFrame.java ClipboardFrame.java ButtonPanel.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
26 DesCipher.java CapabilityInfo.java CapsContainer.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
27 RecordingFrame.java SessionRecorder.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
28 SocketFactory.java HTTPConnectSocketFactory.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
29 HTTPConnectSocket.java ReloginPanel.java \
ac847013174d add html and Makefile
e085711
parents:
diff changeset
30 InStream.java MemInStream.java ZlibInStream.java
ac847013174d add html and Makefile
e085711
parents:
diff changeset
31
ac847013174d add html and Makefile
e085711
parents:
diff changeset
32 all: $(CLASSES) $(ARCHIVE)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
33
ac847013174d add html and Makefile
e085711
parents:
diff changeset
34 $(CLASSES): $(SOURCES)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
35 $(JC) $(JCFLAGS) -O $(SOURCES)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
36
ac847013174d add html and Makefile
e085711
parents:
diff changeset
37 $(ARCHIVE): $(CLASSES) $(MANIFEST)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
38 $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
39
ac847013174d add html and Makefile
e085711
parents:
diff changeset
40 install: $(CLASSES) $(ARCHIVE)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
41 $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
42
ac847013174d add html and Makefile
e085711
parents:
diff changeset
43 export:: $(CLASSES) $(ARCHIVE) $(PAGES)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
44 @$(ExportJavaClasses)
ac847013174d add html and Makefile
e085711
parents:
diff changeset
45
ac847013174d add html and Makefile
e085711
parents:
diff changeset
46 clean::
ac847013174d add html and Makefile
e085711
parents:
diff changeset
47 $(RM) *.class *.jar