File: Makefile.am

package info (click to toggle)
ntrack 008-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,960 kB
  • ctags: 349
  • sloc: sh: 10,127; ansic: 1,682; makefile: 366; cpp: 122; python: 11
file content (92 lines) | stat: -rw-r--r-- 2,013 bytes parent folder | download
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#
#  Copyright (C) 2009  Alexander Sack <asac@jwsdot.com>
#
#  This file is part of:
#      ntrack - Network Status Tracking for Desktop Applications
#               http://launchpad.net/ntrack
#
#   ntrack is free software: you can redistribute it and/or modify
#   it under the terms of the GNU Lesser General Public License as
#   published by the Free Software Foundation, either version 3 of
#   the License, or (at your option) any later version.
#
#   ntrack is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU Lesser General Public License for more details.
#
#   You should have received a copy of the GNU Lesser General Public
#   License along with ntrack.  If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = test

NTRACK_LT_VERSION = 1:0:1

AM_CFLAGS = \
	-Wall \
	-Werror \
	-pedantic \
	$(NULL)

lib_LTLIBRARIES = libntrack.la

pkgcommonincludedir = $(pkgincludedir)/common/

if HAVE_LIBNL
arch_sources = ntrack-libnl.c
arch_cflags = $(LIBNL_CFLAGS)
arch_libs = $(LIBNL_LIBS)
endif

libntrack_la_SOURCES = \
	ntrackmacros.h \
	ntrackbase.h \
	ntrack.h ntrack.c \
	ntrackcompare.c ntrackcompare.h \
	ntracklist.c ntracklist.h \
	ntrackidpool.c ntrackidpool.h \
	ntrackmonitor.c ntrackmonitor.h \
	$(arch_sources) \
	$(NULL)

libntrack_la_CFLAGS = \
	$(AM_CFLAGS) \
	$(arch_cflags) \
	$(NULL)

libntrack_la_LIBADD = \
	$(arch_libs) \
	$(NULL)

libntrack_la_LDFLAGS = \
	$(AM_LDFLAGS) \
	-export-symbols $(srcdir)/ntrack.symbols \
	-no-undefined \
	-version-info $(NTRACK_LT_VERSION) \
	$(NULL)

EXTRA_DIST = \
	libntrack.pc.in \
	ntrack.symbols \
	$(NULL)

pkgcommoninclude_HEADERS = \
	ntrack.h \
	ntrackbase.h \
	ntrackcompare.h \
	ntrackidpool.h \
	ntracklist.h \
	ntrackmacros.h \
	ntrackmonitor.h \
	ntrackutil.h \
	$(NULL)

noinst_HEADERS = \
	ntrack-arch.h \
	$(NULL)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
	libntrack.pc \
	$(NULL)