Files
flenser/src/Makefile.am
ADAM David Alan Martin e595830fab Rename user-facing bits of Dillo to Flenser.
I dunno if I got them all.

This is also now version 0.0.0
2025-04-12 00:43:11 -04:00

165 lines
2.7 KiB
Makefile

AM_CPPFLAGS= \
-I$(top_srcdir) \
-DDILLO_SYSCONF='"$(sysconfdir)/"' \
-DDILLO_DOCDIR='"$(docdir)/"' \
-DCUR_WORKING_DIR='"@BASE_CUR_WORKING_DIR@/src"' \
@LIBJPEG_CPPFLAGS@
AM_CFLAGS = @LIBPNG_CFLAGS@
AM_CXXFLAGS = @LIBPNG_CFLAGS@ @LIBFLTK_CXXFLAGS@
SUBDIRS = IO
bin_PROGRAMS = flenser
flenser_LDADD = \
$(top_builddir)/dlib/libDlib.a \
$(top_builddir)/dpip/libDpip.a \
IO/libDiof.a \
$(top_builddir)/dw/libDw-widgets.a \
$(top_builddir)/dw/libDw-fltk.a \
$(top_builddir)/dw/libDw-core.a \
$(top_builddir)/lout/liblout.a \
@LIBJPEG_LIBS@ @LIBPNG_LIBS@ @LIBWEBP_LIBS@ @LIBFLTK_LIBS@ @LIBZ_LIBS@ \
@LIBICONV_LIBS@ @LIBPTHREAD_LIBS@ @LIBX11_LIBS@ @LIBSSL_LIBS@
flenser_SOURCES = \
flenser.cc \
version.cc \
version.hh \
paths.cc \
paths.hh \
tipwin.cc \
tipwin.hh \
ui.cc \
ui.hh \
uicmd.cc \
uicmd.hh \
bw.hh \
bw.cc \
cookies.cc \
cookies.hh \
actions.cc \
actions.hh \
hsts.cc \
hsts.hh \
auth.cc \
auth.hh \
md5.c \
md5.h \
digest.cc \
digest.hh \
colors.cc \
colors.hh \
binaryconst.h \
misc.cc \
misc.hh \
history.hh \
history.cc \
prefs.cc \
prefs.hh \
prefsparser.cc \
prefsparser.hh \
keys.cc \
keys.hh \
msg.hh \
list.h \
url.cc \
url.hh \
bitvec.c \
bitvec.h \
klist.c \
klist.h \
chain.cc \
chain.hh \
utf8.cc \
utf8.hh \
timeout.cc \
timeout.hh \
dialog.cc \
dialog.hh \
\
\
web.cc \
web.hh \
nav.cc \
nav.hh \
cache.cc \
cache.hh \
decode.cc \
decode.hh \
dicache.cc \
dicache.hh \
capi.cc \
capi.hh \
domain.cc \
domain.hh \
css.cc \
css.hh \
cssparser.cc \
cssparser.hh \
doctree.hh \
styleengine.cc \
styleengine.hh \
plain.cc \
html.cc \
html.hh \
html_charrefs.h \
html_common.hh \
form.cc \
form.hh \
table.cc \
table.hh \
bookmark.cc \
bookmark.hh \
dns.cc \
dns.hh \
gif.cc \
dgif.hh \
jpeg.cc \
djpeg.hh \
png.cc \
dpng.hh \
webp.cc \
dwebp.hh \
svg.cc \
nanosvg.h \
nanosvgrast.h \
dsvg.hh \
imgbuf.cc \
imgbuf.hh \
image.cc \
image.hh \
menu.hh \
menu.cc \
dpiapi.cc \
dpiapi.hh \
pixmaps.h \
findbar.cc \
findbar.hh \
xembed.cc \
xembed.hh
# https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
nodist_flenser_SOURCES = commit.h
version.$(OBJEXT) flenser.$(OBJEXT): commit.h
CLEANFILES = commit.h
if GIT_AVAILABLE
# Rebuild commit.tmp.h every time, but only change commit.h
# if the version is different to avoid rebuilds.
commit.h: commit.tmp.h
test -f $@ || (echo "" > $@)
if diff $@ $^ >/dev/null; then rm $^; else mv -f $^ $@; fi
commit.tmp.h:
printf '#define GIT_COMMIT "%s"\n' `git --work-tree="$(top_srcdir)" describe --dirty` > $@
else
# No need to rebuild
commit.h:
echo "" > commit.h
endif # GIT_AVAILABLE
dist_sysconf_DATA = domainrc keysrc hsts_preload
EXTRA_DIST = chg srch