78 lines
1.3 KiB
Makefile
78 lines
1.3 KiB
Makefile
NULL =
|
|
|
|
bin_PROGRAMS = hvif
|
|
lib_LIBRARIES = libhviflight.a
|
|
|
|
# hvif configuration
|
|
hvif_CFLAGS = \
|
|
$(AM_CFLAGS) \
|
|
$(CAIRO_CFLAGS) \
|
|
$(NULL)
|
|
hvif_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-I$(top_builddir)/src \
|
|
$(NULL)
|
|
hvif_LDADD = \
|
|
$(AM_LDADD) \
|
|
$(CAIRO_LIBS) \
|
|
-lm \
|
|
libhviflight.a \
|
|
$(NULL)
|
|
|
|
# libhviflight.a configuration
|
|
libhviflight_a_CFLAGS = \
|
|
$(AM_CFLAGS) \
|
|
$(CAIRO_CFLAGS) \
|
|
$(NULL)
|
|
libhviflight_a_CPPFLAGS = \
|
|
$(AM_CPPFLAGS) \
|
|
-I$(top_builddir)/src \
|
|
$(NULL)
|
|
libhviflight_a_LIBADD = \
|
|
$(AM_LIBAD) \
|
|
$(NULL)
|
|
|
|
libhviflight_a_SOURCES = \
|
|
$(BUILT_SOURCES) \
|
|
src/hvif-light.c \
|
|
src/hvif-light.h \
|
|
src/hvif-cairo.c \
|
|
src/hvif-cairo.h \
|
|
$(NULL)
|
|
|
|
hvif_SOURCES = \
|
|
$(BUILT_SOURCES) \
|
|
src/main.c \
|
|
src/hvif-light.h \
|
|
src/hvif-cairo.h \
|
|
$(NULL)
|
|
|
|
cquery:
|
|
echo '%clang' > .cquery
|
|
echo '%c -std=gnu11' >> .cquery
|
|
echo '$(CAIRO_CFLAGS)' | sed "s/ /\\n/g" >> .cquery
|
|
|
|
.PHONY: cquery
|
|
|
|
EXTRA_DIST = \
|
|
README.md \
|
|
LICENSE \
|
|
docs/examples/ICON_LICENSE \
|
|
docs/examples/File_GoogleFS_hviflight.png \
|
|
docs/examples/File_GoogleFS_orig.png \
|
|
src/config.h.in
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
doxyfile.stamp:
|
|
$(DOXYGEN) $(top_builddir)/docs/Doxyfile
|
|
echo Timestamp > doxyfile.stamp
|
|
|
|
CLEANFILES = doxyfile.stamp
|
|
|
|
html-local: doxyfile.stamp
|
|
clean-local:
|
|
rm -rf $(top_builddir)/docs/html
|
|
|
|
endif
|