Changeset a90dc0 in git for omalloc/Makefile.in


Ignore:
Timestamp:
Aug 21, 2001, 3:59:32 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
28ffaa839e0746a838155fb491e13df051251c68
Parents:
22e3fe8c4a103f035dea126cdb127a25a03aebce
Message:
* hannes: code cleanup wrt. *limits.h


git-svn-id: file:///usr/local/Singular/svn/trunk@5594 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/Makefile.in

    r22e3fe8 ra90dc0  
    44### Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55### Created: 11/99
    6 ### Version: $Id: Makefile.in,v 1.11 2001-04-30 09:01:57 Singular Exp $
     6### Version: $Id: Makefile.in,v 1.12 2001-08-21 13:59:30 Singular Exp $
    77#################################################################
    88
     
    7676ASO_SOURCES =
    7777
    78 HEADERS=        mylimits.h                                      \
     78HEADERS=               mylimits.h             omlimits.h \
    7979om_Alloc.h             omList.h               omDerivedConfig.h \
    8080omAllocDecl.h          omConfig.h             omMemOps.h        \
     
    9696
    9797DISTFILES=$(SOURCES) $(HEADERS) omtTest.h makeheader.pl Makefile.in \
    98            omConfig.h.in mylimits.h configure.in mkinstalldirs install-sh configure
     98           omConfig.h.in omlimits.h.in mylimits.h configure.in mkinstalldirs install-sh configure
    9999
    100100##
    101101## Build Targets
    102102##
    103 %.o: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc
     103%.o: %.c omConfig.h omlimits.h omTables.h omalloc.h omTables.inc
    104104        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<
    105105
    106 %.o_ndebug: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc
     106%.o_ndebug: %.c omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc
    107107        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_NDEBUG -c $< -o $@
    108108
     
    118118lib: libomalloc.a
    119119
    120 libomalloc.a: $(OBJS) Makefile omConfig.h mylimits.h
     120libomalloc.a: $(OBJS) Makefile omConfig.h omlimits.h mylimits.h
    121121        rm -f $@
    122122        $(AR) cr $@ $(OBJS)
    123123        $(RANLIB) $@
    124124
    125 libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h mylimits.h
     125libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h omlimits.h mylimits.h
    126126        rm -f $@
    127127        $(AR) cr $@ $(OBJS_NDEBUG)
     
    143143        ./omTables 1 >$@
    144144
    145 omTables: omAllocPrivate.h omConfig.h omTables.c mylimits.h
     145omTables: omAllocPrivate.h omConfig.h omTables.c omlimits.h mylimits.h
    146146        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_GENERATE_INC omTables.c -o omTables
    147147
     
    169169# configure related stuff
    170170#
    171 omConfig.h omMalloc.h mylimits.h: stamp-h
    172 
    173 stamp-h : config.status omConfig.h.in mylimits.h.in ${OM_MALLOC_HEADER}
    174         CONFIG_FILES= CONFIG_HEADERS="omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status
     171omConfig.h omMalloc.h omlimits.h mylimits.h: stamp-h
     172
     173stamp-h : config.status omConfig.h.in omlimits.h.in ${OM_MALLOC_HEADER}
     174        CONFIG_FILES= CONFIG_HEADERS="omConfig.h omlimits.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status
    175175
    176176Makefile: Makefile.in config.status
     
    199199        $(INSTALL_DATA) omalloc.o omalloc_debug.o $(libdir)
    200200        $(INSTALL_DATA) omalloc.h omalloc.c $(includedir)
    201         $(INSTALL_DATA) mylimits.h omalloc.c $(includedir)
     201        $(INSTALL_DATA) omlimits.h mylimits.h omalloc.c $(includedir)
    202202
    203203
     
    229229        -rm -f  *~ .\#*  stamp-h configure omMalloc.h
    230230        rm -rf omalloc-$(VERSION)
    231         -rm -f omConfig.h mylimits.h Makefile TAGS* tags config.status config.cache config.log
     231        -rm -f omConfig.h omlimits.h Makefile TAGS* tags config.status config.cache config.log
    232232
    233233srcclean: distclean
     
    238238.PHONY: TAGS
    239239
    240 TAGS:   omConfig.h.in mylimits.h.in
    241         etags omConfig.h.in mylimits.h.in $(SOURCES) $(HEADERS)
     240TAGS:   omConfig.h.in omlimits.h.in
     241        etags omConfig.h.in omlimits.h.in $(SOURCES) $(HEADERS)
    242242
    243243##
     
    265265OBJG := $(CSOURCES:.c=.og) $(GSOURCES:.c=.og)
    266266
    267 %.og: %.c omConfig.h omTables.h omalloc.h mylimits.h
     267%.og: %.c omConfig.h omTables.h omalloc.h mylimits.h omlimits.h
    268268        $(CCG) ${CFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@
    269269
    270270libg: libomalloc_g.a
    271271
    272 libomalloc_g.a: $(OBJG) Makefile omConfig.h mylimits.h
     272libomalloc_g.a: $(OBJG) Makefile omConfig.h mylimits.h omlimits.h
    273273        rm -f $@
    274274        $(AR) cr $@ $(OBJG)
     
    281281OBJD := $(CSOURCES:%.c=%_d.og) $(GSOURCES:%.c=%_d.og)
    282282
    283 %_d.c : %.c omConfig.h omTables.h omalloc.h mylimits.h
     283%_d.c : %.c omConfig.h omTables.h omalloc.h mylimits.h omlimits.h
    284284        $(CCG) -E -P $< | $(PERL) -p -e 's/;/;\n/g' | $(PERL) -p -e 's/\{/\n\{/g' | $(PERL) -p -e 's/\}/\n\}/g' > $@
    285285.PRECIOUS: %_d.c
     
    287287libd: libomalloc_d.a
    288288
    289 libomalloc_d.a: $(OBJD) Makefile omConfig.h mylimits.h
     289libomalloc_d.a: $(OBJD) Makefile omConfig.h mylimits.h omlimits.h
    290290        rm -f $@
    291291        $(AR) cr $@ $(OBJD)
     
    307307## Profile Targets
    308308##
    309 %.op: %.c omConfig.h omTables.h omalloc.h mylimits.h
     309%.op: %.c omConfig.h omTables.h omalloc.h mylimits.h omlimits.h
    310310        $(CCP) ${CFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@
    311311
    312312libp: libomalloc_p.a
    313313
    314 libomalloc_p.a: $(OBJP) Makefile omConfig.h mylimits.h
     314libomalloc_p.a: $(OBJP) Makefile omConfig.h mylimits.h omlimits.h
    315315        rm -f $@
    316316        $(AR) cr $@ $(OBJP)
     
    335335## Profile Targets
    336336##
    337 %.ob: %.c omConfig.h omTables.h omalloc.h mylimits.h
     337%.ob: %.c omConfig.h omTables.h omalloc.h mylimits.h omlimits.h
    338338        $(CCB) ${CFLAGSB} ${CPPFLAGS} ${DEFSB} -c $< -o $@
    339339
    340340libb: libomalloc_b.a
    341341
    342 libomalloc_b.a: $(OBJB) Makefile omConfig.h mylimits.h
     342libomalloc_b.a: $(OBJB) Makefile omConfig.h mylimits.h omlimits.h
    343343        rm -f $@
    344344        $(AR) cr $@ $(OBJB)
     
    390390## Dependencies
    391391##
    392 %.d: %.c omConfig.h mylimits.h Makefile omTables.h omTables.inc omalloc.h
     392%.d: %.c omConfig.h mylimits.h Makefile omTables.h omTables.inc omalloc.h omlimits.h
    393393        echo $(@:.d=.o_ndebug) $(@:.d=.og) $(@:.d=.od)  $(@:.d=.op) $(@:.d=.ob) $(@:.d=_d.c) $(@:.d=.om)" " \\ > $@
    394394        $(CCM) ${CPPFLAGS} ${DEFSG} $< >> $@
    395395
    396 depend:   $(CSOURCES:.c=.d) omConfig.h mylimits.h $(TESTSOURCES:.c=.d)
     396depend:   $(CSOURCES:.c=.d) omConfig.h omlimits.h mylimits.h $(TESTSOURCES:.c=.d)
    397397        cat *.d >depend
    398398
Note: See TracChangeset for help on using the changeset viewer.