Files
ftmemsim-valgrind/coregrind/x86/Makefile.am
Nicholas Nethercote 0792fdf54d Arch-abstraction:
- add a new file x86/x86_private.h, a header for the x86-specific stuff that is
  not seen by the core.
- move some LDT function decls into x86_private.h.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2683
2004-09-10 16:31:11 +00:00

30 lines
662 B
Makefile

include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer -g
noinst_HEADERS = \
core_arch.h \
core_arch_asm.h \
x86_private.h
noinst_LIBRARIES = libarch.a
EXTRA_DIST = \
ume_entry.S \
ume_go.c
BUILT_SOURCES = stage2.lds
CLEANFILES = stage2.lds
libarch_a_SOURCES = \
state.c
# Extract ld's default linker script and hack it to our needs
stage2.lds: Makefile
$(CC) -Wl,--verbose -nostdlib 2>&1 | sed \
-e '1,/^=====\+$$/d' \
-e '/^=====\+$$/d' \
-e 's/ENTRY(_start)/ENTRY(_ume_entry)/' \
-e 's/0x08048000/kickstart_base/g' > $@ || rm -f $@