Continue on windres integration for windows

This commit is contained in:
gunnar_g 2011-08-05 11:57:21 +00:00
parent 0d42794ca2
commit b48c14cc9a
4 changed files with 15 additions and 17 deletions

View File

@ -22,13 +22,14 @@ dnl else
dnl echo "no"
dnl AC_MSG_ERROR(gthread-2.0 not found)
dnl fi
AM_CONDITIONAL(HAVE_WINDRES, which windres > /dev/null)
AC_CHECK_TOOL(WINDRES, windres, )
AM_CONDITIONAL(HAVE_WINDRES, test "$WINDRES" != "")
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
AC_SUBST(ZLIB_LIBS)
GETTEXT_PACKAGE=bygfoot
AC_SUBST(GETTEXT_PACKAGE)

View File

@ -8,7 +8,7 @@ INCLUDES = -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
bin_PROGRAMS = bygfoot
bygfoot_SOURCES = \
SOURCE_FILES = \
bet.c bet.h finance.h fixture.h game_gui.h league.h main.h maths.h misc.h option.h player.h support.h treeview2.h user.h \
callback_func.c bet.h callback_func.h callbacks.h cup.h finance.h fixture.h game_gui.h gui.h league.h live_game.h maths.h misc.h option.h player.h start_end.h team.h transfer.h treeview.h treeview_helper.h user.h window.h \
callbacks.c callback_func.h callbacks.h debug.h fixture.h free.h game_gui.h game.h gui.h job.h league.h load_save.h main.h misc2_callback_func.h option.h player.h table.h team.h transfer.h treeview2.h treeview.h treeview_helper.h user.h window.h \
@ -91,9 +91,9 @@ bygfoot_SOURCES = \
zip/unzip.c zip/unzip.h
if HAVE_WINDRES
@PROGRAM_PREFIX@doom_SOURCES=$(SOURCE_FILES) resource.rc
bygfoot_SOURCES=$(SOURCE_FILES) bygfoot_private.rc
else
@PROGRAM_PREFIX@doom_SOURCES=$(SOURCE_FILES)
bygfoot_SOURCES=$(SOURCE_FILES)
endif
.rc.o:
@ -101,4 +101,4 @@ endif
%.o : %.rc
$(WINDRES) $< -o $@
bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(INTLLIBS)
bygfoot_LDADD = @PACKAGE_LIBS@ @GST_LIBS@ $(ZLIB_LIBS) $(INTLLIBS)

View File

@ -1,18 +1,15 @@
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT ! */
#ifndef BYGFOOT_PRIVATE_H
#define BYGFOOT_PRIVATE_H
/* VERSION DEFINITIONS */
#define VER_STRING "0.1.1.1"
#define VER_MAJOR 0
#define VER_MINOR 1
#define VER_RELEASE 1
#define VER_BUILD 1
#define VER_STRING "2.3.2"
#define VER_MAJOR 2
#define VER_MINOR 3
#define VER_RELEASE 2
#define VER_BUILD 0
#define COMPANY_NAME ""
#define FILE_VERSION ""
#define FILE_DESCRIPTION "Developed using the Dev-C++ IDE"
#define FILE_DESCRIPTION "Bygfoot"
#define INTERNAL_NAME ""
#define LEGAL_COPYRIGHT ""
#define LEGAL_TRADEMARKS ""

View File

@ -10,8 +10,8 @@ A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "bygfoot.ico"
// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
//
1 VERSIONINFO
FILEVERSION 0,1,1,1
PRODUCTVERSION 0,1,1,1
FILEVERSION 2,3,2,0
PRODUCTVERSION 2,3,2,0
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
@ -20,7 +20,7 @@ FILETYPE VFT_APP
{
VALUE "CompanyName", ""
VALUE "FileVersion", ""
VALUE "FileDescription", "Developed using the Dev-C++ IDE"
VALUE "FileDescription", ""
VALUE "InternalName", ""
VALUE "LegalCopyright", ""
VALUE "LegalTrademarks", ""