- Timestamp:
- 04/03/06 21:55:07 (3 years ago)
- Files:
-
- 1 modified
-
trunk/m2/m2_macx.r (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/m2/m2_macx.r
r93 r107 5 5 6 6 macx: func [blk] [do blk] 7 8 bundle: does [m2/ct/cfg_bundle: true] 9 universal: does [m2/ct/cfg_universal: true] 7 10 8 11 eol: "^/" … … 92 95 built_obj_rule: none 93 96 97 cfg_bundle: none 98 cfg_universal: none 99 94 100 obj_macro: none 95 101 … … 110 116 if cfg/release [ 111 117 cflags {-O3 -DNDEBUG} 118 ] 119 120 if cfg_universal [ 121 cflags {-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386} 122 lflags {-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386} 112 123 ] 113 124 … … 122 133 ][ 123 134 include_from {/Library/Frameworks/QtCore.framework/Headers} 124 lflags {-framework QtCore} 135 cflags {-F/Library/Frameworks} 136 lflags {-F/Library/Frameworks -framework QtCore} 137 lflags {-framework Carbon} 125 138 do bind cfg/qt in qt-includes 'gui 126 139 ] … … 143 156 libs_from %"$(QTDIR)/lib" {qt} 144 157 ; If Qt is compiled as a static library. 145 lflags {-framework carbon -lz}158 lflags {-framework Carbon -lz} 146 159 ] 147 160 ;[ 148 ; lflags {-bind_at_load -framework QtGui -framework QtCore}149 ; lflags {-framework carbon}161 ; lflags {-bind_at_load -framework QtGui -framework QtCore} 162 ; lflags {-framework Carbon} 150 163 ;] 151 164 ] … … 196 209 { $(} uc {_LIBS)} eol 197 210 ] 211 212 ;if cfg_bundle [ emit {^/# bundle} ] 198 213 ] 199 214 ] … … 209 224 [ 210 225 emit [ eol output_file ": " obj_macro 211 "^/^(tab)ar rc $@ " obj_macro " $(" uppercase name "_LFLAGS)"226 "^/^(tab)ar rc $@ " obj_macro ; " $(" uppercase name "_LFLAGS)" 212 227 "^/^(tab)ranlib $@^/" 213 228 ] … … 249 264 CC = gcc 250 265 CXX = g++ 251 LINK = gcc266 LINK = gcc 252 267 LINK_CXX = g++ 253 268 TAR = tar -cf 254 GZIP = gzip -9f269 GZIP = gzip -9f 255 270 MOC = <moc_exe> 256 271
