foxygit / doom Log in
commit 69b8559f486e8a6ad7cc9b31ceedfcbfffdc9bfb
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Jul 9 20:19:08 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Thu Jul 9 20:19:08 2009 +0000

    Include the resource file in the source list when building the setup
    tool.

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1613
---
 src/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 73256b98..b0662395 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -161,7 +161,11 @@ m_config.c           m_config.h            \
 m_controls.c         m_controls.h          \
 z_native.c           z_zone.h

+if HAVE_WINDRES
+chocolate_setup_SOURCES=$(SETUP_FILES) $(COMMON_SOURCE_FILES) setup-res.rc
+else
 chocolate_setup_SOURCES=$(SETUP_FILES) $(COMMON_SOURCE_FILES)
+endif
 chocolate_setup_LDADD = setup/libsetup.a                             \
                         $(top_builddir)/wince/libc_wince.a           \
                         $(top_builddir)/textscreen/libtextscreen.a   \