aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 6e2a78cd1232c2806be591f90d70c17119fee5cd (plain)
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
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects

if IS_GIT_REPO
GITVERSION_FLAGS = -DGITVERSION="\"`git describe --dirty`\""
else
GITVERSION_FLAGS =
endif

odr_padenc_CXXFLAGS = $(GITVERSION_FLAGS) @MAGICKWAND_CFLAGS@ -Icontrib -Wall -Wextra
odr_padenc_LDADD    = @MAGICKWAND_LDADD@
odr_padenc_SOURCES  = \
					  src/odr-padenc.cpp \
					  src/common.cpp \
					  src/common.h \
					  src/pad_common.cpp \
					  src/pad_common.h \
					  src/charset.cpp \
					  src/charset.h \
					  src/crc.cpp \
					  src/crc.h

bin_PROGRAMS = odr-padenc$(EXEEXT)


EXTRA_DIST = \
    $(top_srcdir)/bootstrap \
    $(top_srcdir)/README.md \
    $(top_srcdir)/Doxyfile

doc: export PROJECT_NUMBER:=$(shell git describe --dirty)

.PHONY: doc
doc:
	doxygen