forked from roelj/inklingreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
49 lines (40 loc) · 1.75 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
AUTOMAKE_OPTIONS = subdir-objects
AM_CFLAGS = $(gtk_CFLAGS) $(glib_CFLAGS) $(cairo_CFLAGS) $(rsvg_CFLAGS) $(libusb_CFLAGS)
bin_PROGRAMS = inklingreader
inklingreader_SOURCES = src/main.c src/gui/mainwindow.c src/gui/mainwindow.h \
src/converters/svg.c src/converters/svg.h \
src/converters/png.c src/converters/png.h \
src/converters/json.c src/converters/json.h \
src/converters/pdf.c src/converters/pdf.h \
src/converters/csv.c src/converters/csv.h \
src/parsers/wpi.c src/parsers/wpi.h \
src/high/conversion.c src/high/conversion.h \
src/datatypes/configuration.c src/datatypes/configuration.h \
src/optimizers/point-reduction.h src/optimizers/point-reduction.c \
src/usb/online-mode.h src/usb/online-mode.c \
src/datatypes/coordinate.h src/datatypes/clock.h \
src/datatypes/element.h src/datatypes/metadata.h \
src/datatypes/pressure.h src/datatypes/stroke.h src/datatypes/tilt.h
inklingreader_LDADD = $(gtk_LIBS) $(glib_LIBS) $(cairo_LIBS) $(rsvg_LIBS) $(libusb_LIBS)
if OS_LINUX
inklingreader_LDADD += -ldl -lpthread
else
inklingreader_LDADD += -lshell32
inklingreader_LDFLAGS = -mwindows
endif
if ENABLE_GCOV_OPTION
AM_CFLAGS += -fprofile-arcs -ftest-coverage
endif
docs:
@cd doc/; texi2pdf inklingreader.texi
docs-clean:
@cd doc/; ${RM} -rf *.aux *.ky *.pg *.tp *.cp *.log *.vr *.fn *.toc
docs-doxygen:
@cd doc/; doxygen Doxyfile
gcov-clean:
@rm -rf src/*.gcno src/*.gcda src/*/*.gcno src/*/*.gcda
.PHONY: docs docs-clean docs-doxygen gcov-clean