registered_function_info struct changed to function_options class
[ginac.git] / ginsh / Makefile.am
index 0cdab1d5c1f0b81d3e8021245a4a10a8f2ab0fa8..d16cd4d3e31e4ca6baf735b12e23b1aec6044788 100644 (file)
@@ -3,9 +3,11 @@
 bin_PROGRAMS = ginsh
 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
+CPPFLAGS = -DIN_GINAC
+INCLUDES = -I$(srcdir)/../ginac
 man_MANS = ginsh.1
 YFLAGS = -d
-EXTRA_DIST = ginsh_parser.h
+EXTRA_DIST = $(man_MANS) ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
 
 # files created by sed scripts
 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
@@ -14,4 +16,4 @@ ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
        sed -n -f ginsh_op_help.sed <$< >$@
 
-ginsh_parser.cc: ginsh_fcn_help.c ginsh_op_help.c
+ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c