-DIN_GINAC moved from CPPFLAGS to INCLUDES (as suggested in automake docs)
[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
7 INCLUDES = -I$(srcdir)/../ginac -DIN_GINAC
8 YFLAGS = -d
9
10 man_MANS = ginsh.1
11
12 EXTRA_DIST = ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
13
14 # files created by sed scripts
15 ginsh_fcn_help.c: ginsh.1 $(srcdir)/ginsh_fcn_help.sed
16         sed -n -f $(srcdir)/ginsh_fcn_help.sed <$< >$@
17
18 ginsh_op_help.c: ginsh.1 $(srcdir)/ginsh_op_help.sed
19         sed -n -f $(srcdir)/ginsh_op_help.sed <$< >$@
20
21 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c