File: ibmqw.make

package info (click to toggle)
dxsamples 4.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 26,340 kB
  • sloc: ansic: 10,079; sh: 8,445; java: 1,772; makefile: 1,102
file content (66 lines) | stat: -rw-r--r-- 1,758 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
##
## There is currently no way to set these values inside the ui.
## You can edit in appropriate values or you can enter them
## in $HOME/DX as follows:
## 	DX*cosmoDir: /some/where/vrml
## 	DX*dxJarFile: /some/where/java/htmlpages/dx.jar
## 	DX*userHtmlDir: /some/where/java/user
## 	DX*userJarFile: /some/where/java/user/ibmqw.jar
## 	DX*jdkDir: /usr/jdk_base/lib/classes.zip
## Note that a value for cosmoDir is required if your
## web page uses vrml and may be left out otherwise.
##
JARFILE=/u/c1tignor/ibm6000/java/htmlpages/dx.jar
JDKFILE=/usr/jdk_base/lib/classes.zip
COSMO=/usr/svs/vrml
JFLAGS=-classpath $(JDKFILE):$(JARFILE):$(COSMO)

JARS = \
	ibmqw.jar

OBJS = \
	ibmqw.class

.ibmqwpage: $(JARS)
	make -f /a/raster/homes/raster/c1tignor/ibm6000/samples/java/ibmqw.make $(OBJS)
	touch .ibmqwpage

ibmqw.jar: $(OBJS)
	jar cf ibmqw.jar $(OBJS)

ibmqw.class: ibmqw.java
	javac $(JFLAGS) ibmqw.java



##
## There is currently no way to set these values inside the ui.
## You can hand edit in appropriate values or you can enter them
## in $HOME/DX as follows:
## 	DX*htmlDir: /usr/http/java
## 	DX*userHtmlDir: user
## 	DX*serverDir: /usr/admin/java/server
##
DXSERVER=/u/c1tignor/ibm6000/java/server
DXSERVER_DIR=$(DXSERVER)/unixnets
JAVADIR=/u/c1tignor/ibm6000/java/user

##
## This is the install rule.  You might add lines to copy macros
## to $(DXSERVER)/usermacros or data to $(DXSERVER)/userdata
##
install: .ibmqwpage
	cp -f ibmqw.jar $(JAVADIR)
	cp -f ibmqw.html $(JAVADIR)
	cp -f ibmqw1.0.* $(JAVADIR)
	cp -f ibmqw2.0.* $(JAVADIR)
	cp -f ibmqw.net $(DXSERVER_DIR)


clean:
	rm -f .ibmqwpage
	rm -f $(DXSERVER_DIR)/ibmqw.net
	rm -f $(JAVADIR)/ibmqw.class
	rm -f $(JAVADIR)/ibmqw.html
	rm -f $(JAVADIR)/ibmqw1.*
	rm -f $(JAVADIR)/ibmqw2.*