]> saetta.ns0.it Git - reptool/libreptool/commitdiff
Reordering genereated files in makefile.
authorAndrea Zagli <azagli@libero.it>
Sat, 21 Jan 2017 11:58:07 +0000 (12:58 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 21 Jan 2017 16:38:20 +0000 (17:38 +0100)
src/Makefile.am

index b25d6ce7d5f1af10686e6c23c4defa4699616ca2..9bcec285ef31a7df487d4bc4457534fb0ec169ec 100644 (file)
@@ -1,9 +1,9 @@
 LIBS = $(REPTOOL_LIBS)
 
 AM_CPPFLAGS = $(REPTOOL_CFLAGS) \
-              -DG_LOG_DOMAIN=\"libreptool\"
+              -DG_LOG_DOMAIN=\"RepTool\"
 
-parser.tab.c parser.tab.h: parser.y
+parser.tab.c parser.tab.h: lexycal.yy.c lexycal.yy.h parser.y
        bison -d $(srcdir)/parser.y
 
 lexycal.yy.c lexycal.yy.h: lexycal.fl
@@ -20,8 +20,11 @@ rptmarshal.h: reptool_marshal.list $(GLIB_GENMARSHAL)
        $(GLIB_GENMARSHAL) $(srcdir)/reptool_marshal.list --header --prefix=_rpt_marshal > $(srcdir)/$@
 
 libreptool_la_SOURCES = \
+                        parser.tab.h \
+                        lexycal.yy.h \
                         parser.tab.c \
                         lexycal.yy.c \
+                        rptmarshal.h \
                         rptmarshal.c \
                         rptobject.c \
                         rptobjecttext.c \
@@ -49,11 +52,15 @@ libreptool_include_HEADERS = \
 noinst_HEADERS = \
                  parser.tab.h \
                  lexycal.yy.h \
-                 rptreport_priv.h \
-                 rptmarshal.h
+                 rptmarshal.h \
+                 rptreport_priv.h
 
 EXTRA_DIST = \
              parser.y \
              lexycal.fl
 
 libreptool_includedir = $(includedir)/libreptool
+
+clean-local:
+       -rm -f $(srcdir)/lexycal.yy.*
+       -rm -f $(srcdir)/parser.tab.*