1# Makefile.am - Automake script for cld80211-lib
2ACLOCAL_AMFLAGS = -I m4
3
4AM_CFLAGS = -Wall
5
6if DEBUG
7AM_CFLAGS += -g
8else
9AM_CFLAGS += -O2
10endif
11
12AM_CFLAGS += -Wno-unused-parameter -Wno-int-to-pointer-cast \
13             -Wno-maybe-uninitialized -Wno-parentheses -DLE_BUILD \
14             -D_GNU_SOURCE=1
15
16h_sources = cld80211_lib.h
17library_includedir = $(pkgincludedir)
18library_include_HEADERS = $(h_sources)
19
20libcld80211_la_SOURCES = cld80211_lib.c
21libcld80211_la_CFLAGS = ${AM_CFLAGS} ${LIBNL_CFLAGS}
22libcld80211_la_LIBADD = ${LIBNL_LIBS}
23lib_LTLIBRARIES = libcld80211.la
24
25pkgconfigdir = $(libdir)/pkgconfig
26pkgconfig_DATA = cld80211-lib.pc
27EXTRA_DIST = $(pkgconfig_DATA)
28