diff --git a/configure.ac b/configure.ac index 814ed22..08217bc 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,7 @@ OBJEXT=".o" EXEEXT="" DLLPREFIX="lib" PLUGINS="" +APP_GUI_SRC="" if test $host != $build; then AC_CHECK_PROGS(HOST_CC, gcc cc) @@ -126,6 +127,7 @@ case "$host" in DBGCMDPREFIX="" LDARCH="" PLUGINS="remotectl" + APP_GUI_SRC="resources.rc" ;; *-apple-*) @@ -298,6 +300,7 @@ AC_SUBST(DBGRPATH) AC_SUBST(DBGCMDPREFIX) AC_SUBST(LDARCH) AC_SUBST(PLUGINS) +AC_SUBST(APP_GUI_SRC) #--[ Headers ]------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/po/pt_BR.po b/po/pt_BR.po index 3758b70..67c5fef 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-09-14 19:47-0300\n" +"POT-Creation-Date: 2012-09-15 13:07-0300\n" "PO-Revision-Date: 2012-09-14 14:32-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português \n" diff --git a/pw3270.cbp b/pw3270.cbp index c094006..6b4130e 100644 --- a/pw3270.cbp +++ b/pw3270.cbp @@ -262,6 +262,9 @@ + + diff --git a/src/pw3270/Makefile.in b/src/pw3270/Makefile.in index d82a77d..d55cf39 100644 --- a/src/pw3270/Makefile.in +++ b/src/pw3270/Makefile.in @@ -45,9 +45,9 @@ INSTALL=@INSTALL@ INSTALL_PROGRAM=$(INSTALL) -m 755 INSTALL_DATA=$(INSTALL) -m 644 CONVERT=@CONVERT@ +WINDRES=@WINDRES@ LN_S=@LN_S@ - #---[ Sources ]---------------------------------------------------------------- include common/sources.mak @@ -56,7 +56,7 @@ include uiparser/sources.mak #---[ Targets ]---------------------------------------------------------------- -APP_SOURCES= main.c plugin.c +APP_SOURCES= main.c plugin.c @APP_GUI_SRC@ LIB_SOURCES= window.c actions.c fonts.c dialog.c print.c colors.c \ filetransfer.c tools.c \ @@ -82,6 +82,20 @@ ifneq ($(CONVERT),no) @$(CONVERT) $< --format=png > $@ endif +%@OBJEXT@: %.rc + @echo " RC `basename $@`" + @mkdir -p `dirname $@` + @$(WINDRES) --include-dir=. -i $< -o $@ + +$(OBJDBG)/%@OBJEXT@: %.rc + @echo " RC `basename $@`" + @mkdir -p `dirname $@` + @$(WINDRES) --include-dir=. -i $< -o $@ + +$(OBJRLS)/%@OBJEXT@: %.rc + @echo " RC `basename $@`" + @mkdir -p `dirname $@` + @$(WINDRES) --include-dir=. -i $< -o $@ #---[ Release targets ]-------------------------------------------------------- diff --git a/src/pw3270/resources.rc b/src/pw3270/resources.rc new file mode 100644 index 0000000..72481e1 --- /dev/null +++ b/src/pw3270/resources.rc @@ -0,0 +1,2 @@ +LANGUAGE 0, 0 +100 ICON pw3270.ico -- libgit2 0.21.2