- Timestamp:
- Jun 14, 2006, 4:39:00 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 15a33ff810fc3a4a78e892d7df7a80a98f88df55
- Parents:
- 6566d6cff271338620f4d9454adcc6306f70f4e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/Makefile.in
r6566d6 rebdf1d 4 4 ### Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 ### Created: 11/99 6 ### Version: $Id: Makefile.in,v 1.1 8 2006-05-03 14:44:44Singular Exp $6 ### Version: $Id: Makefile.in,v 1.19 2006-06-14 14:39:00 Singular Exp $ 7 7 ################################################################# 8 8 … … 228 228 ## 229 229 mostlyclean: 230 -rm -f core *.d *.o *.og *.op *_d.c *. ob *.a depend *.out *.tgz omTables *.o_ndebug *.gp *.gprof230 -rm -f core *.d *.o *.og *.op *_d.c *.a depend *.out *.tgz omTables *.o_ndebug *.gp *.gprof 231 231 -rm -f omtTest omtTest_* libomalloc* *.bprof omtTest omtTest_* 232 232 -rm -f omMalloc.c omExternalConfig.h omExternalConfig.c … … 265 265 ## 266 266 267 CCG = gcc267 CCG = ${CC} 268 268 CCM = gcc -MM -DGENERATE_DEPEND 269 269 … … 304 304 ## 305 305 306 CCP = gcc306 CCP = ${CC} 307 307 308 308 CFLAGSP = -g -pg -O3 … … 323 323 rm -f $@ 324 324 $(AR) cr $@ $(OBJP) 325 $(RANLIB) $@326 327 ####################################################328 ## compiler and linker options for bprof version329 ##330 331 CCB = gcc332 333 CFLAGSB = -g -O3334 DEFSB = @DEFS@335 336 ##337 ## .og files for having -O and -g object versions available at the same time338 ##339 OBJB := $(CSOURCES:.c=.ob) $(GSOURCES:.c=.ob)340 341 342 ##343 ## Profile Targets344 ##345 %.ob: %.c omConfig.h omTables.h omalloc.h mylimits.h omlimits.h346 $(CCB) ${CFLAGSB} ${CPPFLAGS} ${DEFSB} -c $< -o $@347 348 libb: libomalloc_b.a349 350 libomalloc_b.a: $(OBJB) Makefile omConfig.h mylimits.h omlimits.h351 rm -f $@352 $(AR) cr $@ $(OBJB)353 325 $(RANLIB) $@ 354 326 … … 369 341 omtTest_p: libp $(TEST_P) 370 342 $(CCG) ${CFLAGSP} ${CPPFLAGS} ${DEFSP} $(TEST_P) -L. -lomalloc_p -o omtTest_p 371 372 TEST_B := $(TESTSOURCES:.c=.ob)373 omtTest_b: libb $(TEST_B)374 $(CCG) ${CFLAGSB} ${CPPFLAGS} ${DEFSB} $(TEST_B) -L. -lomalloc_b /usr/lib/bmon.o -o omtTest_b375 343 376 344 TEST_O := $(TESTSOURCES:.c=.o) … … 399 367 ## 400 368 %.d: %.c omConfig.h mylimits.h Makefile omTables.h omTables.inc omalloc.h omlimits.h 401 echo $(@:.d=.o_ndebug) $(@:.d=.og) $(@:.d=.od) $(@:.d=.op) $(@:.d= .ob) $(@:.d=_d.c) $(@:.d=.om)" " \\ > $@369 echo $(@:.d=.o_ndebug) $(@:.d=.og) $(@:.d=.od) $(@:.d=.op) $(@:.d=_d.c) $(@:.d=.om)" " \\ > $@ 402 370 $(CCM) ${CPPFLAGS} ${DEFSG} $< >> $@ 403 371
Note: See TracChangeset
for help on using the changeset viewer.