mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).
As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).
There are various twists and turns. multiple-architectures.txt is
updated all the gory details.
This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493
69 lines
1.2 KiB
Makefile
69 lines
1.2 KiB
Makefile
|
|
include $(top_srcdir)/Makefile.all.am
|
|
include $(top_srcdir)/Makefile.flags.am
|
|
|
|
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g
|
|
|
|
val_PROGRAMS = hp2ps
|
|
|
|
EXTRA_DIST = \
|
|
CHANGES \
|
|
INSTALL \
|
|
LICENSE \
|
|
README \
|
|
Makefile.old \
|
|
hp2ps.1
|
|
|
|
hp2ps_SOURCES = \
|
|
AuxFile.c \
|
|
Axes.c \
|
|
AreaBelow.c \
|
|
Curves.c \
|
|
Deviation.c \
|
|
Dimensions.c \
|
|
Error.c \
|
|
HpFile.c \
|
|
Key.c \
|
|
Main.c \
|
|
Marks.c \
|
|
TopTwenty.c \
|
|
TraceElement.c \
|
|
PsFile.c \
|
|
Reorder.c \
|
|
Scale.c \
|
|
Shade.c \
|
|
Utilities.c
|
|
|
|
# Build hp2ps for the primary target only.
|
|
hp2ps_LDADD = -lm
|
|
hp2ps_CPPFLAGS = $(AM_CPPFLAGS_PRI)
|
|
hp2ps_CFLAGS = $(AM_CFLAGS_PRI)
|
|
hp2ps_CCASFLAGS = $(AM_CCASFLAGS_PRI)
|
|
hp2ps_LDFLAGS = $(AM_CFLAGS_PRI)
|
|
|
|
noinst_HEADERS = \
|
|
AreaBelow.h \
|
|
AuxFile.h \
|
|
Axes.h \
|
|
Curves.h \
|
|
Defines.h \
|
|
Deviation.h \
|
|
Dimensions.h \
|
|
Error.h \
|
|
HpFile.h \
|
|
Key.h \
|
|
Main.h \
|
|
Marks.h \
|
|
PsFile.h \
|
|
Reorder.h \
|
|
Scale.h \
|
|
Shade.h \
|
|
TopTwenty.h \
|
|
TraceElement.h \
|
|
Utilities.h
|
|
|
|
all-local:
|
|
mkdir -p $(inplacedir)
|
|
-rm -f $(addprefix $(inplacedir)/,$(val_PROGRAMS))
|
|
ln -f -s $(addprefix ../$(subdir)/,$(val_PROGRAMS)) $(inplacedir)
|