1include $(top_srcdir)/build/vars.build.mk 2 3plugin = markdown 4 5geanyplugins_LTLIBRARIES = markdown.la 6 7markdown_la_SOURCES = \ 8 conf.c \ 9 plugin.c \ 10 viewer.c \ 11 markdown-gtk-compat.c 12 13noinst_HEADERS = \ 14 conf.h \ 15 viewer.h \ 16 markdown-gtk-compat.h 17 18 19markdown_la_CFLAGS = \ 20 $(AM_CFLAGS) \ 21 $(MARKDOWN_CFLAGS) \ 22 -DMARKDOWN_DOC_DIR=PLUGINDOCDIR \ 23 -DMARKDOWN_HELP_FILE=\"$(GP_DOCDIR)/$(plugin)/html/help.html\" 24 25markdown_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"Markdown\" 26markdown_la_LIBADD = \ 27 $(COMMONLIBS) \ 28 $(MARKDOWN_LIBS) 29 30if MARKDOWN_PEG_MARKDOWN 31markdown_la_CFLAGS += -DFULL_PRICE -I$(top_srcdir)/markdown/peg-markdown 32markdown_la_LIBADD += $(top_builddir)/markdown/peg-markdown/libpegmarkdown.la 33else 34markdown_la_CFLAGS += $(LIBMARKDOWN_CFLAGS) 35markdown_la_LIBADD += $(LIBMARKDOWN_LIBS) 36endif 37 38if MARKDOWN_WEBKIT2 39markdown_la_CFLAGS += -DMARKDOWN_WEBKIT2 40endif 41 42include $(top_srcdir)/build/cppcheck.mk 43