diff -ur spooles.2.2.orig/Make.inc spooles.2.2/Make.inc
old
|
new
|
|
12 | 12 | # for solaris |
13 | 13 | # |
14 | 14 | # CC = gcc |
15 | | CC = /usr/lang-4.0/bin/cc |
| 15 | CC = @@CC@@ |
16 | 16 | # |
17 | 17 | # for sgi |
18 | 18 | # |
… |
… |
|
51 | 52 | # |
52 | 53 | # THREAD_LIBS = |
53 | 54 | # THREAD_LIBS = -D_REENTRANT=199506L -lpthread |
54 | | THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread |
55 | | # THREAD_LIBS = -lpthread |
| 55 | # THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread |
| 56 | THREAD_LIBS = -lpthread |
56 | 57 | # |
57 | 58 | #--------------------------------------------------------------------- |
58 | 59 | # |
… |
… |
|
103 | 103 | # MPI install library |
104 | 104 | # |
105 | 105 | # MPI_INSTALL_DIR = |
106 | | MPI_INSTALL_DIR = /usr/local/mpich-1.0.13 |
| 106 | MPI_INSTALL_DIR = @@PREFIX@@ |
107 | 107 | # |
108 | 108 | #--------------------------------------------------------------------- |
109 | 109 | # |
… |
… |
|
115 | 115 | # |
116 | 116 | # for solaris |
117 | 117 | # |
118 | | MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/solaris/ch_p4 |
| 118 | MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/mpich-mp |
119 | 119 | # |
120 | 120 | # for hp |
121 | 121 | # |
… |
… |
|
127 | 127 | # |
128 | 128 | # for solaris |
129 | 129 | # |
130 | | MPI_LIBS = $(MPI_LIB_PATH) -D_REENTRANT -lmpi -lsocket -lnsl -lthread |
| 130 | MPI_LIBS = $(MPI_LIB_PATH) -lpthread |
131 | 131 | # |
132 | 132 | # for sgi |
133 | 133 | # |
… |
… |
|
142 | 142 | # MPI include path |
143 | 143 | # |
144 | 144 | # MPI_INCLUDE_DIR = |
145 | | MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include |
| 145 | MPI_INCLUDE_DIR = -I@@PREFIX@@/include/mpich-mp |
146 | 146 | # |
147 | 147 | #--------------------------------------------------------------------- |