add resource files

This commit is contained in:
David Tardon
2011-09-26 12:47:35 +02:00
parent 096397e9da
commit a44020dd9e
18 changed files with 62 additions and 44 deletions

View File

@@ -60,4 +60,6 @@ $(eval $(call gb_Executable_add_exception_objects,quickstart,\
desktop/win32/source/QuickStart/QuickStart \ desktop/win32/source/QuickStart/QuickStart \
)) ))
$(eval $(call gb_Executable_add_nativeres,quickstart,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,sbase,\
desktop/win32/source/applauncher/sbase \ desktop/win32/source/applauncher/sbase \
)) ))
$(eval $(call gb_Executable_add_nativeres,sbase,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,scalc,\
desktop/win32/source/applauncher/scalc \ desktop/win32/source/applauncher/scalc \
)) ))
$(eval $(call gb_Executable_add_nativeres,scalc,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,sdraw,\
desktop/win32/source/applauncher/sdraw \ desktop/win32/source/applauncher/sdraw \
)) ))
$(eval $(call gb_Executable_add_nativeres,sdraw,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,simpress,\
desktop/win32/source/applauncher/simpress \ desktop/win32/source/applauncher/simpress \
)) ))
$(eval $(call gb_Executable_add_nativeres,simpress,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,smath,\
desktop/win32/source/applauncher/smath \ desktop/win32/source/applauncher/smath \
)) ))
$(eval $(call gb_Executable_add_nativeres,smath,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -50,4 +50,6 @@ $(eval $(call gb_Executable_add_noexception_objects,soffice,\
desktop/win32/source/officeloader/officeloader \ desktop/win32/source/officeloader/officeloader \
)) ))
$(eval $(call gb_Executable_add_nativeres,soffice,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,sweb,\
desktop/win32/source/applauncher/sweb \ desktop/win32/source/applauncher/sweb \
)) ))
$(eval $(call gb_Executable_add_nativeres,sweb,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -43,4 +43,6 @@ $(eval $(call gb_Executable_add_noexception_objects,swriter,\
desktop/win32/source/applauncher/swriter \ desktop/win32/source/applauncher/swriter \
)) ))
$(eval $(call gb_Executable_add_nativeres,swriter,src))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,18 +23,18 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,quickstart)) $(eval $(call gb_WinResTarget_WinResTarget,quickstart/src))
$(eval $(call gb_WinResTarget_set_include,quickstart,\ $(eval $(call gb_WinResTarget_set_include,quickstart/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/desktop/win32/source/QuickStart \ -I$(SRCDIR)/desktop/win32/source/QuickStart \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,quickstart,\ $(eval $(call gb_WinResTarget_add_dependency,quickstart/src,\
sysui/desktop/icons/ooo3_main_app.ico \ sysui/desktop/icons/ooo3_main_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,quickstart,desktop/win32/source/QuickStart/OOQuickStart)) $(eval $(call gb_WinResTarget_add_file,quickstart/src,desktop/win32/source/QuickStart/OOQuickStart))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,sbase)) $(eval $(call gb_WinResTarget_WinResTarget,sbase/src))
$(eval $(call gb_WinResTarget_set_include,sbase,\ $(eval $(call gb_WinResTarget_set_include,sbase/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,sbase,\ $(eval $(call gb_WinResTarget_set_defs,sbase/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=sbase \ -DRES_APP_NAME=sbase \
-DRES_APP_ICON=icons/ooo3_base_app.ico \ -DRES_APP_ICON=icons/ooo3_base_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,sbase,\ $(eval $(call gb_WinResTarget_add_dependency,sbase/src,\
sysui/desktop/icons/ooo3_base_app.ico \ sysui/desktop/icons/ooo3_base_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,sbase,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,sbase/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,scalc)) $(eval $(call gb_WinResTarget_WinResTarget,scalc/src))
$(eval $(call gb_WinResTarget_set_include,scalc,\ $(eval $(call gb_WinResTarget_set_include,scalc/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,scalc,\ $(eval $(call gb_WinResTarget_set_defs,scalc/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=scalc \ -DRES_APP_NAME=scalc \
-DRES_APP_ICON=icons/ooo3_calc_app.ico \ -DRES_APP_ICON=icons/ooo3_calc_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,scalc,\ $(eval $(call gb_WinResTarget_add_dependency,scalc/src,\
sysui/desktop/icons/ooo3_calc_app.ico \ sysui/desktop/icons/ooo3_calc_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,scalc,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,scalc/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,sdraw)) $(eval $(call gb_WinResTarget_WinResTarget,sdraw/src))
$(eval $(call gb_WinResTarget_set_include,sdraw,\ $(eval $(call gb_WinResTarget_set_include,sdraw/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,sdraw,\ $(eval $(call gb_WinResTarget_set_defs,sdraw/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=sdraw \ -DRES_APP_NAME=sdraw \
-DRES_APP_ICON=icons/ooo3_draw_app.ico \ -DRES_APP_ICON=icons/ooo3_draw_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,sdraw,\ $(eval $(call gb_WinResTarget_add_dependency,sdraw/src,\
sysui/desktop/icons/ooo3_draw_app.ico \ sysui/desktop/icons/ooo3_draw_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,sdraw,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,sdraw/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,simpress)) $(eval $(call gb_WinResTarget_WinResTarget,simpress/src))
$(eval $(call gb_WinResTarget_set_include,simpress,\ $(eval $(call gb_WinResTarget_set_include,simpress/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,simpress,\ $(eval $(call gb_WinResTarget_set_defs,simpress/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=simpress \ -DRES_APP_NAME=simpress \
-DRES_APP_ICON=icons/ooo3_impress_app.ico \ -DRES_APP_ICON=icons/ooo3_impress_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,simpress,\ $(eval $(call gb_WinResTarget_add_dependency,simpress/src,\
sysui/desktop/icons/ooo3_impress_app.ico \ sysui/desktop/icons/ooo3_impress_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,simpress,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,simpress/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,smath)) $(eval $(call gb_WinResTarget_WinResTarget,smath/src))
$(eval $(call gb_WinResTarget_set_include,smath,\ $(eval $(call gb_WinResTarget_set_include,smath/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,smath,\ $(eval $(call gb_WinResTarget_set_defs,smath/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=smath \ -DRES_APP_NAME=smath \
-DRES_APP_ICON=icons/ooo3_math_app.ico \ -DRES_APP_ICON=icons/ooo3_math_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,smath,\ $(eval $(call gb_WinResTarget_add_dependency,smath/src,\
sysui/desktop/icons/ooo3_math_app.ico \ sysui/desktop/icons/ooo3_math_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,smath,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,smath/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,soffice)) $(eval $(call gb_WinResTarget_WinResTarget,soffice/src))
$(eval $(call gb_WinResTarget_set_include,soffice,\ $(eval $(call gb_WinResTarget_set_include,soffice/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,soffice,\ $(eval $(call gb_WinResTarget_set_defs,soffice/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=soffice \ -DRES_APP_NAME=soffice \
-DRES_APP_ICON=icons/ooo3_main_app.ico \ -DRES_APP_ICON=icons/ooo3_main_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,soffice,\ $(eval $(call gb_WinResTarget_add_dependency,soffice/src,\
sysui/desktop/icons/ooo3_main_app.ico \ sysui/desktop/icons/ooo3_main_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,soffice,desktop/util/officeloader)) $(eval $(call gb_WinResTarget_add_file,soffice/src,desktop/util/officeloader))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,sweb)) $(eval $(call gb_WinResTarget_WinResTarget,sweb/src))
$(eval $(call gb_WinResTarget_set_include,sweb,\ $(eval $(call gb_WinResTarget_set_include,sweb/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,sweb,\ $(eval $(call gb_WinResTarget_set_defs,sweb/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=sweb \ -DRES_APP_NAME=sweb \
-DRES_APP_ICON=icons/ooo3_writer_app.ico \ -DRES_APP_ICON=icons/ooo3_writer_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,sweb,\ $(eval $(call gb_WinResTarget_add_dependency,sweb/src,\
sysui/desktop/icons/ooo3_writer_app.ico \ sysui/desktop/icons/ooo3_writer_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,sweb,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,sweb/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et:

View File

@@ -23,24 +23,24 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_WinResTarget_WinResTarget,swriter)) $(eval $(call gb_WinResTarget_WinResTarget,swriter/src))
$(eval $(call gb_WinResTarget_set_include,swriter,\ $(eval $(call gb_WinResTarget_set_include,swriter/src,\
$$(INCLUDE) \ $$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \ -I$(SRCDIR)/sysui/desktop \
)) ))
$(eval $(call gb_WinResTarget_set_defs,swriter,\ $(eval $(call gb_WinResTarget_set_defs,swriter/src,\
$$(DEFS) \ $$(DEFS) \
-DRES_APP_NAME=swriter \ -DRES_APP_NAME=swriter \
-DRES_APP_ICON=icons/ooo3_writer_app.ico \ -DRES_APP_ICON=icons/ooo3_writer_app.ico \
-DVERVARIANT=$(BUILD) \ -DVERVARIANT=$(BUILD) \
)) ))
$(eval $(call gb_WinResTarget_add_dependency,swriter,\ $(eval $(call gb_WinResTarget_add_dependency,swriter/src,\
sysui/desktop/icons/ooo3_writer_app.ico \ sysui/desktop/icons/ooo3_writer_app.ico \
)) ))
$(eval $(call gb_WinResTarget_add_file,swriter,desktop/win32/source/applauncher/launcher)) $(eval $(call gb_WinResTarget_add_file,swriter/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et: