comparison src/m/ibmrs6000.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children e45d5e7c476e
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
35 #ifdef USG5_4 35 #ifdef USG5_4
36 #define CANNOT_DUMP 36 #define CANNOT_DUMP
37 #endif 37 #endif
38 38
39 #ifndef UNEXEC 39 #ifndef UNEXEC
40 #define UNEXEC unexaix.o 40 #define UNEXEC "unexaix.o"
41 #endif 41 #endif
42 42
43 /* Define addresses, macros, change some setup for dump */ 43 /* Define addresses, macros, change some setup for dump */
44 44
45 #define NO_REMAP 45 #define NO_REMAP
102 #define X_DEFAULT_FONT "fixed" 102 #define X_DEFAULT_FONT "fixed"
103 103
104 /* Here override various assumptions in ymakefile */ 104 /* Here override various assumptions in ymakefile */
105 105
106 #ifdef AIXHFT 106 #ifdef AIXHFT
107 #define OBJECTS_MACHINE hftctl.o 107 #define OBJECTS_MACHINE "hftctl.o"
108 #endif 108 #endif
109 109
110 #ifndef USG5_4 110 #ifndef USG5_4
111 /* XEmacs change -- commented out: dkeller@vnet.ibm.com */ 111 /* XEmacs change -- commented out: dkeller@vnet.ibm.com */
112 /* #define C_SWITCH_MACHINE -D_BSD */ 112 /* #define C_SWITCH_MACHINE -D_BSD */
114 114
115 #ifdef AIX3_2 115 #ifdef AIX3_2
116 /* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless 116 /* -lpthreads seems to be necessary for Xlib in X11R6, and should be harmless
117 on older versions of X where it happens to exist. */ 117 on older versions of X where it happens to exist. */
118 #ifdef HAVE_LIBPTHREADS 118 #ifdef HAVE_LIBPTHREADS
119 #define LIBS_MACHINE -lrts -lIM -liconv -lpthreads 119 #define LIBS_MACHINE "-lrts -lIM -liconv -lpthreads"
120 #else 120 #else
121 /* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */ 121 /* IBM's X11R5 use -lIM and -liconv in AIX 3.2.2. */
122 #define LIBS_MACHINE -lrts -lIM -liconv 122 #define LIBS_MACHINE "-lrts -lIM -liconv"
123 #endif 123 #endif
124 #else 124 #else
125 #ifdef USG5_4 125 #ifdef USG5_4
126 #define LIBS_MACHINE 126 #define LIBS_MACHINE
127 #else 127 #else
128 #define LIBS_MACHINE -lIM 128 #define LIBS_MACHINE "-lIM"
129 #endif 129 #endif
130 #endif 130 #endif
131 131
132 #define START_FILES 132 #define START_FILES
133 133
147 because .inp is a better convention to use in make-dist for naming 147 because .inp is a better convention to use in make-dist for naming
148 random input files. */ 148 random input files. */
149 /* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */ 149 /* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */
150 #if __GNUC__ == 2 && __GNUC_MINOR__ == 7 150 #if __GNUC__ == 2 && __GNUC_MINOR__ == 7
151 #ifdef AIX_SMT_EXP 151 #ifdef AIX_SMT_EXP
152 #define LD_SWITCH_MACHINE -B/bin/ -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,AIX_SMT_EXP 152 #define LD_SWITCH_MACHINE "-B/bin/ -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,AIX_SMT_EXP"
153 #else 153 #else
154 #define LD_SWITCH_MACHINE -B/bin/ -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp 154 #define LD_SWITCH_MACHINE "-B/bin/ -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp"
155 #endif 155 #endif
156 #else /* not gcc 2.7.x */ 156 #else /* not gcc 2.7.x */
157 #ifdef AIX_SMT_EXP 157 #ifdef AIX_SMT_EXP
158 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,AIX_SMT_EXP 158 #define LD_SWITCH_MACHINE "-Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,AIX_SMT_EXP"
159 #else 159 #else
160 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp 160 #define LD_SWITCH_MACHINE "-Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp"
161 #endif 161 #endif
162 #endif /* __GNUC__ == 2 && __GNUC_MINOR__ == 7 */ 162 #endif /* __GNUC__ == 2 && __GNUC_MINOR__ == 7 */
163 163
164 #endif /* USG5_4 */ 164 #endif /* USG5_4 */