Changeset a922e34


Ignore:
Timestamp:
Jul 5, 2016, 5:16:04 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
f96b061
Parents:
00b7cd3
Message:

have vector object files created in subdirectory

Location:
src/libcfa
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/Makefile.am

    r00b7cd3 ra922e34  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Tue Jul  5 16:49:38 2016
    14 ## Update Count     : 180
     13## Last Modified On : Tue Jul  5 17:10:26 2016
     14## Update Count     : 182
    1515###############################################################################
     16
     17# create object files in directory with source files
     18AUTOMAKE_OPTIONS = subdir-objects
    1619
    1720lib_LIBRARIES = libcfa.a
     
    2124cfalib_DATA = builtins.cf extras.cf prelude.cf
    2225
    23 # create forward declarations for gcc builtins
     26# create extra forward types/declarations to reduce inclusion of library files
    2427extras.cf : extras.regx extras.c
    2528        @BACKEND_CC@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf
    2629
     30# create forward declarations for gcc builtins
    2731builtins.cf : builtins.c
    2832        if [ -e $< ] ; then \
  • src/libcfa/Makefile.in

    r00b7cd3 ra922e34  
    8989libcfa_a_AR = $(AR) $(ARFLAGS)
    9090libcfa_a_LIBADD =
     91am__dirstamp = $(am__leading_dot)dirstamp
    9192am__objects_1 = limits.$(OBJEXT) stdlib.$(OBJEXT) math.$(OBJEXT) \
    9293        iostream.$(OBJEXT) fstream.$(OBJEXT) iterator.$(OBJEXT) \
    93         rational.$(OBJEXT) vector.$(OBJEXT)
     94        rational.$(OBJEXT) containers/vector.$(OBJEXT)
    9495am_libcfa_a_OBJECTS = libcfa-prelude.$(OBJEXT) $(am__objects_1)
    9596libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS)
     
    9899am__depfiles_maybe = depfiles
    99100am__mv = mv -f
    100 AM_V_lt = $(am__v_lt_@AM_V@)
    101 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
    102 am__v_lt_0 = --silent
    103101COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    104102        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    226224top_builddir = @top_builddir@
    227225top_srcdir = @top_srcdir@
     226
     227# create object files in directory with source files
     228AUTOMAKE_OPTIONS = subdir-objects
    228229lib_LIBRARIES = libcfa.a
    229230
     
    301302clean-libLIBRARIES:
    302303        -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
     304containers/$(am__dirstamp):
     305        @$(MKDIR_P) containers
     306        @: > containers/$(am__dirstamp)
     307containers/$(DEPDIR)/$(am__dirstamp):
     308        @$(MKDIR_P) containers/$(DEPDIR)
     309        @: > containers/$(DEPDIR)/$(am__dirstamp)
     310containers/vector.$(OBJEXT): containers/$(am__dirstamp) \
     311        containers/$(DEPDIR)/$(am__dirstamp)
    303312libcfa.a: $(libcfa_a_OBJECTS) $(libcfa_a_DEPENDENCIES) $(EXTRA_libcfa_a_DEPENDENCIES)
    304313        $(AM_V_at)-rm -f libcfa.a
     
    308317mostlyclean-compile:
    309318        -rm -f *.$(OBJEXT)
     319        -rm -f containers/vector.$(OBJEXT)
    310320
    311321distclean-compile:
     
    320330@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rational.Po@am__quote@
    321331@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stdlib.Po@am__quote@
    322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@
     332@AMDEP_TRUE@@am__include@ @am__quote@containers/$(DEPDIR)/vector.Po@am__quote@
    323333
    324334.c.o:
    325 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
    326 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
     335@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     336@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     337@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
    327338@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    328339@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    329 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
     340@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
    330341
    331342.c.obj:
    332 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
    333 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
     343@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
     344@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
     345@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
    334346@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    335347@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    336 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
    337 
    338 vector.o: containers/vector.c
    339 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vector.o -MD -MP -MF $(DEPDIR)/vector.Tpo -c -o vector.o `test -f 'containers/vector.c' || echo '$(srcdir)/'`containers/vector.c
    340 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/vector.Tpo $(DEPDIR)/vector.Po
    341 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='containers/vector.c' object='vector.o' libtool=no @AMDEPBACKSLASH@
    342 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    343 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vector.o `test -f 'containers/vector.c' || echo '$(srcdir)/'`containers/vector.c
    344 
    345 vector.obj: containers/vector.c
    346 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vector.obj -MD -MP -MF $(DEPDIR)/vector.Tpo -c -o vector.obj `if test -f 'containers/vector.c'; then $(CYGPATH_W) 'containers/vector.c'; else $(CYGPATH_W) '$(srcdir)/containers/vector.c'; fi`
    347 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/vector.Tpo $(DEPDIR)/vector.Po
    348 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='containers/vector.c' object='vector.obj' libtool=no @AMDEPBACKSLASH@
    349 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    350 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vector.obj `if test -f 'containers/vector.c'; then $(CYGPATH_W) 'containers/vector.c'; else $(CYGPATH_W) '$(srcdir)/containers/vector.c'; fi`
     348@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    351349install-cfalibDATA: $(cfalib_DATA)
    352350        @$(NORMAL_INSTALL)
     
    505503        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    506504        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
     505        -rm -f containers/$(DEPDIR)/$(am__dirstamp)
     506        -rm -f containers/$(am__dirstamp)
    507507
    508508maintainer-clean-generic:
     
    515515
    516516distclean: distclean-am
    517         -rm -rf ./$(DEPDIR)
     517        -rm -rf ./$(DEPDIR) containers/$(DEPDIR)
    518518        -rm -f Makefile
    519519distclean-am: clean-am distclean-compile distclean-generic \
     
    561561
    562562maintainer-clean: maintainer-clean-am
    563         -rm -rf ./$(DEPDIR)
     563        -rm -rf ./$(DEPDIR) containers/$(DEPDIR)
    564564        -rm -f Makefile
    565565maintainer-clean-am: distclean-am maintainer-clean-generic \
     
    599599
    600600
    601 # create forward declarations for gcc builtins
     601# create extra forward types/declarations to reduce inclusion of library files
    602602extras.cf : extras.regx extras.c
    603603        @BACKEND_CC@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf
    604604
     605# create forward declarations for gcc builtins
    605606builtins.cf : builtins.c
    606607        if [ -e $< ] ; then \
Note: See TracChangeset for help on using the changeset viewer.