mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
51 lines
758 B
Makefile
51 lines
758 B
Makefile
prefix = @prefix@
|
|
|
|
AM_CXXFLAGS = \
|
|
###
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/include \
|
|
@ROCKSDB_CPPFLAGS@ \
|
|
@JS_CPPFLAGS@ \
|
|
@BOOST_CPPFLAGS@ \
|
|
@SODIUM_CPPFLAGS@ \
|
|
###
|
|
|
|
AM_LDFLAGS = \
|
|
-dlopen self \
|
|
-Wl,-fuse-ld=gold \
|
|
-Wl,--no-gnu-unique \
|
|
-Wl,--no-allow-shlib-undefined \
|
|
-Wl,--no-undefined \
|
|
-Wl,-z -Wl,now \
|
|
-L$(top_srcdir)/ircd \
|
|
-L$(top_srcdir)/modules \
|
|
$(PLATFORM_LDFLAGS) \
|
|
###
|
|
|
|
bin_PROGRAMS = charybdis
|
|
|
|
charybdis_LDFLAGS = \
|
|
$(AM_LDFLAGS) \
|
|
@ROCKSDB_LDFLAGS@ \
|
|
@JS_LDFLAGS@ \
|
|
@BOOST_LDFLAGS@ \
|
|
@SODIUM_LDFLAGS@ \
|
|
###
|
|
|
|
charybdis_LDADD = \
|
|
-lircd \
|
|
@ROCKSDB_LIBS@ \
|
|
@JS_LIBS@ \
|
|
@BOOST_LIBS@ \
|
|
@SODIUM_LIBS@ \
|
|
-lcrypto \
|
|
-lssl \
|
|
-lz \
|
|
###
|
|
|
|
charybdis_SOURCES = \
|
|
charybdis.cc \
|
|
console.cc \
|
|
lgetopt.cc \
|
|
###
|