lac : diff 11605a71 aff2a491

Branch: master

Commit: 11605a717eceb1d895525934c367bcbf4de9e04d

Author: Gianluca Guida <glguida@tlbflush.org>
Date: Sun Feb 26 14:33:19 UTC 2017
Parent: aff2a491a81feee3906db9e6d04be58495da5bac
Log message:

    Add git_compile.sh and fix autotools

    1: diff --git a/configure.ac b/configure.ac
    2: index 4aa8cdd..e5f0354 100644
    3: --- a/configure.ac
    4: +++ b/configure.ac
    5: @@ -11,7 +11,7 @@ AC_CONFIG_MACRO_DIRS([m4])
    6:  AC_PROG_CC
    7:  
    8:  AC_PATH_PROG([BISON],[bison])
    9: -AX_PROG_BISON_VERSION([3.0], [], [AC_MSG_ERROR([Require bison 3.0 or later])])
   10: +AX_PROG_BISON_VERSION([3.0], [], AC_MSG_ERROR([Require bison 3.0 or later]))
   11:  AC_PROG_YACC
   12:  AM_PROG_LEX
   13:  
   14: diff --git a/git_compile.sh b/git_compile.sh
   15: new file mode 100755
   16: index 0000000..94bab20
   17: --- /dev/null
   18: +++ b/git_compile.sh
   19: @@ -0,0 +1,5 @@
   20: +#!/bin/sh
   21: +touch aclocal.m4
   22: +touch Makefile.in
   23: +./configure
   24: +make
   25: diff --git a/src/repl/Makefile.am b/src/repl/Makefile.am
   26: index 97b9d05..1d56da9 100644
   27: --- a/src/repl/Makefile.am
   28: +++ b/src/repl/Makefile.am
   29: @@ -1,3 +1,4 @@
   30:  bin_PROGRAMS = lac
   31:  lac_SOURCES= lac.c
   32: +lac_CPPFLAGS= -I../lib
   33:  lac_LDADD=../lib/liblac.la
   34: diff --git a/src/repl/Makefile.in b/src/repl/Makefile.in
   35: index 0a128c3..c33668a 100644
   36: --- a/src/repl/Makefile.in
   37: +++ b/src/repl/Makefile.in
   38: @@ -106,7 +106,7 @@ CONFIG_CLEAN_FILES =
   39:  CONFIG_CLEAN_VPATH_FILES =
   40:  am__installdirs = "$(DESTDIR)$(bindir)"
   41:  PROGRAMS = $(bin_PROGRAMS)
   42: -am_lac_OBJECTS = lac.$(OBJEXT)
   43: +am_lac_OBJECTS = lac-lac.$(OBJEXT)
   44:  lac_OBJECTS = $(am_lac_OBJECTS)
   45:  lac_DEPENDENCIES = ../lib/liblac.la
   46:  AM_V_lt = $(am__v_lt_@AM_V@)
   47: @@ -310,6 +310,7 @@ top_build_prefix = @top_build_prefix@
   48:  top_builddir = @top_builddir@
   49:  top_srcdir = @top_srcdir@
   50:  lac_SOURCES = lac.c
   51: +lac_CPPFLAGS = -I../lib
   52:  lac_LDADD = ../lib/liblac.la
   53:  all: all-am
   54:  
   55: @@ -404,7 +405,7 @@ mostlyclean-compile:
   56:  distclean-compile:
   57:  	-rm -f *.tab.c
   58:  
   59: -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lac.Po@am__quote@
   60: +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lac-lac.Po@am__quote@
   61:  
   62:  .c.o:
   63:  @am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
   64: @@ -427,6 +428,20 @@ distclean-compile:
   65:  @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   66:  @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
   67:  
   68: +lac-lac.o: lac.c
   69: +@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lac_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lac-lac.o -MD -MP -MF $(DEPDIR)/lac-lac.Tpo -c -o lac-lac.o `test -f 'lac.c' || echo '$(srcdir)/'`lac.c
   70: +@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lac-lac.Tpo $(DEPDIR)/lac-lac.Po
   71: +@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lac.c' object='lac-lac.o' libtool=no @AMDEPBACKSLASH@
   72: +@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   73: +@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lac_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lac-lac.o `test -f 'lac.c' || echo '$(srcdir)/'`lac.c
   74: +
   75: +lac-lac.obj: lac.c
   76: +@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lac_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lac-lac.obj -MD -MP -MF $(DEPDIR)/lac-lac.Tpo -c -o lac-lac.obj `if test -f 'lac.c'; then $(CYGPATH_W) 'lac.c'; else $(CYGPATH_W) '$(srcdir)/lac.c'; fi`
   77: +@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/lac-lac.Tpo $(DEPDIR)/lac-lac.Po
   78: +@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='lac.c' object='lac-lac.obj' libtool=no @AMDEPBACKSLASH@
   79: +@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
   80: +@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lac_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lac-lac.obj `if test -f 'lac.c'; then $(CYGPATH_W) 'lac.c'; else $(CYGPATH_W) '$(srcdir)/lac.c'; fi`
   81: +
   82:  mostlyclean-libtool:
   83:  	-rm -f *.lo
   84:  

Generated by git2html.