1AM_CPPFLAGS = -I$(srcdir)/../../headers -I$(srcdir)/.. -I$(srcdir)/../../files -I$(srcdir)/../.. \ 2 $(INCDIRS) $(DEBUG_FLAGS) $(CPPFLAGS) 3 4AM_YFLAGS = -d -v # Want ucparse.h. 5 6ucc_SOURCES = ucparse.yy uclex.ll ucmain.cc \ 7 basic_block.h \ 8 ucclass.cc \ 9 ucclass.h \ 10 ucexpr.cc \ 11 ucexpr.h \ 12 ucfun.cc \ 13 ucfun.h \ 14 ucloc.cc \ 15 ucloc.h \ 16 ucparse.h \ 17 ucstmt.cc \ 18 ucstmt.h \ 19 ucsym.cc \ 20 ucsym.h 21 22if BUILD_COMPILER 23bin_PROGRAMS = ucc 24endif 25 26ucc_LDADD = \ 27 ../libusecode.la \ 28 $(SYSLIBS) 29 30ucparse.h: ucparse.cc 31 test -e ucparse.hh && cp ucparse.hh ucparse.h 32 33uclex.o: uclex.cc ucparse.h 34 35EXTRA_DIST = \ 36 test1.uc \ 37 ucdefs.h 38 39CLEANFILES = *~ 40MAINTAINERCLEANFILES = uclex.cc ucparse.cc ucparse.h ucparse.hh 41