comparison src/Makefile.in.in @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 84b14dcb0985
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
115 lwlib_deps = $(lwlib_libs) 115 lwlib_deps = $(lwlib_libs)
116 $(lwlib_libs) : 116 $(lwlib_libs) :
117 cd ../lwlib && $(RECURSIVE_MAKE) 117 cd ../lwlib && $(RECURSIVE_MAKE)
118 118
119 x_objs=balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o\ 119 x_objs=balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o\
120 glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o 120 glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o
121 121
122 #ifdef AIX4 122 #ifdef AIX4
123 LIBI18N = -li18n 123 LIBI18N = -li18n
124 #endif /* AIX4 */ 124 #endif /* AIX4 */
125 125
234 # ifdef USE_GCC 234 # ifdef USE_GCC
235 # ifdef USG5 235 # ifdef USG5
236 # define EXTW_LINK(objs, output) $(CC) -shared objs -Xlinker -z -Xlinker text -o output 236 # define EXTW_LINK(objs, output) $(CC) -shared objs -Xlinker -z -Xlinker text -o output
237 extw_link_beg = $(CC) -shared 237 extw_link_beg = $(CC) -shared
238 extw_link_mid = -Xlinker -z -Xlinker text -o 238 extw_link_mid = -Xlinker -z -Xlinker text -o
239 extw_link_end = 239 extw_link_end =
240 ## I cannot figure out how to do shared a.out libraries, so just punt. 240 ## I cannot figure out how to do shared a.out libraries, so just punt.
241 # elif !defined (LINUX) || defined (__ELF__) 241 # elif !defined (LINUX) || defined (__ELF__)
242 # define EXTW_LINK(objs, output) $(CC) -shared objs -o output 242 # define EXTW_LINK(objs, output) $(CC) -shared objs -o output
243 extw_link_beg = $(CC) -shared 243 extw_link_beg = $(CC) -shared
244 extw_link_mid = -o 244 extw_link_mid = -o
245 extw_link_end = 245 extw_link_end =
246 # endif 246 # endif
247 # elif defined (USG5) 247 # elif defined (USG5)
248 # if defined (IRIX) 248 # if defined (IRIX)
249 # define EXTW_LINK(objs, output) $(LD) -shared -g -check_registry ${TOOLROOT}/usr/lib/so_locations objs -o output 249 # define EXTW_LINK(objs, output) $(LD) -shared -g -check_registry ${TOOLROOT}/usr/lib/so_locations objs -o output
250 extw_link_beg = $(LD) -shared -g -check_registry ${TOOLROOT}/usr/lib/so_locations 250 extw_link_beg = $(LD) -shared -g -check_registry ${TOOLROOT}/usr/lib/so_locations
251 extw_link_mid = -o 251 extw_link_mid = -o
252 extw_link_end = 252 extw_link_end =
253 # else /* not IRIX */ 253 # else /* not IRIX */
254 # define EXTW_LINK(objs, output) $(CC) -G objs -z text -o output 254 # define EXTW_LINK(objs, output) $(CC) -G objs -z text -o output
255 extw_link_beg = $(CC) -G 255 extw_link_beg = $(CC) -G
256 extw_link_mid = -z text -o 256 extw_link_mid = -z text -o
257 extw_link_end = 257 extw_link_end =
258 # endif /* not IRIX */ 258 # endif /* not IRIX */
259 # else /* not USG5 */ 259 # else /* not USG5 */
260 # if defined (DEC_ALPHA) && defined (OSF1) 260 # if defined (DEC_ALPHA) && defined (OSF1)
261 # define EXTW_LINK(objs, output) $(LD) $(ldflags) $(ld_switch_shared) -d objs -o output $(LIBES) 261 # define EXTW_LINK(objs, output) $(LD) $(ldflags) $(ld_switch_shared) -d objs -o output $(LIBES)
262 extw_link_beg = $(LD) $(ldflags) $(ld_switch_shared) -d 262 extw_link_beg = $(LD) $(ldflags) $(ld_switch_shared) -d
263 extw_link_mid = -o 263 extw_link_mid = -o
264 extw_link_end = $(LIBES) 264 extw_link_end = $(LIBES)
265 # else /* !(DEC_ALPHA && OSF1) */ 265 # else /* !(DEC_ALPHA && OSF1) */
266 # define EXTW_LINK(objs, output) $(LD) -dc objs -assert pure-text -o output 266 # define EXTW_LINK(objs, output) $(LD) -dc objs -assert pure-text -o output
267 extw_link_beg = $(LD) -dc 267 extw_link_beg = $(LD) -dc
268 extw_link_mid = -assert pure-text -o 268 extw_link_mid = -assert pure-text -o
269 extw_link_end = 269 extw_link_end =
270 # endif /* !(DEC_ALPHA && OSF1) */ 270 # endif /* !(DEC_ALPHA && OSF1) */
271 # endif /* not USG5 */ 271 # endif /* not USG5 */
272 272
273 # ifdef LWLIB_USES_MOTIF 273 # ifdef LWLIB_USES_MOTIF
274 # ifdef EXTW_LINK 274 # ifdef EXTW_LINK
349 ./${PROGNAME} -batch -vanilla -f list-load-path-shadows; fi; \ 349 ./${PROGNAME} -batch -vanilla -f list-load-path-shadows; fi; \
350 $(RM) SATISFIED; exit 0; fi; \ 350 $(RM) SATISFIED; exit 0; fi; \
351 if test -f SATISFIED; then $(RM) SATISFIED; exit 1; fi; \ 351 if test -f SATISFIED; then $(RM) SATISFIED; exit 1; fi; \
352 $(RECURSIVE_MAKE) $@; 352 $(RECURSIVE_MAKE) $@;
353 #else 353 #else
354 @$(RM) $@ 354 @$(RM) $@ xemacs.dmp
355 -${dump_temacs} 355 ${dump_temacs}
356 #ifdef PDUMP
357 @mv temacs $@
358 #endif
356 @echo "Testing for Lisp shadows ..." 359 @echo "Testing for Lisp shadows ..."
357 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows 360 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows
358 #endif 361 #endif
359 362
360 fastdump: temacs 363 fastdump: temacs
361 @$(RM) ${PROGNAME} && touch SATISFIED 364 @$(RM) ${PROGNAME} && touch SATISFIED
362 -${dump_temacs} 365 -${dump_temacs}
363 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows 366 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows
364 367
365 FRC.update-elc.stamp : 368 FRC.update-elc.stamp :
449 ${start_flags} ${ldflags}\ 452 ${start_flags} ${ldflags}\
450 -o $@ ${start_files} ${objs} ${otherobjs} ${LIBES} 453 -o $@ ${start_files} ${objs} ${otherobjs} ${LIBES}
451 454
452 temacs: $(temacs_deps) 455 temacs: $(temacs_deps)
453 $(LD) $(temacs_link_args) 456 $(LD) $(temacs_link_args)
457 #ifdef PDUMP
458 @$(RM) xemacs.dmp
459 #endif
454 460
455 .PHONY : run-temacs 461 .PHONY : run-temacs
456 462
457 run-temacs: temacs 463 run-temacs: temacs
458 -${run_temacs} 464 -${run_temacs}
499 ## Purify, Quantify, PureCoverage are software quality products from 505 ## Purify, Quantify, PureCoverage are software quality products from
500 ## Rational, formerly Pure Atria, formerly Pure Software. 506 ## Rational, formerly Pure Atria, formerly Pure Software.
501 ## 507 ##
502 ## Purify 508 ## Purify
503 PURIFY_PROG = purify 509 PURIFY_PROG = purify
504 PURIFY_FLAGS = -chain-length=32 -ignore-signals=SIGPOLL -threads=yes \ 510 PURIFY_FLAGS =\
511 #ifdef PDUMP
512 -search-mmaps=yes\
513 #endif
514 -chain-length=32 -ignore-signals=SIGPOLL -threads=yes\
505 -cache-dir=./purecache -always-use-cache-dir=yes 515 -cache-dir=./purecache -always-use-cache-dir=yes
516
506 PURIFY_LIBS = -lpthread 517 PURIFY_LIBS = -lpthread
507 puremacs: $(temacs_deps) 518 puremacs: $(temacs_deps)
508 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args) $(PURIFY_LIBS) 519 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args) $(PURIFY_LIBS)
509 cp $@ temacs 520 cp $@ temacs
510 521