File: npvcall.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 (64 lines) | stat: -rw-r--r-- 1,744 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
##
## 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/npvcall.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 = \
	npvcall.jar

OBJS = \
	npvcall.class

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

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

npvcall.class: npvcall.java
	javac $(JFLAGS) npvcall.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: .npvcallpage
	cp -f npvcall.jar $(JAVADIR)
	cp -f npvcall.html $(JAVADIR)
	cp -f npvcall3.0.* $(JAVADIR)
	cp -f npvcall.net $(DXSERVER_DIR)


clean:
	rm -f .npvcallpage
	rm -f $(DXSERVER_DIR)/npvcall.net
	rm -f $(JAVADIR)/npvcall.class
	rm -f $(JAVADIR)/npvcall.html
	rm -f $(JAVADIR)/npvcall3.*