source: trunk/third-party/miniupnp/Makefile.am @ 13294

Last change on this file since 13294 was 13294, checked in by titer, 9 years ago

Add -D_GNU_SOURCE to miniupnp flags, fixing build at least on Ubuntu 11.04

File size: 943 bytes
Line 
1noinst_LIBRARIES = libminiupnp.a
2
3AM_CFLAGS = @PTHREAD_CFLAGS@ -DNDEBUG -D_GNU_SOURCE
4
5libminiupnp_a_SOURCES = \
6    connecthostport.c \
7    igd_desc_parse.c \
8    minisoap.c \
9    minissdpc.c \
10    miniupnpc.c \
11    miniwget.c \
12    minixml.c \
13    portlistingparse.c \
14    receivedata.c \
15    upnpcommands.c \
16    upnpreplyparse.c
17
18noinst_HEADERS = \
19    bsdqueue.h \
20    codelength.h \
21    connecthostport.h \
22    declspec.h \
23    igd_desc_parse.h \
24    minisoap.h \
25    minissdpc.h \
26    miniupnpc.h \
27    miniupnpctypes.h \
28    miniwget.h \
29    minixml.h \
30    portlistingparse.h \
31    receivedata.h \
32    upnpcommands.h \
33    upnpreplyparse.h
34
35EXTRA_DIST = \
36    README \
37    LICENSE \
38    miniupnpcstrings.h.in \
39    updateminiupnpcstrings.sh
40
41BUILT_SOURCES = \
42    miniupnpcstrings.h
43
44miniupnpcstrings.h: Makefile
45        $(srcdir)/updateminiupnpcstrings.sh $(srcdir)/miniupnpcstrings.h.in $@
46
47DISTCLEANFILES = $(builddir)/miniupnpcstrings.h
Note: See TracBrowser for help on using the repository browser.