blob: c42b2c5a1f9c44aadff6f9f56f435ccad86a8bb3 (
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
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
|
#
# libwimaxll
#
INCLUDES = \
-I$(top_builddir)/include -I$(top_srcdir)/include \
$(LIBNL1_CFLAGS) \
-I $(LINUX_INCLUDE_PATH)
noinst_HEADERS = debug.h internal.h
libwimaxll_sources = \
genl.c \
log.c \
misc.c \
op-open.c \
op-msg.c \
op-reset.c \
op-rfkill.c \
re-state-change.c \
wimax.c
libwimaxll_a_SOURCES = $(libwimaxll_sources)
libwimaxll_la_SOURCES = $(libwimaxll_sources)
# Trick automake
libwimaxll_la_CFLAGS = $(AM_CFLAGS)
# -version-info is CURRENT:REVISION:AGE
# CURRENT: inc for added, removed/changed interfaces
# REVISION: inc for changes that do not affect the external interface
# AGE: inc for added interfaces
# set to zero if removed existing interfaces
libwimaxll_la_LDFLAGS = -version-info 1:0:1 $(LIBNL1_LIBS)
# misc.c includes this file
BUILT_SOURCES = names-vals.h
enum_names = \
wimax_st
CLEANFILES = names-vals.h
names-vals.h: @LINUX_INCLUDE_PATH@/linux/wimax.h enum-to-names-vals
rm -f $@
echo "#include <linux/wimax.h>" > $@
for type in $(enum_names); \
do \
$(srcdir)/enum-to-names-vals $$type $^; \
done >> $@
noinst_SCRIPTS = enum-to-names-vals
EXTRA_DIST = $(noinst_SCRIPTS)
lib_LTLIBRARIES = libwimaxll.la
lib_LIBRARIES = libwimaxll.a
#
# libwimaxll-i2400m
#
libwimaxll_i2400m_sources = \
i2400m.c
libwimaxll_i2400m_a_SOURCES = $(libwimaxll_i2400m_sources)
libwimaxll_i2400m_la_SOURCES = $(libwimaxll_i2400m_sources)
# Trick automake
libwimaxll_i2400m_la_CFLAGS = $(AM_CFLAGS)
# -version-info is CURRENT:REVISION:AGE
# CURRENT: inc for added, removed/changed interfaces
# REVISION: inc for changes that do not affect the external interface
# AGE: inc for added interfaces
# set to zero if removed existing interfaces
libwimaxll_i2400m_la_LDFLAGS = -lwimaxll -lpthread -version-info 1:0:1 $(LIBNL1_LIBS)
lib_LTLIBRARIES += libwimaxll-i2400m.la
lib_LIBRARIES += libwimaxll-i2400m.a
|