blob: 5cd797b70b3e0eb9e541931d7fc9a25ad61fbb09 (
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
45
46
47
48
49
50
|
AM_CFLAGS =
if HAVE_GCC
AM_CFLAGS += \
-Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings
endif
ACLOCAL_AMFLAGS = -I m4
DOXYGEN = @DOXYGEN@
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = path_utils.pc
dist_include_HEADERS = path_utils.h
dist_noinst_DATA = m4
lib_LTLIBRARIES = libpath_utils.la
libpath_utils_la_SOURCES = path_utils.c
libpath_utils_la_LDFLAGS = \
-version-info 1:0:0
if HAVE_CHECK
check_PROGRAMS = path_utils_ut
endif
path_utils_ut_SOURCES = \
path_utils_ut.c
path_utils_ut_CFLAGS = \
$(AM_CFLAGS) \
$(CHECK_CFLAGS)
path_utils_ut_LDADD = \
$(CHECK_LIBS) \
libpath_utils.la
TESTS = $(check_PROGRAMS)
tests: all $(check_PROGRAMS)
if HAVE_DOXYGEN
docs:
rm -fR doc
mkdir -p doc
$(DOXYGEN) path_utils.cfg.doxy
else
docs:
@echo "Doxygen not installed, cannot generate documentation"
@exit 1
endif
|