make distcheck works.

This commit is contained in:
Clifford T. Matthews 2009-12-05 15:34:57 -07:00
parent 21b993bbdd
commit 36cf1b7528
6 changed files with 68 additions and 8 deletions

4
.gitignore vendored
View File

@ -17,3 +17,7 @@ missing
config.h
config.h.in
stamp-h1
libtool
ltmain.sh
m4
syn68k-*.tar.gz

View File

@ -1,3 +1,5 @@
# $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = syngen runtime test profile
DIST_SOURCES = include/safe_alloca.h include/syn68k_public.h

View File

@ -2,9 +2,17 @@ CC=@CC_FOR_BUILD@
noinst_PROGRAMS = makebucket profile
EXEEXT =
profile_SOURCES = bucket.c main.c readprofile.c amode.c frequency.c
BUILT_SOURCES = bucket.c
profile_SOURCES = main.c readprofile.c amode.c frequency.c \
include/amode.h include/bucket.h \
include/frequency.h include/readprofile.h
nodist_profile_SOURCES = bucket.c
makebucket_SOURCES = makebucket.c amode.c \
include/amode.h include/bucket.h
makebucket_SOURCES = makebucket.c amode.c
AM_CFLAGS = -g -Wall -I$(srcdir)/include -I$(srcdir)/../include
@ -13,3 +21,6 @@ all:
bucket.c: makebucket ../runtime/profileinfo.gz
./makebucket ../runtime/profileinfo.gz > bucket.c
clean-local:
-rm -f bucket.c

View File

@ -26,6 +26,34 @@ dce_fixup=@dce_fixup@
AM_CFLAGS = -DRUNTIME
DIST_SOURCES = 68k.defines.scm 68k.scm alloc.c backpatch.c block.c \
blockinfo.c callback.c checksum.c deathqueue.c destroyblock.c \
diagnostics.c dosinterrupts.c fold.pl hash.c i486-cleanup.pl \
i486-optimize.pl init.c interrupt.c native.c opcode_dummy.c \
profile.c rangetree.c recompile.c reg sched.pl syn68k_header.c \
translate.c trap.c x86_recog.pl \
\
include/alloc.h \
include/backpatch.h include/block.h include/blockinfo.h \
include/callback.h include/ccfuncs.h include/checksum.h \
include/deathqueue.h include/destroyblock.h \
include/diagnostics.h include/hash.h include/interrupt.h \
include/mapping.h include/native.h include/profile.h \
include/rangetree.h include/recompile.h include/translate.h \
include/trap.h \
\
native/i386/analyze.c native/i386/host-native.c \
native/i386/host-native.h native/i386/i386-aux.c \
native/i386/i386-aux.h native/i386/main.c \
native/i386/process.c native/i386/process.h \
native/i386/template.c native/i386/template.h \
native/i386/xlate-aux.c native/i386/xlate-aux.h \
native/i386/xlate.c native/i386/xlate.h \
native/i386/xlatemain.c native/i386/xlatetable.c \
\
native/null/Makefile native/null/host-native.h \
native/null/host-xlate.h
LOCAL_INCLUDES =
LOCAL_INCLUDES += -I$(srcdir)/include \
@ -98,3 +126,7 @@ syn68k.c mapindex.c mapinfo.c profileinfo.gz: ../syngen/syngen syn68k_header.c 6
fi
../syngen/syngen -v 68k.scm
gzip -1f profileinfo
clean-local:
-rm -rf native 68k.defines.scm 68k.scm mapinfo.c syn68k.c mapindex.c \
profileinfo.gz syn68k_header.c bucket.c

View File

@ -5,7 +5,13 @@ syngen_CPPFLAGS = -DSYNGEN
syngen_SOURCES = main.c token.c hash.c parse.c list.c reduce.c macro.c \
boolean.c error.c defopcode.c bitstring.c generatecode.c \
uniquestring.c byteorder.c
uniquestring.c byteorder.c \
\
include/boolean.h include/error.h include/reduce.h include/parse.h \
include/bitstring.h include/uniquestring.h include/hash.h \
include/byteorder.h include/tokenlist.h include/common.h \
include/macro.h include/generatecode.h include/list.h include/token.h \
include/defopcode.h
INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include

View File

@ -2,12 +2,17 @@ noinst_PROGRAMS = syngentest
syngentest_CPPFLAGS = -DMEMORY_OFFSET=8192
syngentest_SOURCES = main.c driver.c tests.c setup.c \
testtrap.c crc.c testrt.c testqsort.c \
\
include/callemulator.h include/crc.h include/driver.h \
include/run68k.h include/setup.h include/testbattery.h \
include/testqsort.h include/testrt.h include/testtrap.h \
\
maketestbattery.pl testall.sh
if M68K_HOSTCPU
syngentest_SOURCES = main.c driver.c tests.c setup.c \
testtrap.c callemulator.s run68k.s crc.c testrt.c testqsort.c
else
syngentest_SOURCES = main.c driver.c tests.c setup.c \
testtrap.c crc.c testrt.c testqsort.c
syngentest_SOURCES += callemulator.s run68k.s
endif
nodist_syngentest_SOURCES = testbattery.c