File: Makefile.inc

package info (click to toggle)
libtoxcore 0.2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,096 kB
  • sloc: ansic: 35,423; cpp: 1,526; sh: 642; python: 197; makefile: 78
file content (53 lines) | stat: -rw-r--r-- 2,537 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
lib_LTLIBRARIES += libtoxencryptsave.la

libtoxencryptsave_la_include_HEADERS = \
                        ../toxencryptsave/toxencryptsave.h

libtoxencryptsave_la_includedir = $(includedir)/tox

libtoxencryptsave_la_SOURCES = ../toxencryptsave/toxencryptsave.h \
                        ../toxencryptsave/toxencryptsave.c \
                        ../toxencryptsave/defines.h


if WITH_NACL
libtoxencryptsave_la_SOURCES += ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/crypto_scrypt.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pbkdf2-sha256.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/crypto_scrypt-common.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/export.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/pbkdf2-sha256.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/scrypt_platform.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sysendian.h \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c \
                        ../toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c
endif

libtoxencryptsave_la_CFLAGS =   -I$(top_srcdir) \
                        -I$(top_srcdir)/toxcore \
                        $(LIBSODIUM_CFLAGS) \
                        $(NACL_CFLAGS) \
                        $(PTHREAD_CFLAGS)

libtoxencryptsave_la_LDFLAGS =  $(LT_LDFLAGS) \
                        $(EXTRA_LT_LDFLAGS) \
                        $(LIBSODIUM_LDFLAGS) \
                        $(NACL_LDFLAGS) \
                        $(MATH_LDFLAGS) \
                        $(RT_LIBS) \
                        $(WINSOCK2_LIBS)

libtoxencryptsave_la_LIBADD =   $(LIBSODIUM_LIBS) \
                        $(NACL_OBJECTS) \
                        $(NAC_LIBS) \
                        $(PTHREAD_LIBS) \
                        libtoxcore.la

if SET_SO_VERSION

EXTRA_libtoxencryptsave_la_DEPENDENCIES = ../so.version

endif