Skip to content

Commit

Permalink
make distcheck works.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctm committed Dec 5, 2009
1 parent 21b993b commit 36cf1b7
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -17,3 +17,7 @@ missing
config.h config.h
config.h.in config.h.in
stamp-h1 stamp-h1
libtool
ltmain.sh
m4
syn68k-*.tar.gz
2 changes: 2 additions & 0 deletions Makefile.am
@@ -1,3 +1,5 @@
# $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $ # $Id: Makefile.am 61 2004-12-21 23:44:50Z ctm $
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = syngen runtime test profile SUBDIRS = syngen runtime test profile

DIST_SOURCES = include/safe_alloca.h include/syn68k_public.h
15 changes: 13 additions & 2 deletions profile/Makefile.am
Expand Up @@ -2,9 +2,17 @@ CC=@CC_FOR_BUILD@
noinst_PROGRAMS = makebucket profile noinst_PROGRAMS = makebucket profile
EXEEXT = 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 AM_CFLAGS = -g -Wall -I$(srcdir)/include -I$(srcdir)/../include


Expand All @@ -13,3 +21,6 @@ all:


bucket.c: makebucket ../runtime/profileinfo.gz bucket.c: makebucket ../runtime/profileinfo.gz
./makebucket ../runtime/profileinfo.gz > bucket.c ./makebucket ../runtime/profileinfo.gz > bucket.c

clean-local:
-rm -f bucket.c
32 changes: 32 additions & 0 deletions runtime/Makefile.am
Expand Up @@ -26,6 +26,34 @@ dce_fixup=@dce_fixup@


AM_CFLAGS = -DRUNTIME 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 =


LOCAL_INCLUDES += -I$(srcdir)/include \ LOCAL_INCLUDES += -I$(srcdir)/include \
Expand Down Expand Up @@ -98,3 +126,7 @@ syn68k.c mapindex.c mapinfo.c profileinfo.gz: ../syngen/syngen syn68k_header.c 6
fi fi
../syngen/syngen -v 68k.scm ../syngen/syngen -v 68k.scm
gzip -1f profileinfo 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
8 changes: 7 additions & 1 deletion syngen/Makefile.am
Expand Up @@ -5,7 +5,13 @@ syngen_CPPFLAGS = -DSYNGEN


syngen_SOURCES = main.c token.c hash.c parse.c list.c reduce.c macro.c \ 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 \ 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 INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include


Expand Down
15 changes: 10 additions & 5 deletions test/Makefile.am
Expand Up @@ -2,12 +2,17 @@ noinst_PROGRAMS = syngentest


syngentest_CPPFLAGS = -DMEMORY_OFFSET=8192 syngentest_CPPFLAGS = -DMEMORY_OFFSET=8192


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 \ syngentest_SOURCES = main.c driver.c tests.c setup.c \
testtrap.c crc.c testrt.c testqsort.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 += callemulator.s run68k.s
endif endif


nodist_syngentest_SOURCES = testbattery.c nodist_syngentest_SOURCES = testbattery.c
Expand Down

0 comments on commit 36cf1b7

Please sign in to comment.