blob: 2b9d87916575f6e5406d710c02d9c25fd7ca9780 (
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
|
INCLUDES = \
-I$(top_builddir)/include -I$(top_srcdir)/include \
$(LIBNL1_CFLAGS) \
$(I2400M_INCLUDES)
noinst_HEADERS = debug.h internal.h
lib_LTLIBRARIES = libwimaxll.la
lib_LIBRARIES = libwimaxll.a
libwimaxll_sources = \
op-open.c \
op-msg.c \
op-reset.c \
op-rfkill.c \
mc_rx.c \
pipe.c \
re-state-change.c \
wimax.c
libwimaxll_la_SOURCES = $(libwimaxll_sources)
# Trick automake
libwimaxll_la_CFLAGS = $(AM_CFLAGS)
# -version-info is CURRENT:REVISION:AGE
# REVISION: inc for changes that do not affect the external interface
# CURRENT: inc for added interfaces
# AGE: inc for removed/changed existing interfaces
libwimaxll_la_LDFLAGS = -version-info 0:0:0 $(LIBNL1_LIBS)
libwimaxll_a_SOURCES = $(libwimaxll_sources)
# Workaround renaming of libwimax to libwimaxll
#
# Dirty, but works the best -- will be removed soon
install-exec-local:
$(mkdir_p) $(DESTDIR)/$(libdir)
(cd $(DESTDIR)/$(libdir) && ln -sf libwimaxll.so.0 libwimax.so.0)
(cd $(DESTDIR)/$(libdir) && ln -sf libwimaxll.so libwimax.so)
|