- building GiNaC in a separate directory now works
[ginac.git] / ginsh / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 bin_PROGRAMS = ginsh
4 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
5 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
6 INCLUDES = -I$(srcdir)/../ginac
7 man_MANS = ginsh.1
8 YFLAGS = -d
9 EXTRA_DIST = $(man_MANS) ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
10
11 # files created by sed scripts
12 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
13         sed -n -f ginsh_fcn_help.sed <$< >$@
14
15 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
16         sed -n -f ginsh_op_help.sed <$< >$@
17
18 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c