summaryrefslogtreecommitdiff
path: root/common/Makefile.am
blob: 0227ee97983568735b1051e2ee1d23b93567a1c6 (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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = trace collection ini dhash path_utils refarray
DOCDIRS = collection ini path_utils refarray

dist_noinst_DATA = \
    m4

if SINGLELIB
# Build all components as a single shared library
lib_LTLIBRARIES = libsssd_util.la
libsssd_util_la_SOURCES =
libsssd_util_la_LIBADD = \
    collection/libcollection.la \
    ini/libini_config.la \
    dhash/libdhash.la \
    refarray/libref_array.la
libsssd_util_la_CFLAGS = $(AM_CFLAGS) \
    -I ./collection \
    -I ./ini \
    -I ./dhash \
    -I ./refarray \
    -I ./trace
endif

tests: all
	for subdir in $(SUBDIRS); do \
		$(MAKE) -C $$subdir $@; \
	done

docs:
	for subdir in $(DOCDIRS); do \
		$(MAKE) -C $$subdir $@; \
	done