summaryrefslogtreecommitdiff
blob: ed8356b75c3672038f90e53da995b97d4e8ef8a9 (plain)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
diff -U 3 -dHrN -- xd3d-8.2.0-orig/Makefile xd3d-8.2.0/Makefile
--- xd3d-8.2.0-orig/Makefile	2003-11-25 13:47:13.000000000 +0100
+++ xd3d-8.2.0/Makefile	2004-05-09 02:41:11.192321664 +0200
@@ -15,7 +15,9 @@
 
 all :; make libs ; make utils ; make xgraphic ; make xd3d
 
-install :; /bin/cp $(EXE) ./infps $(INSTALL_DIR)
+install :; \
+install -d $(INSTALL_DIR) ;\
+install $(EXE) ./infps $(INSTALL_DIR)
 
 libs :; \
 cd $(SRCDIR)/qlib   ; echo "---- Building utility lib ----" ; make ;\
diff -U 3 -dHrN -- xd3d-8.2.0-orig/RULES.gentoo xd3d-8.2.0/RULES.gentoo
--- xd3d-8.2.0-orig/RULES.gentoo	1970-01-01 01:00:00.000000000 +0100
+++ xd3d-8.2.0/RULES.gentoo	2004-05-09 02:28:27.156472768 +0200
@@ -0,0 +1,81 @@
+#--------------------------------------------------------
+# Configuration file for the Makefiles of xd3d          |
+# Fran�ois Jouve 2003 (Francois.Jouve@Polytechnique.fr) |
+#--------------------------------------------------------
+
+#
+# Modifiable parameters
+#
+
+#
+# Root directory of the distribution
+#
+#XD3D_DIR = $(HOME)/xd3d-8.1.0
+XD3D_DIR = Please_Configure
+
+#
+# Install directory
+#
+#INSTALL_DIR = /usr/local/bin
+INSTALL_DIR = ##D##/usr/bin
+
+#
+# Location of the X11 lib (libX11.a)
+#
+#LIBX11 = /usr/X11R6/lib
+LIBX11 = /usr/X11R6/lib
+
+#
+# Language parameter
+#
+#LANGUAGE = FRANCAIS
+#LANGUAGE = ENGLISH
+LANGUAGE = ENGLISH
+
+#
+# Max memory for xd3d (MBytes)
+#
+#MEMORY_XD3D = 64
+MEMORY_XD3D = 64
+
+#
+# Fortran compiler
+#
+COMPILF = g77
+
+#
+# C compiler
+#
+COMPILC = gcc
+RANLIB  = ranlib
+AR      = ar r
+STRIP   = strip $@
+
+#
+# Options for the Fortran compiler
+#
+OPTF = ##CFLAGS##
+#
+# Options for the C compiler
+#
+OPTC = ##CFLAGS##
+
+#-----------------------------------------------
+# You should not need to change anything below !
+#-----------------------------------------------
+
+SRCDIR = $(XD3D_DIR)/src
+BINDIR = $(XD3D_DIR)/bin
+LIBDIR = $(XD3D_DIR)/lib
+INCF   = -I$(XD3D_DIR)/src/include
+INCC   = -I$(LIBX11)/../include
+
+LINK      = $(COMPILF) $(OPTF) -o
+LINKOPT   = -lc -lm
+LINKOPTX  = -L$(LIBX11) -lX11 -lXpm -lc -lm
+LIBRAIRIE = $(LIBDIR)/question_lib.a
+MYXLIB    = $(LIBDIR)/my_Xlib.a
+INTERP    = $(LIBDIR)/interp.a
+
+.f.o: ; $(COMPILF) $(INCF) $(OPTF) -c $*.f
+.c.o: ; $(COMPILC) $(INCC) $(OPTC) -D$(LANGUAGE) -c $*.c
diff -U 3 -dHrN -- xd3d-8.2.0-orig/RULES.icc xd3d-8.2.0/RULES.icc
--- xd3d-8.2.0-orig/RULES.icc	1970-01-01 01:00:00.000000000 +0100
+++ xd3d-8.2.0/RULES.icc	2004-05-09 02:28:40.138499200 +0200
@@ -0,0 +1,81 @@
+#--------------------------------------------------------
+# Configuration file for the Makefiles of xd3d          |
+# Fran�ois Jouve 2003 (Francois.Jouve@Polytechnique.fr) |
+#--------------------------------------------------------
+
+#
+# Modifiable parameters
+#
+
+#
+# Root directory of the distribution
+#
+#XD3D_DIR = $(HOME)/xd3d-8.1.0
+XD3D_DIR = Please_Configure
+
+#
+# Install directory
+#
+#INSTALL_DIR = /usr/local/bin
+INSTALL_DIR = ##D##/usr/bin
+
+#
+# Location of the X11 lib (libX11.a)
+#
+#LIBX11 = /usr/X11R6/lib
+LIBX11 = /usr/X11R6/lib
+
+#
+# Language parameter
+#
+#LANGUAGE = FRANCAIS
+#LANGUAGE = ENGLISH
+LANGUAGE = ENGLISH
+
+#
+# Max memory for xd3d (MBytes)
+#
+#MEMORY_XD3D = 64
+MEMORY_XD3D = 64
+
+#
+# Fortran compiler
+#
+COMPILF = ifort
+
+#
+# C compiler
+#
+COMPILC = icc
+RANLIB  = ranlib
+AR      = xiar r
+STRIP   = strip $@
+
+#
+# Options for the Fortran compiler
+#
+OPTF = -O3 -axWNBKP -ipo
+#
+# Options for the C compiler
+#
+OPTC = -O3 -axWNBKP -ipo
+
+#-----------------------------------------------
+# You should not need to change anything below !
+#-----------------------------------------------
+
+SRCDIR = $(XD3D_DIR)/src
+BINDIR = $(XD3D_DIR)/bin
+LIBDIR = $(XD3D_DIR)/lib
+INCF   = -I$(XD3D_DIR)/src/include
+INCC   = -I$(LIBX11)/../include
+
+LINK      = $(COMPILF) $(OPTF) -o
+LINKOPT   = -lc -lm
+LINKOPTX  = -L$(LIBX11) -lX11 -lXpm -lc -lm
+LIBRAIRIE = $(LIBDIR)/question_lib.a
+MYXLIB    = $(LIBDIR)/my_Xlib.a
+INTERP    = $(LIBDIR)/interp.a
+
+.f.o: ; $(COMPILF) $(INCF) $(OPTF) -c $*.f
+.c.o: ; $(COMPILC) $(INCC) $(OPTC) -D$(LANGUAGE) -c $*.c