0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 00:48:26 +02:00
construct/modules/Makefile.am
2017-04-04 16:10:29 -07:00

39 lines
978 B
Makefile

AM_CPPFLAGS = \
-I$(top_srcdir)/include \
@JS_CPPFLAGS@ \
@BOOST_CPPFLAGS@ \
-include $(top_srcdir)/include/ircd/ircd.h \
-include $(top_srcdir)/include/ircd/mapi.h
AM_LDFLAGS = \
-L$(top_srcdir)/ircd \
@JS_LDFLAGS@ \
@BOOST_LDFLAGS@
AM_LDFLAGS += \
-avoid-version \
-module \
-Wl,-fuse-ld=gold \
-Wl,--shared \
-Wl,--export-dynamic \
-Wl,--no-gnu-unique \
-Wl,--no-allow-shlib-undefined \
$(PLATFORM_LDFLAGS)
# -Wl,--no-undefined
# -export-symbols-regex IRCD_MODULE*
# -export-symbols-regex *
# This puts the source in client/ but the installed
# library is client_X.so in the main modules dir.
client_moduledir=@moduledir@
client_client_versions_la_SOURCES = client/versions.cc
client_client_register_la_SOURCES = client/register.cc
client_client_login_la_SOURCES = client/login.cc
client_module_LTLIBRARIES = \
client/client_versions.la \
client/client_register.la \
client/client_login.la
moduledir=@moduledir@
module_LTLIBRARIES = \