[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / acopm

Annotation of acopm/Makefile.am, Revision 1.1.1.1

1.1       bountyht    1: AM_CPPFLAGS = -Ilib -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE=1
                      2:
                      3:
                      4:
                      5: noinst_LIBRARIES = libirc.a libdnsbl.a libproxy.a libutils.a
                      6:
                      7: libirc_a_SOURCES =              \
                      8:     lib/irc/client.c            \
                      9:     lib/irc/commands.c          \
                     10:     lib/irc/internal.c
                     11:
                     12: libdnsbl_a_SOURCES =            \
                     13:     lib/dnsbl/client.c          \
                     14:     lib/dnsbl/domain.c          \
                     15:     lib/dnsbl/lookup.c          \
                     16:     lib/dnsbl/match.c           \
                     17:     lib/dnsbl/request.c
                     18:
                     19: libproxy_a_SOURCES =            \
                     20:     lib/proxy/client.c          \
                     21:     lib/proxy/host.c            \
                     22:     lib/proxy/port.c            \
                     23:     lib/proxy/protos/http.c     \
                     24:     lib/proxy/protos/socks4.c   \
                     25:     lib/proxy/protos/socks5.c
                     26:
                     27: libutils_a_SOURCES =            \
                     28:     lib/utils/addr.c            \
                     29:     lib/utils/base64.c          \
                     30:     lib/utils/bufconn.c         \
                     31:     lib/utils/cidr.c            \
                     32:     lib/utils/ignore_errno.c    \
                     33:     lib/utils/log.c             \
                     34:     lib/utils/misc.c            \
                     35:     lib/utils/siphash24.c
                     36:
                     37:
                     38:
                     39: if WITH_MBEDTLS_INTERNAL
                     40:
                     41: AM_CPPFLAGS += -Imbedtls/include -DMBEDTLS_CONFIG_FILE='"3rdparty/mbedtls-config.h"'
                     42:
                     43: noinst_LIBRARIES += libmbedtls.a
                     44:
                     45: libmbedtls_a_CPPFLAGS = $(AM_CPPFLAGS) -w
                     46:
                     47: libmbedtls_a_SOURCES =                  \
                     48:     mbedtls/library/aes.c               \
                     49:     mbedtls/library/asn1parse.c         \
                     50:     mbedtls/library/asn1write.c         \
                     51:     mbedtls/library/base64.c            \
                     52:     mbedtls/library/bignum.c            \
                     53:     mbedtls/library/camellia.c          \
                     54:     mbedtls/library/ccm.c               \
                     55:     mbedtls/library/cipher.c            \
                     56:     mbedtls/library/cipher_wrap.c       \
                     57:     mbedtls/library/dhm.c               \
                     58:     mbedtls/library/ecdh.c              \
                     59:     mbedtls/library/ecdsa.c             \
                     60:     mbedtls/library/ecp.c               \
                     61:     mbedtls/library/ecp_curves.c        \
                     62:     mbedtls/library/entropy.c           \
                     63:     mbedtls/library/entropy_poll.c      \
                     64:     mbedtls/library/error.c             \
                     65:     mbedtls/library/gcm.c               \
                     66:     mbedtls/library/hmac_drbg.c         \
                     67:     mbedtls/library/md.c                \
                     68:     mbedtls/library/md_wrap.c           \
                     69:     mbedtls/library/oid.c               \
                     70:     mbedtls/library/pem.c               \
                     71:     mbedtls/library/pk.c                \
                     72:     mbedtls/library/pk_wrap.c           \
                     73:     mbedtls/library/pkparse.c           \
                     74:     mbedtls/library/pkwrite.c           \
                     75:     mbedtls/library/rsa.c               \
                     76:     mbedtls/library/sha1.c              \
                     77:     mbedtls/library/sha256.c            \
                     78:     mbedtls/library/sha512.c            \
                     79:     mbedtls/library/ssl_ciphersuites.c  \
                     80:     mbedtls/library/ssl_cli.c           \
                     81:     mbedtls/library/ssl_tls.c           \
                     82:     mbedtls/library/x509.c              \
                     83:     mbedtls/library/x509_crt.c
                     84:
                     85: endif
                     86:
                     87:
                     88:
                     89: bin_PROGRAMS = acopm
                     90:
                     91: acopm_LDADD = $(noinst_LIBRARIES)
                     92:
                     93: acopm_SOURCES =                 \
                     94:     src/acopm.c                 \
                     95:     src/check.c                 \
                     96:     src/config.c                \
                     97:     src/daemon.c                \
                     98:     src/exec.c                  \
                     99:     src/options.c               \
                    100:     src/signal.c                \
                    101:     src/vars.c
                    102:
                    103:
                    104:
                    105: TESTS = test-cidr test-siphash
                    106:
                    107: check_PROGRAMS = $(TESTS)
                    108:
                    109: test_cidr_LDADD = libutils.a
                    110: test_siphash_LDADD = libutils.a
                    111:
                    112: test_cidr_SOURCES = tests/cidr.c
                    113: test_siphash_SOURCES = tests/siphash24.c
                    114:
                    115:
                    116:
                    117: install-data-hook:
                    118:        $(MKDIR_P) -m 0755 '${DESTDIR}@bindir@'
                    119:        $(MKDIR_P) -m 0755 '${DESTDIR}@sysconfdir@'
                    120:        $(INSTALL) -m 0755 'dist/acopm-dronebl-submit.py' '${DESTDIR}@bindir@/'
                    121:        $(INSTALL) -m 0755 'dist/acopm-mkfingerprint.sh' '${DESTDIR}@bindir@/'
                    122:        $(INSTALL) -m 0600 'dist/acopm.conf.example' '${DESTDIR}@sysconfdir@/'

CVSweb