File: hedge.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 (68 lines) | stat: -rw-r--r-- 1,831 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
67
68
##
## 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/hedge.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 = \
	hedge.jar

OBJS = \
	hedge.class

.hedgepage: $(JARS)
	make -f /a/raster/homes/raster/c1tignor/options/hedge.make $(OBJS)
	touch .hedgepage

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

hedge.class: hedge.java
	javac $(JFLAGS) hedge.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
MACROS = bschols.net logn.net optsurf.net pdflogn.net

##
## This is the install rule.  You might add lines to copy macros
## to $(DXSERVER)/usermacros or data to $(DXSERVER)/userdata
##
install: .hedgepage
	cp -f hedge.jar $(JAVADIR)
	cp -f hedge.html $(JAVADIR)
	cp -f hedge3.0.* $(JAVADIR)
	cp -f hedge.net $(DXSERVER_DIR)
	cp -f ../demos/option.cm $(DXSERVER)/userdata
	cp -f $(MACROS) $(DXSERVER)/usermacros



clean:
	rm -f .hedgepage
	rm -f $(DXSERVER_DIR)/hedge.net
	rm -f $(JAVADIR)/hedge.class
	rm -f $(JAVADIR)/hedge.html
	rm -f $(JAVADIR)/hedge3.*