#4151: [regression] fails to build from source after deleting generated files
----------------------------------------+-------------------------
        Reporter:  pabs                 |      Owner:
            Type:  bug                  |     Status:  new
        Priority:  normal               |  Milestone:  unspecified
       Component:  Build System Issues  |    Version:  3.1.1
Operating System:  All/Non-Specific     |
----------------------------------------+-------------------------
\
\
 When deleting generated files (inc lib/framework/resource_lexer.cpp) I get
 this error:

 {{{
 make[4]: *** No rule to make target `resource_lexer.o', needed by
 `libframework.a'.  Stop.
 }}}

 This is a regression from 3.1.0, here is the diff from the previous
 version, please revert it:

 {{{
 --- warzone2100-3.1.0/lib/framework/Makefile.am 2013-01-15
 07:54:07.000000000 +0800
 +++ warzone2100-3.1.1/lib/framework/Makefile.am 2013-11-21
 11:00:51.000000000 +0800
 @@ -1,8 +1,6 @@
  AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS) $(QT4_CFLAGS)
  AM_CFLAGS = $(WZ_CFLAGS)
  AM_CXXFLAGS = $(WZ_CXXFLAGS) $(QT4_CFLAGS)
 -AM_LFLAGS = $(FLEX_FLAGS)
 -AM_YFLAGS = -d

  MOCHEADER = \
         wzconfig.h
 @@ -11,9 +9,6 @@
  %_moc.cpp: %.h
         $(MOC4) -o $@ $<

 -BUILT_SOURCES = \
 -       resource_parser.h \
 -       strres_parser.h

  CLEANFILES = \
         $(MOCEDFILES)
 @@ -46,9 +41,11 @@
         physfs_ext.h \
         rational.h \
         resly.h \
 +       resource_parser.h \
         stdio_ext.h \
         string_ext.h \
         strres.h \
 +       strres_parser.h \
         strresly.h \
         treap.h \
         trig.h \
 @@ -70,12 +67,12 @@
         geometry.cpp \
         i18n.cpp \
         lexer_input.cpp \
 -       resource_lexer.lpp \
 -       resource_parser.ypp \
 +       resource_lexer.cpp \
 +       resource_parser.cpp \
         stdio_ext.cpp \
         strres.cpp \
 -       strres_lexer.lpp \
 -       strres_parser.ypp \
 +       strres_lexer.cpp \
 +       strres_parser.cpp \
         treap.cpp \
         trig.cpp \
         utf.cpp \
 }}}
\
\
\

--
Ticket URL: <http://developer.wz2100.net/ticket/4151>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to