mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
clearer what they mean: - They all have VGCONF_ prefixes now, to indicate they come out of configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_ #defines passed in to C files). - The ones that refer to the primary *or* secondary platform have _INCLUDES_ in them. - The ones that are in all-caps have a _CAPS suffix. So, for example, what was VGP_X86_LINUX is now VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot clearer. The names of the #defines used in the C files (VGA_x86, VGO_linux, etc) are unchanged. cputest.c: changed to reflect the Valgrind installation's capabilities, rather than the machine's capabilities. In particular, if --enable-only32bit is used on a 64-bit machine, then this program will claim to only support 32-bits. Also use the VGA/VGO/VGP macros which are clearer than the __i386__ ones. (This is partially merged from the DARWIN branch.) configure.in: clean up the comments, distinguish different sections more clearly, and generally make it more readable. valgrind.pc.in: try to make this more accurate. I doubt anyone's using it. It doesn't appear to be set up to handle dual-architecture builds. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9031
66 lines
2.6 KiB
Makefile
66 lines
2.6 KiB
Makefile
include $(top_srcdir)/Makefile.tool.am
|
|
|
|
noinst_PROGRAMS =
|
|
if VGCONF_PLATFORMS_INCLUDE_X86_LINUX
|
|
noinst_PROGRAMS += none-x86-linux
|
|
endif
|
|
if VGCONF_PLATFORMS_INCLUDE_AMD64_LINUX
|
|
noinst_PROGRAMS += none-amd64-linux
|
|
endif
|
|
if VGCONF_PLATFORMS_INCLUDE_PPC32_LINUX
|
|
noinst_PROGRAMS += none-ppc32-linux
|
|
endif
|
|
if VGCONF_PLATFORMS_INCLUDE_PPC64_LINUX
|
|
noinst_PROGRAMS += none-ppc64-linux
|
|
endif
|
|
if VGCONF_PLATFORMS_INCLUDE_PPC32_AIX5
|
|
noinst_PROGRAMS += none-ppc32-aix5
|
|
endif
|
|
if VGCONF_PLATFORMS_INCLUDE_PPC64_AIX5
|
|
noinst_PROGRAMS += none-ppc64-aix5
|
|
endif
|
|
|
|
NONE_SOURCES_COMMON = nl_main.c
|
|
|
|
none_x86_linux_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_x86_linux_CPPFLAGS = $(AM_CPPFLAGS_X86_LINUX)
|
|
none_x86_linux_CFLAGS = $(AM_CFLAGS_X86_LINUX)
|
|
none_x86_linux_DEPENDENCIES = $(COREGRIND_LIBS_X86_LINUX)
|
|
none_x86_linux_LDADD = $(TOOL_LDADD_X86_LINUX)
|
|
none_x86_linux_LDFLAGS = $(TOOL_LDFLAGS_X86_LINUX)
|
|
|
|
none_amd64_linux_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_amd64_linux_CPPFLAGS = $(AM_CPPFLAGS_AMD64_LINUX)
|
|
none_amd64_linux_CFLAGS = $(AM_CFLAGS_AMD64_LINUX)
|
|
none_amd64_linux_DEPENDENCIES = $(COREGRIND_LIBS_AMD64_LINUX)
|
|
none_amd64_linux_LDADD = $(TOOL_LDADD_AMD64_LINUX)
|
|
none_amd64_linux_LDFLAGS = $(TOOL_LDFLAGS_AMD64_LINUX)
|
|
|
|
none_ppc32_linux_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_ppc32_linux_CPPFLAGS = $(AM_CPPFLAGS_PPC32_LINUX)
|
|
none_ppc32_linux_CFLAGS = $(AM_CFLAGS_PPC32_LINUX)
|
|
none_ppc32_linux_DEPENDENCIES = $(COREGRIND_LIBS_PPC32_LINUX)
|
|
none_ppc32_linux_LDADD = $(TOOL_LDADD_PPC32_LINUX)
|
|
none_ppc32_linux_LDFLAGS = $(TOOL_LDFLAGS_PPC32_LINUX)
|
|
|
|
none_ppc64_linux_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_ppc64_linux_CPPFLAGS = $(AM_CPPFLAGS_PPC64_LINUX)
|
|
none_ppc64_linux_CFLAGS = $(AM_CFLAGS_PPC64_LINUX)
|
|
none_ppc64_linux_DEPENDENCIES = $(COREGRIND_LIBS_PPC64_LINUX)
|
|
none_ppc64_linux_LDADD = $(TOOL_LDADD_PPC64_LINUX)
|
|
none_ppc64_linux_LDFLAGS = $(TOOL_LDFLAGS_PPC64_LINUX)
|
|
|
|
none_ppc32_aix5_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_ppc32_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5)
|
|
none_ppc32_aix5_CFLAGS = $(AM_CFLAGS_PPC32_AIX5)
|
|
none_ppc32_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC32_AIX5)
|
|
none_ppc32_aix5_LDADD = $(TOOL_LDADD_PPC32_AIX5)
|
|
none_ppc32_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC32_AIX5)
|
|
|
|
none_ppc64_aix5_SOURCES = $(NONE_SOURCES_COMMON)
|
|
none_ppc64_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5)
|
|
none_ppc64_aix5_CFLAGS = $(AM_CFLAGS_PPC64_AIX5)
|
|
none_ppc64_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC64_AIX5)
|
|
none_ppc64_aix5_LDADD = $(TOOL_LDADD_PPC64_AIX5)
|
|
none_ppc64_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC64_AIX5)
|