toys/msg2pdf: incomplete port to new webkitgtk3

Compiles, doesn't work yet.
This commit is contained in:
Dirk-Jan C. Binnema
2020-03-11 10:28:43 +02:00
parent 89ab9f7351
commit 08d2e78d61
5 changed files with 110 additions and 67 deletions

View File

@ -19,14 +19,12 @@ include $(top_srcdir)/gtest.mk
# enforce compiling this dir first before decending into tests/
SUBDIRS= .
AM_CPPFLAGS=-I${top_srcdir}/lib $(GTK_CFLAGS) $(WEBKIT_CFLAGS) -DICONDIR='"$(icondir)"'
AM_CPPFLAGS=-I${top_srcdir}/lib $(GTK_CFLAGS) $(WEBKIT_CFLAGS)
# don't use -Werror, as it might break on other compilers
# use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get
AM_CFLAGS=-Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement
AM_CXXFLAGS=-Wall -Wextra -Wno-unused-parameter
AM_CFLAGS=$(ASAN_CFLAGS) -Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement
noinst_PROGRAMS= \
msg2pdf
@ -49,6 +47,7 @@ DISTCLEANFILES= \
msg2pdf_LDADD= \
$(ASAN_LDFLAGS) \
${top_builddir}/lib/libmu.la \
$(GTK_LIBS) \
${WEBKIT_LIBS}