0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 09:18:19 +02:00
construct/modules/Makefile.am

38 lines
955 B
Makefile
Raw Normal View History

2016-07-20 20:55:46 +02:00
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
2016-10-16 04:09:38 +02:00
@JS_CPPFLAGS@ \
@BOOST_CPPFLAGS@ \
-include $(top_srcdir)/include/ircd/ircd.h \
2016-11-29 16:23:38 +01:00
-include $(top_srcdir)/include/ircd/mapi.h
2016-07-20 20:55:46 +02:00
AM_LDFLAGS = \
-L$(top_srcdir)/ircd \
2016-11-08 01:28:12 +01:00
@JS_LDFLAGS@ \
2016-07-20 20:55:46 +02:00
@BOOST_LDFLAGS@
AM_LDFLAGS += \
-avoid-version \
2016-11-08 01:28:12 +01:00
-module \
-Wl,-fuse-ld=gold \
-Wl,--shared \
-Wl,--export-dynamic \
-Wl,--no-gnu-unique \
-Wl,--no-allow-shlib-undefined
# -Wl,--no-undefined
# -export-symbols-regex IRCD_MODULE*
# -export-symbols-regex *
2016-07-20 20:55:46 +02:00
2016-11-29 16:23:38 +01:00
# 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
2017-03-11 04:31:20 +01:00
client_client_login_la_SOURCES = client/login.cc
2016-11-29 16:23:38 +01:00
client_module_LTLIBRARIES = \
client/client_versions.la \
2017-03-11 04:31:20 +01:00
client/client_register.la \
client/client_login.la
moduledir=@moduledir@
module_LTLIBRARIES = \