about summary refs log tree commit diff
path: root/sysdeps/s390/s390-64/Makefile
blob: 66ed844e68df5159472b6a1d4cef44642ba8574c (plain) (blame)
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
ifeq ($(subdir),gmon)
sysdep_routines += s390x-mcount
endif

ifeq ($(subdir),elf)
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
CFLAGS-dl-load.c += -Wno-unused
CFLAGS-dl-reloc.c += -Wno-unused

$(objpfx)tst-glibc-hwcaps: \
  $(objpfx)libmarkermod2-1.so \
  $(objpfx)libmarkermod3-1.so \
  $(objpfx)libmarkermod4-1.so \
  $(objpfx)libmarkermod5-1.so
$(objpfx)tst-glibc-hwcaps.out: \
  $(objpfx)libmarkermod2.so \
    $(objpfx)glibc-hwcaps/z13/libmarkermod2.so \
  $(objpfx)libmarkermod3.so \
    $(objpfx)glibc-hwcaps/z13/libmarkermod3.so \
    $(objpfx)glibc-hwcaps/z14/libmarkermod3.so \
  $(objpfx)libmarkermod4.so \
    $(objpfx)glibc-hwcaps/z13/libmarkermod4.so \
    $(objpfx)glibc-hwcaps/z14/libmarkermod4.so \
    $(objpfx)glibc-hwcaps/z15/libmarkermod4.so \
  $(objpfx)libmarkermod5.so \
    $(objpfx)glibc-hwcaps/z13/libmarkermod5.so \
    $(objpfx)glibc-hwcaps/z14/libmarkermod5.so \
    $(objpfx)glibc-hwcaps/z15/libmarkermod5.so \
    $(objpfx)glibc-hwcaps/z16/libmarkermod5.so

$(objpfx)glibc-hwcaps/z13/libmarkermod2.so: $(objpfx)libmarkermod2-2.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z13/libmarkermod3.so: $(objpfx)libmarkermod3-2.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z14/libmarkermod3.so: $(objpfx)libmarkermod3-3.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z13/libmarkermod4.so: $(objpfx)libmarkermod4-2.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z14/libmarkermod4.so: $(objpfx)libmarkermod4-3.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z15/libmarkermod4.so: $(objpfx)libmarkermod4-4.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z13/libmarkermod5.so: $(objpfx)libmarkermod5-2.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z14/libmarkermod5.so: $(objpfx)libmarkermod5-3.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z15/libmarkermod5.so: $(objpfx)libmarkermod5-4.so
	$(make-target-directory)
	cp $< $@
$(objpfx)glibc-hwcaps/z16/libmarkermod5.so: $(objpfx)libmarkermod5-5.so
	$(make-target-directory)
	cp $< $@


ifeq (no,$(build-hardcoded-path-in-tests))
# This is an ld.so.cache test, and RPATH/RUNPATH in the executable
# interferes with its test objectives.
tests-container += tst-glibc-hwcaps-cache
endif

endif # $(subdir) == elf