summaryrefslogtreecommitdiff
path: root/common/dhash/Makefile.am
blob: b8d5ce6ffbc65db29bc1deb250940b6d6c729426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AM_CFLAGS =
if HAVE_GCC
    AM_CFLAGS += \
        -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
        -Wcast-align -Wwrite-strings
endif

ACLOCAL_AMFLAGS = -I m4

pkgconfigdir = $(libdir)/pkgconfig
dist_noinst_DATA = dhash.pc

noinst_LTLIBRARIES = libdhash.la
libdhash_la_SOURCES = \
    dhash.c \
    dhash.h

check_PROGRAMS = dhash_test dhash_example
dhash_test_LDADD = dhash.o
dhash_example_LDADD = dhash.o

examplesdir = $(docdir)/examples
dist_noinst_DATA += dhash_test.c dhash_example.c