Changeset 5d28a19


Ignore:
Timestamp:
Jun 30, 2016, 5:12:03 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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:
8cc9e18
Parents:
ea29e73
Message:

libcfa now compiles generic vector class

Location:
src/libcfa
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/Makefile.am

    rea29e73 r5d28a19  
    5353CC = ${abs_top_srcdir}/src/driver/cfa
    5454
    55 headers = limits stdlib math iostream fstream iterator rational
     55headers = limits stdlib math iostream fstream iterator rational containers/vector
    5656libobjs = ${headers:=.o}
    5757
  • src/libcfa/Makefile.in

    rea29e73 r5d28a19  
    9191am__objects_1 = limits.$(OBJEXT) stdlib.$(OBJEXT) math.$(OBJEXT) \
    9292        iostream.$(OBJEXT) fstream.$(OBJEXT) iterator.$(OBJEXT) \
    93         rational.$(OBJEXT)
     93        rational.$(OBJEXT) vector.$(OBJEXT)
    9494am_libcfa_a_OBJECTS = libcfa-prelude.$(OBJEXT) $(am__objects_1)
    9595libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS)
     
    9898am__depfiles_maybe = depfiles
    9999am__mv = mv -f
     100AM_V_lt = $(am__v_lt_@AM_V@)
     101am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
     102am__v_lt_0 = --silent
    100103COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    101104        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    230233MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} \
    231234        ${addprefix ${libdir}/,${lib_LIBRARIES}} ${includedir}/*
    232 headers = limits stdlib math iostream fstream iterator rational
     235headers = limits stdlib math iostream fstream iterator rational containers/vector
    233236libobjs = ${headers:=.o}
    234237libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c}
     
    318321@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rational.Po@am__quote@
    319322@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stdlib.Po@am__quote@
     323@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@
    320324
    321325.c.o:
     
    332336@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    333337@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
     338
     339vector.o: containers/vector.c
     340@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
     341@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/vector.Tpo $(DEPDIR)/vector.Po
     342@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='containers/vector.c' object='vector.o' libtool=no @AMDEPBACKSLASH@
     343@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     344@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
     345
     346vector.obj: containers/vector.c
     347@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`
     348@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/vector.Tpo $(DEPDIR)/vector.Po
     349@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='containers/vector.c' object='vector.obj' libtool=no @AMDEPBACKSLASH@
     350@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     351@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`
    334352install-cfalibDATA: $(cfalib_DATA)
    335353        @$(NORMAL_INSTALL)
  • src/libcfa/containers/vector.c

    rea29e73 r5d28a19  
    1 #include "vector.h"
     1#include <containers/vector>
    22
    33#include <stdlib>
Note: See TracChangeset for help on using the changeset viewer.