2014-09-10 01:23:09 +08:00
|
|
|
lib_LTLIBRARIES += libtoxencryptsave.la
|
|
|
|
|
|
|
|
libtoxencryptsave_la_include_HEADERS = \
|
|
|
|
../toxencryptsave/toxencryptsave.h
|
|
|
|
|
|
|
|
libtoxencryptsave_la_includedir = $(includedir)/tox
|
|
|
|
|
2021-12-16 00:50:01 +08:00
|
|
|
if !WITH_NACL
|
2016-01-31 06:23:15 +08:00
|
|
|
libtoxencryptsave_la_SOURCES = ../toxencryptsave/toxencryptsave.h \
|
2016-02-27 11:58:13 +08:00
|
|
|
../toxencryptsave/toxencryptsave.c \
|
|
|
|
../toxencryptsave/defines.h
|
2016-01-31 06:23:15 +08:00
|
|
|
|
2014-09-10 01:23:09 +08:00
|
|
|
libtoxencryptsave_la_CFLAGS = -I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/toxcore \
|
|
|
|
$(LIBSODIUM_CFLAGS) \
|
|
|
|
$(NACL_CFLAGS) \
|
|
|
|
$(PTHREAD_CFLAGS)
|
|
|
|
|
2017-01-12 05:41:11 +08:00
|
|
|
libtoxencryptsave_la_LDFLAGS = $(LT_LDFLAGS) \
|
2014-09-10 01:23:09 +08:00
|
|
|
$(EXTRA_LT_LDFLAGS) \
|
|
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
|
|
$(NACL_LDFLAGS) \
|
|
|
|
$(MATH_LDFLAGS) \
|
|
|
|
$(RT_LIBS) \
|
|
|
|
$(WINSOCK2_LIBS)
|
|
|
|
|
|
|
|
libtoxencryptsave_la_LIBADD = $(LIBSODIUM_LIBS) \
|
|
|
|
$(NACL_OBJECTS) \
|
2020-05-04 04:16:44 +08:00
|
|
|
$(NACL_LIBS) \
|
2014-09-10 01:23:09 +08:00
|
|
|
$(PTHREAD_LIBS) \
|
|
|
|
libtoxcore.la
|
2017-01-12 05:41:11 +08:00
|
|
|
|
|
|
|
if SET_SO_VERSION
|
|
|
|
|
|
|
|
EXTRA_libtoxencryptsave_la_DEPENDENCIES = ../so.version
|
|
|
|
|
|
|
|
endif
|
2021-12-16 00:50:01 +08:00
|
|
|
endif
|