aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 25dbd495fead5182d03fa856c57ab7af7578c43e (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
37
38
39
40
41
42
43
44
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@ -std=c++11 -Wall -Wextra -Wpedantic
odr_padenc_LDADD    = @MAGICKWAND_LDADD@
odr_padenc_SOURCES  = \
					  src/odr-padenc.cpp \
					  src/odr-padenc.h \
					  src/common.cpp \
					  src/common.h \
					  src/pad_common.cpp \
					  src/pad_common.h \
					  src/dls.cpp \
					  src/dls.h \
					  src/sls.cpp \
					  src/sls.h \
					  src/charset.cpp \
					  src/charset.h \
					  src/crc.cpp \
					  src/crc.h

bin_PROGRAMS = odr-padenc$(EXEEXT)


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

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

.PHONY: doc
doc:
	doxygen