summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-04-30 14:53:11 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-29 07:33:59 +0200
commit7d6eb69950df97a12fc723bada1eb7c1839740ca (patch)
tree2a0c5971a0df8722aeeb14473fabb18f6bdf4992 /desktop
parent30bcb7fb1706b405577417625ed3855485936d0b (diff)
rename functions for consistency with the rest of gbuild
Change-Id: I572a8a6dc9da4f63b7c937748b3013bab60bb6bb
Diffstat (limited to 'desktop')
-rw-r--r--desktop/WinResTarget_quickstart.mk4
-rw-r--r--desktop/WinResTarget_sbase.mk7
-rw-r--r--desktop/WinResTarget_scalc.mk7
-rw-r--r--desktop/WinResTarget_sdraw.mk7
-rw-r--r--desktop/WinResTarget_simpress.mk7
-rw-r--r--desktop/WinResTarget_smath.mk7
-rw-r--r--desktop/WinResTarget_soffice.mk7
-rw-r--r--desktop/WinResTarget_sofficebin.mk7
-rw-r--r--desktop/WinResTarget_sweb.mk7
-rw-r--r--desktop/WinResTarget_swriter.mk7
10 files changed, 29 insertions, 38 deletions
diff --git a/desktop/WinResTarget_quickstart.mk b/desktop/WinResTarget_quickstart.mk
index 04dffbfe0e3a..8735fba2e9e1 100644
--- a/desktop/WinResTarget_quickstart.mk
+++ b/desktop/WinResTarget_quickstart.mk
@@ -33,10 +33,10 @@ $(eval $(call gb_WinResTarget_set_include,quickstart/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_add_dependency,quickstart/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,quickstart/src,\
sysui/desktop/icons/main_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,quickstart/src,desktop/win32/source/QuickStart/QuickStart))
+$(eval $(call gb_WinResTarget_set_rcfile,quickstart/src,desktop/win32/source/QuickStart/QuickStart))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_sbase.mk b/desktop/WinResTarget_sbase.mk
index f3f33f1ee75c..008e436b5358 100644
--- a/desktop/WinResTarget_sbase.mk
+++ b/desktop/WinResTarget_sbase.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,sbase/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,sbase/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,sbase/src,\
-DRES_APP_NAME=sbase \
-DRES_APP_ICON=icons/base_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,sbase/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,sbase/src,\
sysui/desktop/icons/base_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,sbase/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,sbase/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_scalc.mk b/desktop/WinResTarget_scalc.mk
index 3b9fc0ec9de9..89a2d2dd66a9 100644
--- a/desktop/WinResTarget_scalc.mk
+++ b/desktop/WinResTarget_scalc.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,scalc/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,scalc/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,scalc/src,\
-DRES_APP_NAME=scalc \
-DRES_APP_ICON=icons/calc_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,scalc/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,scalc/src,\
sysui/desktop/icons/calc_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,scalc/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,scalc/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_sdraw.mk b/desktop/WinResTarget_sdraw.mk
index 9bda5ceb5d48..44ef3062038e 100644
--- a/desktop/WinResTarget_sdraw.mk
+++ b/desktop/WinResTarget_sdraw.mk
@@ -32,19 +32,18 @@ $(eval $(call gb_WinResTarget_set_include,sdraw/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,sdraw/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,sdraw/src,\
-DRES_APP_NAME=sdraw \
-DRES_APP_ICON=icons/draw_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,sdraw/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,sdraw/src,\
sysui/desktop/icons/draw_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,sdraw/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,sdraw/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_simpress.mk b/desktop/WinResTarget_simpress.mk
index 79aa10cc3f7d..224af5b10fc8 100644
--- a/desktop/WinResTarget_simpress.mk
+++ b/desktop/WinResTarget_simpress.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,simpress/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,simpress/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,simpress/src,\
-DRES_APP_NAME=simpress \
-DRES_APP_ICON=icons/impress_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,simpress/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,simpress/src,\
sysui/desktop/icons/impress_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,simpress/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,simpress/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_smath.mk b/desktop/WinResTarget_smath.mk
index 9dbbcd07d4a4..e36eba1f0136 100644
--- a/desktop/WinResTarget_smath.mk
+++ b/desktop/WinResTarget_smath.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,smath/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,smath/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,smath/src,\
-DRES_APP_NAME=smath \
-DRES_APP_ICON=icons/math_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,smath/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,smath/src,\
sysui/desktop/icons/math_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,smath/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,smath/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_soffice.mk b/desktop/WinResTarget_soffice.mk
index fe66aa59059a..5dac62c4334b 100644
--- a/desktop/WinResTarget_soffice.mk
+++ b/desktop/WinResTarget_soffice.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,soffice/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,soffice/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,soffice/src,\
-DRES_APP_NAME=soffice \
-DRES_APP_ICON=icons/main_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,soffice/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,soffice/src,\
sysui/desktop/icons/main_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,soffice/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,soffice/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_sofficebin.mk b/desktop/WinResTarget_sofficebin.mk
index 334c9b780834..54f289bf91c4 100644
--- a/desktop/WinResTarget_sofficebin.mk
+++ b/desktop/WinResTarget_sofficebin.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,sofficebin/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,sofficebin/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,sofficebin/src,\
-DRES_APP_NAME=soffice \
-DRES_APP_ICON=icons/main_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,sofficebin/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,sofficebin/src,\
sysui/desktop/icons/main_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,sofficebin/src,desktop/util/officeloader))
+$(eval $(call gb_WinResTarget_set_rcfile,sofficebin/src,desktop/util/officeloader))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_sweb.mk b/desktop/WinResTarget_sweb.mk
index 0ae85d99af39..36ba61847e63 100644
--- a/desktop/WinResTarget_sweb.mk
+++ b/desktop/WinResTarget_sweb.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,sweb/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,sweb/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,sweb/src,\
-DRES_APP_NAME=sweb \
-DRES_APP_ICON=icons/writer_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,sweb/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,sweb/src,\
sysui/desktop/icons/writer_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,sweb/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,sweb/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et:
diff --git a/desktop/WinResTarget_swriter.mk b/desktop/WinResTarget_swriter.mk
index 7b9ff2fdb149..fc68b9cd3e9a 100644
--- a/desktop/WinResTarget_swriter.mk
+++ b/desktop/WinResTarget_swriter.mk
@@ -32,18 +32,17 @@ $(eval $(call gb_WinResTarget_set_include,swriter/src,\
-I$(SRCDIR)/sysui/desktop \
))
-$(eval $(call gb_WinResTarget_set_defs,swriter/src,\
- $$(DEFS) \
+$(eval $(call gb_WinResTarget_add_defs,swriter/src,\
-DRES_APP_NAME=swriter \
-DRES_APP_ICON=icons/writer_app.ico \
-DVERVARIANT=$(BUILD) \
-DRES_APP_VENDOR="$(OOO_VENDOR)" \
))
-$(eval $(call gb_WinResTarget_add_dependency,swriter/src,\
+$(eval $(call gb_WinResTarget_add_dependencies,swriter/src,\
sysui/desktop/icons/writer_app.ico \
))
-$(eval $(call gb_WinResTarget_add_file,swriter/src,desktop/win32/source/applauncher/launcher))
+$(eval $(call gb_WinResTarget_set_rcfile,swriter/src,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: