]> www.ginac.de Git - ginac.git/blob - ginsh/Makefile.am
Fix build from git repository.
[ginac.git] / ginsh / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 bin_PROGRAMS = ginsh
4 BUILT_SOURCES = ginsh_parser.cpp ginsh_lexer.cpp
5 ginsh_SOURCES = ginsh_parser.ypp ginsh_lexer.lpp ginsh.h ginsh_extensions.h
6 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
7
8 AM_CPPFLAGS = -I$(srcdir)/../ginac -I../ginac -DIN_GINAC
9 AM_YFLAGS = -d
10
11 man_MANS = ginsh.1
12
13 CLEANFILES = ginsh_fcn_help.h ginsh_op_help.h
14 EXTRA_DIST = ginsh_fcn_help.py ginsh_op_help.py
15
16 # files created by sed scripts
17 ginsh_fcn_help.h: ginsh.1.in $(srcdir)/ginsh_fcn_help.py
18         $(PYTHON) $(srcdir)/ginsh_fcn_help.py -o $@ $<
19
20 ginsh_op_help.h: ginsh.1 $(srcdir)/ginsh_op_help.py
21         $(PYTHON) $(srcdir)/ginsh_op_help.py -o $@ $<
22
23 ginsh_parser.o: ginsh_fcn_help.h ginsh_op_help.h ginsh_parser.cpp