Changeset 5cb5f842
- Timestamp:
- May 31, 2015, 2:19:43 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 56c3935
- Parents:
- 00cc023
- Location:
- src/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/Makefile.am
r00cc023 r5cb5f842 11 11 ## Created On : Sun May 31 09:08:15 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Sun May 31 1 2:32:19201514 ## Update Count : 1713 ## Last Modified On : Sun May 31 14:16:58 2015 14 ## Update Count : 21 15 15 ############################################################################### 16 16 17 17 # create object files in directory with source files 18 AUTOMAKE_OPTIONS = subdir-objects18 #AUTOMAKE_OPTIONS = subdir-objects 19 19 20 20 # applies to both programs 21 AM_CFLAGS = -g -Wall -Wno-unused-function #does not build with -O221 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2 22 22 CC = @CFA_BINDIR@/cfa 23 # TEMPORARY: replace COMPILE to remove CFLAGS containing -O224 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) # $(CFLAGS)25 23 26 24 noinst_PROGRAMS = fstream_test vector_test 27 fstream_test_SOURCES = ${srcdir}/iostream.c ${srcdir}/fstream.c ${srcdir}/fstream_test.c28 vector_test_SOURCES = ${srcdir}/vector_int.c ${srcdir}/fstream.c ${srcdir}/iostream.c ${srcdir}/array.c ${srcdir}/iterator.c ${srcdir}/vector_test.c25 fstream_test_SOURCES = iostream.c fstream.c fstream_test.c 26 vector_test_SOURCES = vector_int.c fstream.c iostream.c array.c iterator.c vector_test.c -
src/examples/Makefile.in
r00cc023 r5cb5f842 18 18 ######################## -*- Mode: Makefile-Automake -*- ###################### 19 19 ############################################################################### 20 21 # create object files in directory with source files 22 #AUTOMAKE_OPTIONS = subdir-objects 20 23 21 24 VPATH = @srcdir@ … … 48 51 CONFIG_CLEAN_VPATH_FILES = 49 52 PROGRAMS = $(noinst_PROGRAMS) 50 am__dirstamp = $(am__leading_dot)dirstamp 51 am_fstream_test_OBJECTS = ${srcdir}/iostream.$(OBJEXT) \ 52 ${srcdir}/fstream.$(OBJEXT) ${srcdir}/fstream_test.$(OBJEXT) 53 am_fstream_test_OBJECTS = iostream.$(OBJEXT) fstream.$(OBJEXT) \ 54 fstream_test.$(OBJEXT) 53 55 fstream_test_OBJECTS = $(am_fstream_test_OBJECTS) 54 56 fstream_test_LDADD = $(LDADD) 55 am_vector_test_OBJECTS = ${srcdir}/vector_int.$(OBJEXT) \ 56 ${srcdir}/fstream.$(OBJEXT) ${srcdir}/iostream.$(OBJEXT) \ 57 ${srcdir}/array.$(OBJEXT) ${srcdir}/iterator.$(OBJEXT) \ 58 ${srcdir}/vector_test.$(OBJEXT) 57 am_vector_test_OBJECTS = vector_int.$(OBJEXT) fstream.$(OBJEXT) \ 58 iostream.$(OBJEXT) array.$(OBJEXT) iterator.$(OBJEXT) \ 59 vector_test.$(OBJEXT) 59 60 vector_test_OBJECTS = $(am_vector_test_OBJECTS) 60 61 vector_test_LDADD = $(LDADD) … … 63 64 am__depfiles_maybe = depfiles 64 65 am__mv = mv -f 66 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 67 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 65 68 CCLD = $(CC) 66 69 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ … … 84 87 CFA_LIBDIR = @CFA_LIBDIR@ 85 88 CFA_PREFIX = @CFA_PREFIX@ 86 CFLAGS = @CFLAGS@ 89 90 # applies to both programs 91 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2 87 92 CPP = @CPP@ 88 93 CPPFLAGS = @CPPFLAGS@ … … 169 174 top_builddir = @top_builddir@ 170 175 top_srcdir = @top_srcdir@ 171 172 # create object files in directory with source files 173 AUTOMAKE_OPTIONS = subdir-objects 174 175 # applies to both programs 176 AM_CFLAGS = -g -Wall -Wno-unused-function # does not build with -O2 177 # TEMPORARY: replace COMPILE to remove CFLAGS containing -O2 178 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) # $(CFLAGS) 179 fstream_test_SOURCES = ${srcdir}/iostream.c ${srcdir}/fstream.c ${srcdir}/fstream_test.c 180 vector_test_SOURCES = ${srcdir}/vector_int.c ${srcdir}/fstream.c ${srcdir}/iostream.c ${srcdir}/array.c ${srcdir}/iterator.c ${srcdir}/vector_test.c 176 fstream_test_SOURCES = iostream.c fstream.c fstream_test.c 177 vector_test_SOURCES = vector_int.c fstream.c iostream.c array.c iterator.c vector_test.c 181 178 all: all-am 182 179 … … 216 213 clean-noinstPROGRAMS: 217 214 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 218 ${srcdir}/$(am__dirstamp):219 @$(MKDIR_P) ${srcdir}220 @: > ${srcdir}/$(am__dirstamp)221 ${srcdir}/$(DEPDIR)/$(am__dirstamp):222 @$(MKDIR_P) ${srcdir}/$(DEPDIR)223 @: > ${srcdir}/$(DEPDIR)/$(am__dirstamp)224 ${srcdir}/iostream.$(OBJEXT): ${srcdir}/$(am__dirstamp) \225 ${srcdir}/$(DEPDIR)/$(am__dirstamp)226 ${srcdir}/fstream.$(OBJEXT): ${srcdir}/$(am__dirstamp) \227 ${srcdir}/$(DEPDIR)/$(am__dirstamp)228 ${srcdir}/fstream_test.$(OBJEXT): ${srcdir}/$(am__dirstamp) \229 ${srcdir}/$(DEPDIR)/$(am__dirstamp)230 215 fstream_test$(EXEEXT): $(fstream_test_OBJECTS) $(fstream_test_DEPENDENCIES) $(EXTRA_fstream_test_DEPENDENCIES) 231 216 @rm -f fstream_test$(EXEEXT) 232 217 $(LINK) $(fstream_test_OBJECTS) $(fstream_test_LDADD) $(LIBS) 233 ${srcdir}/vector_int.$(OBJEXT): ${srcdir}/$(am__dirstamp) \234 ${srcdir}/$(DEPDIR)/$(am__dirstamp)235 ${srcdir}/array.$(OBJEXT): ${srcdir}/$(am__dirstamp) \236 ${srcdir}/$(DEPDIR)/$(am__dirstamp)237 ${srcdir}/iterator.$(OBJEXT): ${srcdir}/$(am__dirstamp) \238 ${srcdir}/$(DEPDIR)/$(am__dirstamp)239 ${srcdir}/vector_test.$(OBJEXT): ${srcdir}/$(am__dirstamp) \240 ${srcdir}/$(DEPDIR)/$(am__dirstamp)241 218 vector_test$(EXEEXT): $(vector_test_OBJECTS) $(vector_test_DEPENDENCIES) $(EXTRA_vector_test_DEPENDENCIES) 242 219 @rm -f vector_test$(EXEEXT) … … 245 222 mostlyclean-compile: 246 223 -rm -f *.$(OBJEXT) 247 -rm -f ${srcdir}/array.$(OBJEXT)248 -rm -f ${srcdir}/fstream.$(OBJEXT)249 -rm -f ${srcdir}/fstream_test.$(OBJEXT)250 -rm -f ${srcdir}/iostream.$(OBJEXT)251 -rm -f ${srcdir}/iterator.$(OBJEXT)252 -rm -f ${srcdir}/vector_int.$(OBJEXT)253 -rm -f ${srcdir}/vector_test.$(OBJEXT)254 224 255 225 distclean-compile: 256 226 -rm -f *.tab.c 257 227 258 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/array.Po@am__quote@259 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/fstream.Po@am__quote@260 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/fstream_test.Po@am__quote@261 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/iostream.Po@am__quote@262 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/iterator.Po@am__quote@263 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/vector_int.Po@am__quote@264 @AMDEP_TRUE@@am__include@ @am__quote@ ${srcdir}/$(DEPDIR)/vector_test.Po@am__quote@228 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 229 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream.Po@am__quote@ 230 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream_test.Po@am__quote@ 231 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iostream.Po@am__quote@ 232 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iterator.Po@am__quote@ 233 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector_int.Po@am__quote@ 234 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector_test.Po@am__quote@ 265 235 266 236 .c.o: 267 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 268 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 269 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 237 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 238 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 270 239 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 271 240 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 272 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@$<241 @am__fastdepCC_FALSE@ $(COMPILE) -c $< 273 242 274 243 .c.obj: 275 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 276 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 277 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 244 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 245 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 278 246 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 279 247 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 280 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@`$(CYGPATH_W) '$<'`248 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 281 249 282 250 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 392 360 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 393 361 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 394 -rm -f ${srcdir}/$(DEPDIR)/$(am__dirstamp)395 -rm -f ${srcdir}/$(am__dirstamp)396 362 397 363 maintainer-clean-generic: … … 403 369 404 370 distclean: distclean-am 405 -rm -rf ${srcdir}/$(DEPDIR)371 -rm -rf ./$(DEPDIR) 406 372 -rm -f Makefile 407 373 distclean-am: clean-am distclean-compile distclean-generic \ … … 449 415 450 416 maintainer-clean: maintainer-clean-am 451 -rm -rf ${srcdir}/$(DEPDIR)417 -rm -rf ./$(DEPDIR) 452 418 -rm -f Makefile 453 419 maintainer-clean-am: distclean-am maintainer-clean-generic
Note: See TracChangeset
for help on using the changeset viewer.