Search
lxdream.org :: lxdream/src/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 738:0cbff49086b8
prev731:ee2e929cca3a
next748:4fa68ea01d29
author nkeynes
date Tue Jul 15 06:47:49 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Record the SVN revision in the build
Rationalise the version/copyright strings a little as well.
file annotate diff log raw
1.1 --- a/src/Makefile.am Tue Jul 08 12:29:53 2008 +0000
1.2 +++ b/src/Makefile.am Tue Jul 15 06:47:49 2008 +0000
1.3 @@ -1,5 +1,5 @@
1.4 ## Process this file with automake to produce Makefile.in
1.5 -
1.6 +SVNVERSION=@SVNVERSION@
1.7 INCLUDES = \
1.8 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
1.9 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
1.10 @@ -11,16 +11,26 @@
1.11 noinst_PROGRAMS = gendec genglsl
1.12 check_PROGRAMS = test/testxlt
1.13
1.14 -EXTRA_DIST=drivers/genkeymap.pl
1.15 +
1.16 +EXTRA_DIST=drivers/genkeymap.pl checkver.pl
1.17 AM_CFLAGS = -D_ISOC99_SOURCE -D_BSD_SOURCE
1.18 +
1.19 +.PHONY: checkversion
1.20 +checkversion:
1.21 + @$(srcdir)/checkver.pl "$(VERSION)" "$(top_srcdir)" version.c
1.22 +
1.23 +version.c: checkversion
1.24 +
1.25 TESTS = test/testxlt
1.26 -BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h
1.27 +BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c pvr2/gl_slsrc.c drivers/mac_keymap.h version.c
1.28 +
1.29 +#all-am: checkversion
1.30
1.31 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
1.32 genglsl_SOURCES = tools/genglsl.c
1.33
1.34 lxdream_SOURCES = \
1.35 - main.c config.c config.h lxdream.h dream.h gui.h cpu.h hook.h \
1.36 + main.c version.c config.c config.h lxdream.h dream.h gui.h cpu.h hook.h \
1.37 mem.c mem.h mmio.h watch.c \
1.38 asic.c asic.h clock.h serial.h \
1.39 syscall.c syscall.h bios.c dcload.c \
.