WIN32: Embed engine data files and theme files into executable.

This embeds all the engine data files from dists/engine-data into the
executable in case the engines using them are included statically.

Furthermore it includes the theme dist files in the executable.
This commit is contained in:
Johannes Schickel 2011-04-22 00:29:18 +02:00
parent 16f1b51e2a
commit 297834017a
6 changed files with 176 additions and 3 deletions

View file

@ -161,8 +161,8 @@ osxsnap: bundle
# Windows specific
#
scummvmico.o: $(srcdir)/icons/scummvm.ico
$(WINDRES) $(WINDRESFLAGS) -I$(srcdir) $(srcdir)/dists/scummvm.rc scummvmico.o
scummvmwinres.o: $(srcdir)/icons/scummvm.ico $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) $(srcdir)/dists/scummvm.rc
$(WINDRES) -DHAVE_CONFIG_H $(WINDRESFLAGS) $(DEFINES) -I. -I$(srcdir) $(srcdir)/dists/scummvm.rc scummvmwinres.o
# Special target to create a win32 snapshot binary
win32dist: $(EXECUTABLE)