From: Frank Mori Hess Date: Sat, 19 Jun 2004 15:25:30 +0000 (+0000) Subject: fixes for srcdir != biulddir X-Git-Tag: r0_7_22~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d426c3cac4620628863f57e238844394ab875ac;p=comedilib.git fixes for srcdir != biulddir --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 5ff09c6..0d5202a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -17,9 +17,9 @@ libcomedi_la_SOURCES = \ libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(localstatedir)\" libcomedi_la_LDFLAGS = -release $(VERSION) -Wl,--version-script=$(srcdir)/version_script -calib_yacc.c + calib_yacc.h: $(srcdir)/calib_yacc.y - $(YACC) -d -p calib_yy -o calib_yacc.c $< +$(srcdir)/calib_yacc.c + $(srcdir)/calib_yacc.h: $(srcdir)/calib_yacc.y + $(YACC) -d -p calib_yy -o $(srcdir)/calib_yacc.c $< -calib_lex.c: $(srcdir)/calib_lex.l +$(srcdir)/calib_lex.c: $(srcdir)/calib_lex.l $(LEX) -Pcalib_yy -o$@ $<