File: Makefile.am

package info (click to toggle)
dsfmt 2.2.3+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 944 kB
  • sloc: ansic: 4,839; makefile: 94; sh: 17
file content (103 lines) | stat: -rw-r--r-- 3,517 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
ACLOCAL_AMFLAGS = -I m4

include_HEADERS = dSFMT.h

lib_LTLIBRARIES = libdSFMT-521.la libdSFMT-1279.la libdSFMT-2203.la \
	libdSFMT-4253.la libdSFMT-11213.la libdSFMT-19937.la \
	libdSFMT-44497.la libdSFMT-86243.la libdSFMT-132049.la \
	libdSFMT-216091.la

libdSFMT_CPPFLAGS = -DDSFMT_BUILDING_LIB -DDSFMT_DO_NOT_USE_OLD_NAMES
libdSFMT_LDFLAGS = -version-info $(LIB_VERSION)

libdSFMT_521_la_SOURCES = dSFMT.c
libdSFMT_521_la_CPPFLAGS = -DDSFMT_MEXP=521 $(libdSFMT_CPPFLAGS)
libdSFMT_521_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_1279_la_SOURCES = dSFMT.c
libdSFMT_1279_la_CPPFLAGS = -DDSFMT_MEXP=1279 $(libdSFMT_CPPFLAGS)
libdSFMT_1279_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_2203_la_SOURCES = dSFMT.c
libdSFMT_2203_la_CPPFLAGS = -DDSFMT_MEXP=2203 $(libdSFMT_CPPFLAGS)
libdSFMT_2203_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_4253_la_SOURCES = dSFMT.c
libdSFMT_4253_la_CPPFLAGS = -DDSFMT_MEXP=4253 $(libdSFMT_CPPFLAGS)
libdSFMT_4253_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_11213_la_SOURCES = dSFMT.c
libdSFMT_11213_la_CPPFLAGS = -DDSFMT_MEXP=11213 $(libdSFMT_CPPFLAGS)
libdSFMT_11213_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_19937_la_SOURCES = dSFMT.c
libdSFMT_19937_la_CPPFLAGS = -DDSFMT_MEXP=19937 $(libdSFMT_CPPFLAGS)
libdSFMT_19937_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_44497_la_SOURCES = dSFMT.c
libdSFMT_44497_la_CPPFLAGS = -DDSFMT_MEXP=44497 $(libdSFMT_CPPFLAGS)
libdSFMT_44497_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_86243_la_SOURCES = dSFMT.c
libdSFMT_86243_la_CPPFLAGS = -DDSFMT_MEXP=86243 $(libdSFMT_CPPFLAGS)
libdSFMT_86243_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_132049_la_SOURCES = dSFMT.c
libdSFMT_132049_la_CPPFLAGS = -DDSFMT_MEXP=132049 $(libdSFMT_CPPFLAGS)
libdSFMT_132049_la_LDFLAGS = $(libdSFMT_LDFLAGS)

libdSFMT_216091_la_SOURCES = dSFMT.c
libdSFMT_216091_la_CPPFLAGS = -DDSFMT_MEXP=216091 $(libdSFMT_CPPFLAGS)
libdSFMT_216091_la_LDFLAGS = $(libdSFMT_LDFLAGS)

install-exec-hook:
	cd $(DESTDIR)$(libdir) && if test -f libdSFMT-19937.la; then $(LN_S) -f libdSFMT-19937.la libdSFMT.la; fi
	cd $(DESTDIR)$(libdir) && if test -f libdSFMT-19937.so; then $(LN_S) -f libdSFMT-19937.so libdSFMT.so; fi
	cd $(DESTDIR)$(libdir) && if test -f libdSFMT-19937.a; then $(LN_S) -f libdSFMT-19937.a libdSFMT.a; fi

noinst_PROGRAMS = test-M521 test-M1279 test-M2203 test-M4253 \
	test-M11213 test-M19937 test-M44497 test-M86243 \
	test-M132049 test-M216091

test_M521_SOURCES = test.c
test_M521_CPPFLAGS = -DDSFMT_MEXP=521
test_M521_LDADD = libdSFMT-521.la

test_M1279_SOURCES = test.c
test_M1279_CPPFLAGS = -DDSFMT_MEXP=1279
test_M1279_LDADD = libdSFMT-1279.la

test_M2203_SOURCES = test.c
test_M2203_CPPFLAGS = -DDSFMT_MEXP=2203
test_M2203_LDADD = libdSFMT-2203.la

test_M4253_SOURCES = test.c
test_M4253_CPPFLAGS = -DDSFMT_MEXP=4253
test_M4253_LDADD = libdSFMT-4253.la

test_M11213_SOURCES = test.c
test_M11213_CPPFLAGS = -DDSFMT_MEXP=11213
test_M11213_LDADD = libdSFMT-11213.la

test_M19937_SOURCES = test.c
test_M19937_CPPFLAGS = -DDSFMT_MEXP=19937
test_M19937_LDADD = libdSFMT-19937.la

test_M44497_SOURCES = test.c
test_M44497_CPPFLAGS = -DDSFMT_MEXP=44497
test_M44497_LDADD = libdSFMT-44497.la

test_M86243_SOURCES = test.c
test_M86243_CPPFLAGS = -DDSFMT_MEXP=86243
test_M86243_LDADD = libdSFMT-86243.la

test_M132049_SOURCES = test.c
test_M132049_CPPFLAGS = -DDSFMT_MEXP=132049
test_M132049_LDADD = libdSFMT-132049.la

test_M216091_SOURCES = test.c
test_M216091_CPPFLAGS = -DDSFMT_MEXP=216091
test_M216091_LDADD = libdSFMT-216091.la

check test: $(noinst_PROGRAMS)
	./check.sh test