-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakehp7
More file actions
106 lines (86 loc) · 2.89 KB
/
makehp7
File metadata and controls
106 lines (86 loc) · 2.89 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
# Makefile for everything
#
# this file goes in cgs
MAKEFILE = makehp7
include $(MAKEFILE).h
TARFILE = cgs.tar
TARCOMPRESS = cgs.tar.Z
nosuchfile: ALL
new: NEW
NEW: CLEAN ALL
all: ALL
ALL: DIRECTORIES SYS LEXP COMPLOT GENPLOT RUMP HERSHEY VSORT
support: SUPPORT
SUPPORT: DIRECTORIES HERSHEY
directories: DIRECTORIES
DIRECTORIES:
- $(MKDIR) include
- $(MKDIR) lib
- $(MKDIR) bin
tar: TAR
TAR:
- rm $(TARFILE) $(TARCOMPRESS)
cd ..; tar -cvf cgs/$(TARFILE) \
cgs/copyrigh \
cgs/read* cgs/make* cgs/*.inf cgs/inf* \
cgs/sys/*.c cgs/sys/*.h cgs/sys/make* \
cgs/lexp/*.c cgs/lexp/*.h cgs/lexp/make* \
cgs/complot/*.c cgs/complot/*.h cgs/complot/make* \
cgs/genplot/*.c cgs/genplot/*.h cgs/genplot/make* \
cgs/vsort/*.c cgs/vsort/*.h cgs/vsort/make* \
cgs/hershey/*.c cgs/hershey/*.h cgs/hershey/make* \
cgs/hershey/*.dat cgs/hershey/*.oc cgs/hershey/fonts.inp \
cgs/hershey/*.doc cgs/hershey/readme \
cgs/bin/devices.dat cgs/bin/genplot.ini \
cgs/help/*
compress $(TARFILE)
clean: CLEAN
CLEAN:
-rm -f lib/*.a sys/*.o complot/*.o lexp/*.o genplot/*.o \
hershey/*.o vsort/*.o rump/*.o include/*.h
spotless: SPOTLESS
SPOTLESS: CLEAN
-rm -f ./bin/rump
-rm -f ./bin/genplot
-rm -f ./bin/xslave.drv
-rm -f ./bin/vsort.run
-rm -f ./hershey/hercvt
-rm -rf ./lib
-rm -rf ./include
SYS:
cd sys ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
LEXP:
cd lexp ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
COMPLOT:
cd complot ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
GENPLOT:
cd genplot ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
HERSHEY:
cd hershey ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
VSORT:
cd vsort ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
RUMP:
cd rump ; $(MAKE) -f $(MAKEFILE) -$(MAKEFLAGS)
install:
$(INSTALLEXE) $(EXEDIR)genplot $(INSTALLEXEDIR)
-$(MKDIR) $(INSTALLLIBDIR)
-chmod 755 $(INSTALLLIBDIR)
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)devices.dat
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)genplot.ini
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)hdata.chr
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)colormap.dat
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)termkey
$(INSTALLEXE) -f $(INSTALLLIBDIR) $(DRVDIR)xslave.drv
$(INSTALLEXE) -f $(INSTALLLIBDIR) $(DRVDIR)vsort.run
rump_install:
$(INSTALLEXE) $(EXEDIR)rump $(INSTALLEXEDIR)
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)rump.ini
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)atom4.dat
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)he4_35.stp
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)d_35.stp
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)h_35.stp
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)pscoef.dat
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)car.adt
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)oxy.adt
$(INSTALLLIB) -f $(INSTALLLIBDIR) $(DRVDIR)si.adt