Imported Upstream version 0.8
[platform/upstream/libasyncns.git] / libasyncns / Makefile.am
1 # This file is part of libasyncns.
2 #
3 # Copyright 2005-2008 Lennart Poettering
4 #
5 # libasyncns is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation, either version 2.1 of the
8 # License, or (at your option) any later version.
9 #
10 # libasyncns is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with libasyncns. If not, see
17 # <http://www.gnu.org/licenses/>.
18
19 AM_CFLAGS=-D__EXTENSIONS__ $(PTHREAD_CFLAGS)
20
21 lib_LTLIBRARIES=libasyncns.la
22 libasyncns_la_CC=$(PTHREAD_CC)
23 libasyncns_la_SOURCES=asyncns.c asyncns.h
24 libasyncns_la_LDFLAGS=-version-info $(LIBASYNCNS_VERSION_INFO) $(LDFLAGS_NOUNDEFINED)
25 libasyncns_la_LIBADD=$(PTHREAD_LIBS)
26
27 check_PROGRAMS=asyncns-test
28 asyncns_test_CC=$(PTHREAD_CC)
29 asyncns_test_SOURCES=asyncns-test.c
30 asyncns_test_LDADD=libasyncns.la $(PTHREAD_LIBS)
31
32 include_HEADERS=asyncns.h