aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
blob: bef8962c2f0b121204f0ad0b7d32e613c0966187 (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
34
35
36
37
38
39
40
41
42
43
noinst_LIBRARIES = libmisc.a

noinst_HEADERS = \
		 checksum.h \
		 gnugetopt.h \
		 gtp-kernel.h \
		 icmpv6.h \
		 in46_addr.h \
		 ippool.h \
		 lookup.h \
		 netdev.h \
		 netns.h \
		 syserr.h \
		 tun.h \
		 util.h \
		 $(NULL)

AM_CFLAGS = \
	    -fno-builtin \
	    -Wall \
	    -DSBINDIR='"$(sbindir)"' \
	    $(LIBOSMOCORE_CFLAGS) \
	    $(NULL)

libmisc_a_SOURCES = \
		    checksum.c \
		    debug.c \
		    getopt.c \
		    getopt1.c \
		    icmpv6.c \
		    in46_addr.c \
		    ippool.c \
		    lookup.c \
		    netdev.c \
		    netns.c \
		    tun.c \
		    util.c \
		    $(NULL)

if ENABLE_GTP_KERNEL
AM_CFLAGS += -DGTP_KERNEL $(LIBGTPNL_CFLAGS)
libmisc_a_SOURCES += gtp-kernel.c
endif