0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-04 19:18:57 +02:00
construct/construct/Makefile.am

67 lines
1.1 KiB
Makefile
Raw Normal View History

prefix = @prefix@
2017-09-30 07:59:11 +02:00
AM_CXXFLAGS = \
###
2016-07-20 20:55:46 +02:00
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
2016-10-11 06:28:16 +02:00
@ROCKSDB_CPPFLAGS@ \
@JS_CPPFLAGS@ \
2017-09-08 11:43:23 +02:00
@BOOST_CPPFLAGS@ \
@SODIUM_CPPFLAGS@ \
@LZ4_CPPFLAGS@ \
@Z_CPPFLAGS@ \
2017-09-08 11:43:23 +02:00
###
2016-07-20 20:55:46 +02:00
AM_LDFLAGS = \
2016-11-08 01:28:12 +01:00
-dlopen self \
-Wl,-fuse-ld=gold \
2018-05-31 22:00:58 +02:00
-Wl,--warn-execstack \
-Wl,--warn-common \
-Wl,--detect-odr-violations \
2017-08-23 23:39:41 +02:00
-Wl,--no-allow-shlib-undefined \
2018-05-31 22:00:58 +02:00
-Wl,--no-gnu-unique \
2017-08-23 23:39:41 +02:00
-Wl,--no-undefined \
2018-03-24 10:52:40 +01:00
-Wl,--gc-sections \
2018-05-31 22:00:58 +02:00
-Wl,--dynamic-list-data \
-Wl,--dynamic-list-cpp-new\
-Wl,--dynamic-list-cpp-typeinfo \
2018-03-24 10:52:40 +01:00
-Wl,--icf=all \
2018-05-31 22:00:58 +02:00
-Wl,--rosegment \
-Wl,-z -Wl,combreloc \
2017-08-23 23:39:41 +02:00
-Wl,-z -Wl,now \
2016-07-20 20:55:46 +02:00
-L$(top_srcdir)/ircd \
-L$(top_srcdir)/modules \
2017-09-08 11:43:23 +02:00
$(PLATFORM_LDFLAGS) \
###
2018-02-22 22:33:53 +01:00
bin_PROGRAMS = construct
2018-02-22 22:33:53 +01:00
construct_LDFLAGS = \
2017-08-23 23:39:41 +02:00
$(AM_LDFLAGS) \
@ROCKSDB_LDFLAGS@ \
@JS_LDFLAGS@ \
2017-09-08 11:43:23 +02:00
@BOOST_LDFLAGS@ \
@SODIUM_LDFLAGS@ \
@LZ4_LDFLAGS@ \
@Z_LDFLAGS@ \
2017-09-08 11:43:23 +02:00
###
2018-02-22 22:33:53 +01:00
construct_LDADD = \
2016-07-20 20:55:46 +02:00
-lircd \
@ROCKSDB_LIBS@ \
2016-10-11 06:28:16 +02:00
@JS_LIBS@ \
2016-11-29 16:23:38 +01:00
@BOOST_LIBS@ \
@SODIUM_LIBS@ \
2016-11-29 16:23:38 +01:00
-lcrypto \
2017-08-23 23:39:41 +02:00
-lssl \
@LZ4_LIBS@ \
@Z_LIBS@ \
2017-09-08 11:43:23 +02:00
###
2017-08-23 23:39:41 +02:00
2018-02-22 22:33:53 +01:00
construct_SOURCES = \
construct.cc \
2017-08-23 23:39:41 +02:00
console.cc \
2017-09-08 11:43:23 +02:00
lgetopt.cc \
###