5 EXTRA_DIST = $(html_man_files) gaf.1.in ChangeLog
8 ChangeLog: $(top_builddir)/stamp-git
11 $(GIT) log --pretty=medium $(CHANGELOG_BASE).. -- . || \
12 echo "WARNING: ChangeLog information not available from git" >&2 ; \
16 BUILT_SOURCES = shell.x
27 -I$(top_srcdir) -I$(top_srcdir)/libgeda/include -I$(includedir)
29 $(GCC_CFLAGS) $(MINGW_CFLAGS) $(GUILE_CFLAGS) $(GTK_CFLAGS) \
30 $(GDK_PIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(CAIRO_PNG_CFLAGS) \
31 $(CAIRO_PDF_CLAGS) $(CAIRO_PS_CFLAGS) $(CAIRO_SVG_CFLAGS)
32 gaf_LDFLAGS = $(GUILE_LIBS) $(GTK_LIBS) $(GDK_PIXBUF_LIBS) $(CAIRO_LIBS) \
33 $(CAIRO_PNG_LIBS) $(CAIRO_PDF_CLAGS) $(CAIRO_PS_LIBS) $(CAIRO_SVG_LIBS)
35 $(top_builddir)/libgedacairo/libgedacairo.la \
36 $(top_builddir)/libgeda/src/libgeda.la
38 localedir = @datadir@/locale
39 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
41 # This is used to generate boilerplate for defining Scheme functions
43 snarf_cpp_opts = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
44 $(gaf_CPPFLAGS) $(AM_CFLAGS) $(gaf_CFLAGS) $(CPPFLAGS)
45 AM_V_SNARF = $(am__v_SNARF_@AM_V@)
46 am__v_SNARF_ = $(am__v_SNARF_@AM_DEFAULT_V@)
47 am__v_SNARF_0 = @echo " SNARF " $@;
50 $(AM_V_SNARF)CPP="$(CPP)" $(GUILE_SNARF) -o $@ $< $(snarf_cpp_opts)
54 d=`$(GUILE) -c '(setlocale LC_ALL "C") \
55 (display (strftime "%B %-d, %Y" \
56 (car (strptime "%Y%m%d" (cadr (program-arguments))))))' $(DATE_VERSION)` ; \
57 v="$(DOTTED_VERSION).$(DATE_VERSION)" ; \
58 y=`echo $(DATE_VERSION)| sed -e"s/\(....\).*/\1/"`; \
59 sed -e"s:[@]DATE@:$$d:" -e"s:[@]VERSION@:$$v:" -e"s:[@]YEAR@:$$y:" < $< > $@
61 # Rules for converting man->html
65 html_man_files += gaf.html
68 docsmandir=$(docdir)/man
69 docsman_DATA=$(html_man_files)
74 LC_NUMERIC=C $(GROFF) -man -T html $< >$@.tmp && \
78 @echo "No working groff available: cannot create $@"
82 SUFFIXES = .x .1.in .1 .html
84 CLEANFILES = $(BUILT_SOURCES)
85 MAINTAINERCLEANFILES = ChangeLog