aboutsummaryrefslogtreecommitdiff
path: root/math/goblin/files/patch-Makefile
blob: d914691ea316c7a4ca0b7144646e9b5ff77d8291 (plain) (blame)
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
--- Makefile.orig	Mon Mar 31 19:07:24 2003
+++ Makefile	Mon Mar 31 19:08:45 2003
@@ -26,13 +26,13 @@
 
 # GNU
 
-cpp = g++ -c -g -O5 -Wall -pedantic -Iinclude
+cpp = g++ -c -g -O5 -Wall -pedantic -Iinclude %%CXXFLAGS%%
 # To link with the static library libtcl.*.a
-link = g++ -lm
+link = g++ -lm %%LIBS%%
 # To link with the shared object libtcl.*.so
 # link = g++ -lm -Wl,-brtl -bbigtoc
 # To link shared object
-linkShared = g++ -lm -Wl,-shared
+linkShared = g++ -lm -Wl,-shared %%LIBS%%
 
 # xlC
 
@@ -47,15 +47,15 @@
 
 # Tcl/Tk Release
 
-libtcl = 8.3
-libtk = 8.3
+libtcl = 83
+libtk = 83
 
 
 # System Installation
 
-goblin_include_path = /usr/include
-goblin_lib_path     = /usr/lib
-goblin_bin_path     = /usr/bin
+goblin_include_path = %%PREFIX%%/include
+goblin_lib_path     = %%PREFIX%%/lib
+goblin_bin_path     = %%PREFIX%%/bin
 
 
 #------------------------------------------------------------------------