mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
dlfcn: Reformat Makefile.
Reflow and sort Makefile. No code generation changes in non-test binary artifacts. No regressions on x86_64 and i686.
This commit is contained in:
parent
a4a12af5ab
commit
c432e667fc
@ -19,7 +19,11 @@ subdir := dlfcn
|
|||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
headers := bits/dlfcn.h bits/dl_find_object.h dlfcn.h
|
headers := \
|
||||||
|
bits/dl_find_object.h \
|
||||||
|
bits/dlfcn.h \
|
||||||
|
dlfcn.h \
|
||||||
|
# headers
|
||||||
extra-libs := libdl
|
extra-libs := libdl
|
||||||
libdl-routines := libdl-compat
|
libdl-routines := libdl-compat
|
||||||
routines = \
|
routines = \
|
||||||
@ -33,6 +37,7 @@ routines = \
|
|||||||
dlsym \
|
dlsym \
|
||||||
dlvsym \
|
dlvsym \
|
||||||
libc_dlerror_result \
|
libc_dlerror_result \
|
||||||
|
# routines
|
||||||
|
|
||||||
extra-libs-others := libdl
|
extra-libs-others := libdl
|
||||||
|
|
||||||
@ -49,24 +54,69 @@ shared-only-routines := dlopenold
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
tests = glrefmain failtest tst-dladdr default errmsg1 tstcxaatexit \
|
tests = \
|
||||||
bug-dlopen1 bug-dlsym1 tst-dlinfo bug-atexit1 bug-atexit2 \
|
bug-atexit1 \
|
||||||
bug-atexit3 tstatexit bug-dl-leaf tst-rec-dlopen
|
bug-atexit2 \
|
||||||
|
bug-atexit3 \
|
||||||
|
bug-dl-leaf \
|
||||||
|
bug-dlopen1 \
|
||||||
|
bug-dlsym1 \
|
||||||
|
default \
|
||||||
|
errmsg1 \
|
||||||
|
failtest \
|
||||||
|
glrefmain \
|
||||||
|
tst-dladdr \
|
||||||
|
tst-dlinfo \
|
||||||
|
tst-rec-dlopen \
|
||||||
|
tstatexit \
|
||||||
|
tstcxaatexit \
|
||||||
|
# tests
|
||||||
endif
|
endif
|
||||||
modules-names = glreflib1 glreflib2 glreflib3 failtestmod defaultmod1 \
|
modules-names = \
|
||||||
defaultmod2 errmsg1mod modatexit modcxaatexit \
|
bug-atexit1-lib \
|
||||||
bug-dlsym1-lib1 bug-dlsym1-lib2 bug-atexit1-lib \
|
bug-atexit2-lib \
|
||||||
bug-atexit2-lib bug-dl-leaf-lib \
|
bug-dl-leaf-lib \
|
||||||
bug-dl-leaf-lib-cb moddummy1 moddummy2
|
bug-dl-leaf-lib-cb \
|
||||||
|
bug-dlsym1-lib1 \
|
||||||
|
bug-dlsym1-lib2 \
|
||||||
|
defaultmod1 \
|
||||||
|
defaultmod2 \
|
||||||
|
errmsg1mod \
|
||||||
|
failtestmod \
|
||||||
|
glreflib1 \
|
||||||
|
glreflib2 \
|
||||||
|
glreflib3 \
|
||||||
|
modatexit \
|
||||||
|
modcxaatexit \
|
||||||
|
moddummy1 \
|
||||||
|
moddummy2 \
|
||||||
|
# modules-names
|
||||||
|
|
||||||
failtestmod.so-no-z-defs = yes
|
failtestmod.so-no-z-defs = yes
|
||||||
glreflib2.so-no-z-defs = yes
|
glreflib2.so-no-z-defs = yes
|
||||||
errmsg1mod.so-no-z-defs = yes
|
errmsg1mod.so-no-z-defs = yes
|
||||||
|
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
tests += tststatic tststatic2 tststatic3 tststatic4 tststatic5
|
tests += \
|
||||||
tests-static += tststatic tststatic2 tststatic3 tststatic4 tststatic5
|
tststatic \
|
||||||
modules-names += modstatic modstatic2 modstatic3 modstatic5
|
tststatic2 \
|
||||||
|
tststatic3 \
|
||||||
|
tststatic4 \
|
||||||
|
tststatic5 \
|
||||||
|
# tests
|
||||||
|
tests-static += \
|
||||||
|
tststatic \
|
||||||
|
tststatic2 \
|
||||||
|
tststatic3 \
|
||||||
|
tststatic4 \
|
||||||
|
tststatic5 \
|
||||||
|
# tests-static
|
||||||
|
modules-names += \
|
||||||
|
modstatic \
|
||||||
|
modstatic2 \
|
||||||
|
modstatic3 \
|
||||||
|
modstatic5 \
|
||||||
|
# modules-names
|
||||||
tststatic-ENV = LD_LIBRARY_PATH=$(ld-library-path):$(common-objpfx)elf
|
tststatic-ENV = LD_LIBRARY_PATH=$(ld-library-path):$(common-objpfx)elf
|
||||||
tststatic2-ENV = $(tststatic-ENV)
|
tststatic2-ENV = $(tststatic-ENV)
|
||||||
tststatic3-ENV = $(tststatic-ENV)
|
tststatic3-ENV = $(tststatic-ENV)
|
||||||
|
Loading…
Reference in New Issue
Block a user