File: Makefile.am

package info (click to toggle)
libcrcutil 1.0-5.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,212 kB
  • sloc: cpp: 4,237; sh: 1,112; ansic: 191; makefile: 54; awk: 17
file content (47 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (5)
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
AM_CXXFLAGS=-DCRCUTIL_USE_MM_CRC32=1 -Wall $(FLAG_MCRC32) -Icode
AM_CFLAGS=$(AM_CXXFLAGS)

lib_LTLIBRARIES = libcrcutil.la
libcrcutil_la_SOURCES = \
    code/crc32c_sse4.cc \
    code/multiword_128_64_gcc_amd64_sse2.cc \
    code/multiword_64_64_cl_i386_mmx.cc \
    code/multiword_64_64_gcc_amd64_asm.cc \
    code/multiword_64_64_gcc_i386_mmx.cc

libcrcutil_la_LDFLAGS = -version-info $(LIBCRCUTIL_SO_VERSION) -no-undefined
libcrcutil_includedir = $(includedir)/crcutil
libcrcutil_include_HEADERS = \
    code/base_types.h \
    code/crc32c_sse4.h \
    code/crc32c_sse4_intrin.h \
    code/crc_casts.h \
    code/generic_crc.h \
    code/gf_util.h \
    code/platform.h \
    code/protected_crc.h \
    code/rolling_crc.h \
    code/std_headers.h \
    code/uint128_sse2.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcrcutil.pc

check_PROGRAMS=crcutil_ut
TESTS=crcutil_ut
crcutil_ut_SOURCES = \
    tests/aligned_alloc.h \
    tests/bob_jenkins_rng.h \
    tests/rdtsc.h \
    tests/set_hi_pri.c \
    tests/unittest.cc \
    tests/unittest.h \
    tests/unittest_helper.h

crcutil_ut_LDADD = libcrcutil.la

tmpdir=/tmp
tmp_PROGRAMS=usage
usage_LDADD=libcrcutil.la
usage_CXXFLAGS=$(AM_CXXFLAGS) -Itests
usage_SOURCES = examples/interface.cc examples/interface.h examples/usage.cc