Annotation of embedaddon/strongswan/src/libstrongswan/Android.mk, revision 1.1.1.2

1.1       misho       1: LOCAL_PATH := $(call my-dir)
                      2: include $(CLEAR_VARS)
                      3: 
                      4: # copy-n-paste from Makefile.am
                      5: libstrongswan_la_SOURCES = \
                      6: library.c \
                      7: asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
                      8: collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
1.1.1.2 ! misho       9: collections/hashlist.c collections/array.c \
1.1       misho      10: collections/linked_list.c crypto/crypters/crypter.c \
                     11: crypto/drbgs/drbg.c crypto/hashers/hasher.c \
                     12: crypto/hashers/hash_algorithm_set.c crypto/proposal/proposal.c \
                     13: crypto/proposal/proposal_keywords.c crypto/proposal/proposal_keywords_static.c \
                     14: crypto/prfs/prf.c crypto/prfs/mac_prf.c crypto/pkcs5.c \
                     15: crypto/rngs/rng.c crypto/rngs/rng_tester.c \
                     16: crypto/prf_plus.c crypto/signers/signer.c \
                     17: crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \
                     18: crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \
                     19: crypto/iv/iv_gen.c crypto/iv/iv_gen_rand.c crypto/iv/iv_gen_seq.c \
                     20: crypto/iv/iv_gen_null.c \
                     21: crypto/xofs/xof.c crypto/xofs/xof_bitspender.c \
                     22: credentials/credential_factory.c credentials/builder.c \
                     23: credentials/cred_encoding.c credentials/keys/private_key.c \
                     24: credentials/keys/public_key.c credentials/keys/shared_key.c \
                     25: credentials/keys/signature_params.c \
                     26: credentials/certificates/certificate.c credentials/certificates/crl.c \
                     27: credentials/certificates/ocsp_response.c credentials/certificates/x509.c \
                     28: credentials/certificates/certificate_printer.c \
                     29: credentials/containers/container.c credentials/containers/pkcs12.c \
                     30: credentials/credential_manager.c \
                     31: credentials/sets/auth_cfg_wrapper.c credentials/sets/ocsp_response_wrapper.c \
                     32: credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
                     33: credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
                     34: database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
                     35: ipsec/ipsec_types.c \
                     36: networking/host.c networking/host_resolver.c networking/packet.c \
                     37: networking/tun_device.c networking/streams/stream_manager.c \
                     38: networking/streams/stream.c networking/streams/stream_service.c \
                     39: networking/streams/stream_tcp.c networking/streams/stream_service_tcp.c \
                     40: pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
                     41: processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
                     42: processing/watcher.c resolver/resolver_manager.c resolver/rr_set.c \
                     43: selectors/traffic_selector.c settings/settings.c settings/settings_types.c \
                     44: settings/settings_parser.c settings/settings_lexer.c utils/cpu_feature.c \
                     45: utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
                     46: utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
                     47: utils/parser_helper.c utils/test.c utils/process.c utils/utils/strerror.c \
                     48: utils/utils/atomics.c utils/utils/string.c utils/utils/memory.c \
                     49: utils/utils/tty.c utils/utils/path.c utils/utils/status.c utils/utils/time.c \
                     50: utils/utils/align.c
                     51: 
                     52: libstrongswan_la_SOURCES += \
                     53:     threading/thread.c \
                     54:     threading/thread_value.c \
                     55:     threading/mutex.c \
                     56:     threading/rwlock.c \
                     57:     threading/spinlock.c \
                     58:     threading/semaphore.c \
                     59:     networking/streams/stream_unix.c \
                     60:     networking/streams/stream_service_unix.c
                     61: 
                     62: libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_builtin.c
                     63: 
                     64: LOCAL_SRC_FILES := $(libstrongswan_la_SOURCES)
                     65: 
                     66: # adding the plugin source files
                     67: 
                     68: LOCAL_SRC_FILES += $(call add_plugin, aes)
                     69: 
                     70: LOCAL_SRC_FILES += $(call add_plugin, chapoly)
                     71: 
                     72: LOCAL_SRC_FILES += $(call add_plugin, curl)
                     73: ifneq ($(call plugin_enabled, curl),)
                     74: LOCAL_C_INCLUDES += $(libcurl_PATH)
                     75: LOCAL_SHARED_LIBRARIES += libcurl
                     76: endif
                     77: 
                     78: LOCAL_SRC_FILES += $(call add_plugin, curve25519)
                     79: LOCAL_SRC_FILES += $(call add_plugin_subdirs, curve25519, ref10)
                     80: 
                     81: LOCAL_SRC_FILES += $(call add_plugin, des)
                     82: 
                     83: LOCAL_SRC_FILES += $(call add_plugin, fips-prf)
                     84: 
                     85: LOCAL_SRC_FILES += $(call add_plugin, gmp)
                     86: ifneq ($(call plugin_enabled, gmp),)
                     87: LOCAL_C_INCLUDES += $(libgmp_PATH)
                     88: LOCAL_SHARED_LIBRARIES += libgmp
                     89: endif
                     90: 
                     91: LOCAL_SRC_FILES += $(call add_plugin, hmac)
                     92: 
                     93: LOCAL_SRC_FILES += $(call add_plugin, md4)
                     94: 
                     95: LOCAL_SRC_FILES += $(call add_plugin, md5)
                     96: 
                     97: LOCAL_SRC_FILES += $(call add_plugin, nonce)
                     98: 
                     99: LOCAL_SRC_FILES += $(call add_plugin, openssl)
                    100: ifneq ($(call plugin_enabled, openssl),)
                    101: LOCAL_C_INCLUDES += $(openssl_PATH)
                    102: LOCAL_STATIC_LIBRARIES += libcrypto_static
                    103: endif
                    104: 
                    105: LOCAL_SRC_FILES += $(call add_plugin, pem)
                    106: 
                    107: LOCAL_SRC_FILES += $(call add_plugin, pkcs1)
                    108: 
                    109: LOCAL_SRC_FILES += $(call add_plugin, pkcs7)
                    110: 
                    111: LOCAL_SRC_FILES += $(call add_plugin, pkcs8)
                    112: 
                    113: LOCAL_SRC_FILES += $(call add_plugin, pkcs11)
                    114: 
                    115: LOCAL_SRC_FILES += $(call add_plugin, pubkey)
                    116: 
                    117: LOCAL_SRC_FILES += $(call add_plugin, random)
                    118: 
                    119: LOCAL_SRC_FILES += $(call add_plugin, revocation)
                    120: 
                    121: LOCAL_SRC_FILES += $(call add_plugin, sha1)
                    122: 
                    123: LOCAL_SRC_FILES += $(call add_plugin, sha2)
                    124: 
                    125: LOCAL_SRC_FILES += $(call add_plugin, x509)
                    126: 
                    127: LOCAL_SRC_FILES += $(call add_plugin, xcbc)
                    128: 
                    129: # build libstrongswan ----------------------------------------------------------
                    130: 
                    131: LOCAL_CFLAGS := $(strongswan_CFLAGS)
                    132: 
                    133: LOCAL_MODULE := libstrongswan
                    134: 
                    135: LOCAL_MODULE_TAGS := optional
                    136: 
                    137: LOCAL_ARM_MODE := arm
                    138: 
                    139: LOCAL_PRELINK_MODULE := false
                    140: 
                    141: LOCAL_LDLIBS += -ldl
                    142: 
                    143: include $(BUILD_SHARED_LIBRARY)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>