dist generated lex and yacc sources
authorDavid Schleef <ds@schleef.org>
Sat, 16 Aug 2003 00:18:04 +0000 (00:18 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 16 Aug 2003 00:18:04 +0000 (00:18 +0000)
lib/Makefile.am

index b28a12012df22bdcd2b1f8ca447b6ec4f7e30db4..67bdd85057aa6fb5a0a64dda526de6b87a64c137 100644 (file)
@@ -3,17 +3,18 @@ lib_LTLIBRARIES = libcomedi.la
 
 noinst_HEADERS = calib_yacc.h comedi_errno.h libinternal.h
 
-BUILT_SOURCES = calib_lex.c calib_yacc.c calib_yacc.h
-CLEANFILES = calib_lex.c calib_yacc.c calib_yacc.h grammar.output
+CLEANFILES = grammar.output
 
 EXTRA_DIST = calib_lex.l calib_yacc.y version_script
 
-nodist_libcomedi_la_SOURCES = calib_lex.c calib_yacc.c
+BUILT_SOURCES = calib_lex.c calib_yacc.c
+
 libcomedi_la_SOURCES = \
        buffer.c calib.c cmd.c comedi.c data.c dio.c error.c \
-       filler.c get.c ioctl.c range.c sv.c timed.c timer.c
+       filler.c get.c ioctl.c range.c sv.c timed.c timer.c \
+       calib_lex.c calib_yacc.c
 
-libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT
+libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(localstatedir)\"
 libcomedi_la_LDFLAGS = -Wl,--version-script=$(srcdir)/version_script
 
 calib_yacc.c: $(srcdir)/calib_yacc.y