File: Makefile.am

package info (click to toggle)
gmp-ecm 7.0.4%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 4,728 kB
  • sloc: asm: 36,431; ansic: 34,057; xml: 885; python: 799; sh: 698; makefile: 348
file content (114 lines) | stat: -rw-r--r-- 3,800 bytes parent folder | download | duplicates (3)
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
104
105
106
107
108
109
110
111
112
113
114
MULREDC = mulredc1.asm mulredc2.asm mulredc3.asm mulredc4.asm mulredc5.asm mulredc6.asm \
          mulredc7.asm mulredc8.asm mulredc9.asm mulredc10.asm mulredc11.asm \
          mulredc12.asm mulredc13.asm mulredc14.asm mulredc15.asm mulredc16.asm \
          mulredc17.asm mulredc18.asm mulredc19.asm mulredc20.asm
MULREDC1 = mulredc1_2.asm mulredc1_3.asm mulredc1_4.asm mulredc1_5.asm \
           mulredc1_6.asm mulredc1_7.asm mulredc1_8.asm mulredc1_9.asm mulredc1_10.asm \
           mulredc1_11.asm mulredc1_12.asm mulredc1_13.asm mulredc1_14.asm \
           mulredc1_15.asm mulredc1_16.asm mulredc1_17.asm mulredc1_18.asm \
           mulredc1_19.asm mulredc1_20.asm
EXTRA_DIST = autogen.py generate_all mulredc.m4 mulredc1.m4

noinst_LTLIBRARIES = libmulredc.la
noinst_HEADERS = mulredc.h

# This library definition also causes the mulredc[n].asm and mulredc1_[n].asm
# files to go in the distribution - no need for having them in EXTRA_DIST
libmulredc_la_SOURCES = $(MULREDC) $(MULREDC1)
# It's actually the .s files that depend on config.m4, but automake
# knows them only as intermediate files, not as targets. Adding the
# dependency to libmulredc.la should work so long as no stale .s
# files exist.
libmulredc_la_DEPENDENCIES = $(top_builddir)/config.m4

# The asm code does not depend on any libraries except libc for abort()
# if assertions are enabled
LIBS = 
LDFLAGS = 
  
# There has to be a way of making this automatically
mulredc2.asm: mulredc.m4
	$(M4) -DLENGTH=2 $< > $@
mulredc3.asm: mulredc.m4
	$(M4) -DLENGTH=3 $< > $@
mulredc4.asm: mulredc.m4
	$(M4) -DLENGTH=4 $< > $@
mulredc5.asm: mulredc.m4
	$(M4) -DLENGTH=5 $< > $@
mulredc6.asm: mulredc.m4
	$(M4) -DLENGTH=6 $< > $@
mulredc7.asm: mulredc.m4
	$(M4) -DLENGTH=7 $< > $@
mulredc8.asm: mulredc.m4
	$(M4) -DLENGTH=8 $< > $@
mulredc9.asm: mulredc.m4
	$(M4) -DLENGTH=9 $< > $@
mulredc10.asm: mulredc.m4
	$(M4) -DLENGTH=10 $< > $@
mulredc11.asm: mulredc.m4
	$(M4) -DLENGTH=11 $< > $@
mulredc12.asm: mulredc.m4
	$(M4) -DLENGTH=12 $< > $@
mulredc13.asm: mulredc.m4
	$(M4) -DLENGTH=13 $< > $@
mulredc14.asm: mulredc.m4
	$(M4) -DLENGTH=14 $< > $@
mulredc15.asm: mulredc.m4
	$(M4) -DLENGTH=15 $< > $@
mulredc16.asm: mulredc.m4
	$(M4) -DLENGTH=16 $< > $@
mulredc17.asm: mulredc.m4
	$(M4) -DLENGTH=17 $< > $@
mulredc18.asm: mulredc.m4
	$(M4) -DLENGTH=18 $< > $@
mulredc19.asm: mulredc.m4
	$(M4) -DLENGTH=19 $< > $@
mulredc20.asm: mulredc.m4
	$(M4) -DLENGTH=20 $< > $@

mulredc1_2.asm: mulredc1.m4
	$(M4) -DLENGTH=2 $< > $@
mulredc1_3.asm: mulredc1.m4
	$(M4) -DLENGTH=3 $< > $@
mulredc1_4.asm: mulredc1.m4
	$(M4) -DLENGTH=4 $< > $@
mulredc1_5.asm: mulredc1.m4
	$(M4) -DLENGTH=5 $< > $@
mulredc1_6.asm: mulredc1.m4
	$(M4) -DLENGTH=6 $< > $@
mulredc1_7.asm: mulredc1.m4
	$(M4) -DLENGTH=7 $< > $@
mulredc1_8.asm: mulredc1.m4
	$(M4) -DLENGTH=8 $< > $@
mulredc1_9.asm: mulredc1.m4
	$(M4) -DLENGTH=9 $< > $@
mulredc1_10.asm: mulredc1.m4
	$(M4) -DLENGTH=10 $< > $@
mulredc1_11.asm: mulredc1.m4
	$(M4) -DLENGTH=11 $< > $@
mulredc1_12.asm: mulredc1.m4
	$(M4) -DLENGTH=12 $< > $@
mulredc1_13.asm: mulredc1.m4
	$(M4) -DLENGTH=13 $< > $@
mulredc1_14.asm: mulredc1.m4
	$(M4) -DLENGTH=14 $< > $@
mulredc1_15.asm: mulredc1.m4
	$(M4) -DLENGTH=15 $< > $@
mulredc1_16.asm: mulredc1.m4
	$(M4) -DLENGTH=16 $< > $@
mulredc1_17.asm: mulredc1.m4
	$(M4) -DLENGTH=17 $< > $@
mulredc1_18.asm: mulredc1.m4
	$(M4) -DLENGTH=18 $< > $@
mulredc1_19.asm: mulredc1.m4
	$(M4) -DLENGTH=19 $< > $@
mulredc1_20.asm: mulredc1.m4
	$(M4) -DLENGTH=20 $< > $@

.asm.s:
	$(M4) -I../ -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >$*.s
# Nothing here needs the C preprocessor, and including this rule causes
# "make" to build .S, then .s files which fails on case-insensitive 
# filesystems
#.asm.S:
#	$(M4) -I../ -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >$*.S