summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-01-20 23:41:41 +0100
committerMathias Bauer <mba@openoffice.org>2011-01-20 23:41:41 +0100
commita3279e11a70e1edaff7d9004ba4675a12aecfbf2 (patch)
treeca73d54f5cf618cbd4e8f0ff2edc8525ff7d4898
parent545e9efdd367d49763b9d341fb9168530d7ada48 (diff)
CWS gnumake3: add gal resource
-rwxr-xr-xsvx/AllLangResTarget_gal.mk48
-rw-r--r--svx/AllLangResTarget_svx.mk2
-rw-r--r--svx/Module_svx.mk1
-rwxr-xr-xsvx/prj/makefile.mk40
4 files changed, 89 insertions, 2 deletions
diff --git a/svx/AllLangResTarget_gal.mk b/svx/AllLangResTarget_gal.mk
new file mode 100755
index 000000000000..5b8b3bc628a4
--- /dev/null
+++ b/svx/AllLangResTarget_gal.mk
@@ -0,0 +1,48 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2009 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_AllLangResTarget_AllLangResTarget,gal))
+
+$(eval $(call gb_AllLangResTarget_set_reslocation,gal,svx))
+
+$(eval $(call gb_AllLangResTarget_add_srs,gal,svx/gal))
+
+$(eval $(call gb_SrsTarget_SrsTarget,svx/gal))
+
+$(eval $(call gb_SrsTarget_set_include,svx/gal,\
+ $$(INCLUDE) \
+ -I$(OUTDIR)/inc \
+ -I$(SRCDIR)/svx/source/gallery \
+ -I$(SRCDIR)/svx/inc/ \
+))
+
+$(eval $(call gb_SrsTarget_add_files,svx/gal,\
+ svx/source/gallery2/gallery.src \
+ svx/source/gallery2/galtheme.src \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/svx/AllLangResTarget_svx.mk b/svx/AllLangResTarget_svx.mk
index 35dc04ebc096..6862688339b7 100644
--- a/svx/AllLangResTarget_svx.mk
+++ b/svx/AllLangResTarget_svx.mk
@@ -78,8 +78,6 @@ $(eval $(call gb_SrsTarget_add_files,svx/res,\
svx/source/form/fmexpl.src \
svx/source/form/fmstring.src \
svx/source/form/formshell.src \
- svx/source/gallery2/gallery.src \
- svx/source/gallery2/galtheme.src \
svx/source/items/svxerr.src \
svx/source/items/svxitems.src \
svx/source/mnuctrls/mnuctrls.src \
diff --git a/svx/Module_svx.mk b/svx/Module_svx.mk
index f9d5273cd8f3..b04d73e19014 100644
--- a/svx/Module_svx.mk
+++ b/svx/Module_svx.mk
@@ -33,6 +33,7 @@ $(eval $(call gb_Module_add_targets,svx,\
Library_textconversiondlgs \
AllLangResTarget_svx \
AllLangResTarget_ofa \
+ AllLangResTarget_gal \
AllLangResTarget_about \
AllLangResTarget_textconversiondlgs \
Package_inc \
diff --git a/svx/prj/makefile.mk b/svx/prj/makefile.mk
new file mode 100755
index 000000000000..c73a3d944bbf
--- /dev/null
+++ b/svx/prj/makefile.mk
@@ -0,0 +1,40 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+all:
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET)