-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
56 lines (44 loc) · 2.17 KB
/
Makefile.am
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
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = no-dependencies foreign
CLEANFILES = *~ comperr
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in config.h.in
stamp-h.in
include_HEADERS = capi20.h capiutils.h capicmd.h capi_mod.h capi_debug.h
lib_LTLIBRARIES = libcapi20.la
lib_LIBRARIES = libcapi20dyn.a
libcapi20_la_SOURCES = capi20.c capifunc.c convert.c capi_defs.h compat/byteswap.h
libcapi20_la_LDFLAGS = -version-info ${LIBCAPI_VERSION}:${LIBCAPI_VERSION_RELEASE}:${LIBCAPI_VERSION_AGE} -lc -rdynamic
libcapi20_la_CFLAGS = -fno-strict-aliasing -DLIBDIR=\"$(libdir)/capi\"
modulesdir = $(libdir)/capi
modules_LTLIBRARIES = lib_capi_mod_fritzbox.la lib_capi_mod_rcapi.la
if KERNEL_CAPI
modules_LTLIBRARIES += lib_capi_mod_std.la
libcapi20_la_LDFLAGS += -lrt
lib_capi_mod_std_la_SOURCES = capi_mod_std.c
lib_capi_mod_std_la_CFLAGS = -fno-strict-aliasing
lib_capi_mod_std_la_LDFLAGS = -shared -version-info @CAPI_MODULE_LOADER_VERSION@:0:0 -no-undefined
lib_capi_mod_std_la_LIBADD = libcapi20.la
endif
lib_capi_mod_fritzbox_la_SOURCES = capi_mod_fritzbox.c capi_mod_fritzbox.h
lib_capi_mod_fritzbox_la_CFLAGS = -fno-strict-aliasing
lib_capi_mod_fritzbox_la_LDFLAGS = -shared -version-info @CAPI_MODULE_LOADER_VERSION@:0:0 -no-undefined
lib_capi_mod_fritzbox_la_LIBADD = libcapi20.la
lib_capi_mod_rcapi_la_SOURCES = capi_mod_rcapi.c
lib_capi_mod_rcapi_la_CFLAGS = -fno-strict-aliasing
lib_capi_mod_rcapi_la_LDFLAGS = -shared -version-info @CAPI_MODULE_LOADER_VERSION@:0:0 -no-undefined
lib_capi_mod_rcapi_la_LIBADD = libcapi20.la
libcapi20dyn_a_SOURCES = capidyn.c
libcapi20dyn_a_CFLAGS = -fPIC
libcapi20_la_LIBADD = $(LIBADD_DL)
if WIN32
libcapi20_la_LDFLAGS+=-mwindows -mms-bitfields -Wl,-subsystem,windows -shared -Wl,-output-def,libcapi20.def --out-implib,libcapi20.dll.a -o libcapi20.dll -no-undefined -lws2_32
lib_capi_mod_fritzbox_la_LDFLAGS += -module -L.libs -lcapi20
lib_capi_mod_rcapi_la_LDFLAGS += -module -L.libs -lcapi20
endif
pcdir = ${libdir}/pkgconfig
pc_DATA = capi20.pc
$(OBJECTS): libtool
export SED
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck