From: Hans-Bernhard B. <br...@us...> - 2001-06-26 14:05:55
|
Update of /cvsroot/cscope/cscope/src In directory usw-pr-cvs1:/tmp/cvs-serv13645/src Modified Files: Makefile.am Log Message: Fixed some gotchas related to the "make dist" automake target Index: Makefile.am =================================================================== RCS file: /cvsroot/cscope/cscope/src/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** Makefile.am 2001/03/29 15:01:57 1.4 --- Makefile.am 2001/06/26 14:05:52 1.5 *************** *** 3,16 **** bin_PROGRAMS = cscope cscope_SOURCES = $(LEXER_SOURCE).l egrep.y \ ! alloc.c basename.c command.c compath.c constants.h \ ! crossref.c dir.c display.c edit.c exec.c find.c \ ! global.h help.c history.c input.c invlib.c invlib.h \ ! library.h logdir.c lookup.c main.c mouse.c mygetenv.c \ ! mypopen.c version.h vp.h vpaccess.c vpfopen.c \ ! vpinit.c vpopen.c LEXLIB = @LEXLIB@ - LEXER_SOURCE = @LEXER_SOURCE@ cscope_LDADD = $(CURSES_LIBS) $(LEXLIB) --- 3,22 ---- bin_PROGRAMS = cscope + if USING_LEX + LEXER_SOURCE=scanner + else + LEXER_SOURCE=fscanner + endif + cscope_SOURCES = $(LEXER_SOURCE).l egrep.y \ ! alloc.c basename.c command.c compath.c constants.h crossref.c dir.c \ ! display.c edit.c exec.c find.c global.h help.c history.c input.c \ ! invlib.c invlib.h library.h logdir.c lookup.c lookup.h main.c mouse.c \ ! mygetenv.c mypopen.c scanner.h version.h vp.h vpaccess.c vpfopen.c \ ! vpinit.c vpopen.c ! ! EXTRA_cscope_SOURCES = scanner.l fscanner.l LEXLIB = @LEXLIB@ cscope_LDADD = $(CURSES_LIBS) $(LEXLIB) |