]> www.ginac.de Git - ginac.git/blob - ginsh/Makefile.am
[build] Rewrite ginsh related sed scripts in python.
[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 ginsh_extensions.h
5 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
6
7 INCLUDES = -I$(srcdir)/../ginac -I../ginac -DIN_GINAC
8 AM_YFLAGS = -d
9
10 man_MANS = ginsh.1
11
12 CLEANFILES = ginsh_fcn_help.h ginsh_op_help.h
13 EXTRA_DIST = ginsh_parser.h ginsh_fcn_help.py ginsh_op_help.py
14
15 # files created by sed scripts
16 ginsh_fcn_help.h: ginsh.1.in $(srcdir)/ginsh_fcn_help.py
17         $(PYTHON) $(srcdir)/ginsh_fcn_help.py -o $@ $<
18
19 ginsh_op_help.h: ginsh.1 $(srcdir)/ginsh_op_help.py
20         $(PYTHON) $(srcdir)/ginsh_op_help.py -o $@ $<
21
22 ginsh_parser.o: ginsh_fcn_help.h ginsh_op_help.h ginsh_parser.h