mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-06 19:54:18 +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
31 lines
739 B
Makefile
31 lines
739 B
Makefile
|
|
# For AM_FLAG_M3264_PRI
|
|
include $(top_srcdir)/Makefile.flags.am
|
|
|
|
SUBDIRS = .
|
|
if VGCONF_ARCHS_INCLUDE_X86
|
|
SUBDIRS += x86
|
|
endif
|
|
|
|
DIST_SUBDIRS = x86 .
|
|
|
|
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
|
|
|
|
EXTRA_DIST = $(noinst_SCRIPTS) \
|
|
chdir.vgtest chdir.stderr.exp \
|
|
clreq.vgtest clreq.stderr.exp \
|
|
dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
|
|
wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
|
|
|
|
check_PROGRAMS = \
|
|
chdir clreq dlclose myprint.so
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
|
|
|
|
# C ones
|
|
dlclose_LDADD = -ldl
|
|
myprint_so_SOURCES = myprint.c
|
|
myprint_so_LDFLAGS = $(AM_FLAG_M3264_PRI) -shared -fPIC
|
|
myprint_so_CFLAGS = $(AM_FLAG_M3264_PRI) -fPIC
|