summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-10-02 13:31:32 -0400
committerPeter Foley <pefoley2@verizon.net>2011-10-07 23:03:39 +0000
commitf68cb61857c6255fde427964c622e38949228db1 (patch)
treef0c70ee0ec8a8f689df32ade953782470c9d20ce /testautomation
parentcbe7780544876a77af7de01da13d2943564d0773 (diff)
convert testautomation to gbuild and add to tail_build
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/Makefile38
-rw-r--r--testautomation/Module_testautomation.mk34
-rw-r--r--testautomation/Package_win.mk61
-rw-r--r--testautomation/prj/build.lst1
-rw-r--r--testautomation/prj/d.lst4
-rw-r--r--testautomation/prj/makefile.mk1
6 files changed, 135 insertions, 4 deletions
diff --git a/testautomation/Makefile b/testautomation/Makefile
new file mode 100644
index 000000000000..5bedaf0b9dcf
--- /dev/null
+++ b/testautomation/Makefile
@@ -0,0 +1,38 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 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.
+#
+#*************************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:
diff --git a/testautomation/Module_testautomation.mk b/testautomation/Module_testautomation.mk
new file mode 100644
index 000000000000..1a19cb1e6474
--- /dev/null
+++ b/testautomation/Module_testautomation.mk
@@ -0,0 +1,34 @@
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Peter Foley <pefoley2@verizon.net>
+# Portions created by the Initial Developer are Copyright (C) 2011 the
+# Initial Developer. All Rights Reserved.
+#
+# Major Contributor(s):
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#
+
+$(eval $(call gb_Module_Module,testautomation))
+
+$(eval $(call gb_Module_add_targets,testautomation,\
+ Package_win \
+))
diff --git a/testautomation/Package_win.mk b/testautomation/Package_win.mk
new file mode 100644
index 000000000000..152bdc9149ae
--- /dev/null
+++ b/testautomation/Package_win.mk
@@ -0,0 +1,61 @@
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+# Peter Foley <pefoley2@verizon.net>
+# Portions created by the Initial Developer are Copyright (C) 2011 the
+# Initial Developer. All Rights Reserved.
+#
+# Major Contributor(s):
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#
+
+$(eval $(call gb_Package_Package,testautomation_win,$(SRCDIR)/testautomation/global/win))
+
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/bars.win,bars.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dial_a_c.win,dial_a_c.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dial_d_h.win,dial_d_h.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dial_i_o.win,dial_i_o.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dial_p_s.win,dial_p_s.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dial_t_z.win,dial_t_z.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/dokument.win,dokument.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/e_mathop.win,e_mathop.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/edia_a_c.win,edia_a_c.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/edia_d_h.win,edia_d_h.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/edia_i_o.win,edia_i_o.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/edia_p_s.win,edia_p_s.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/edia_t_z.win,edia_t_z.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etab_a_d.win,etab_a_d.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etab_e_g.win,etab_e_g.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etab_h_o.win,etab_h_o.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etab_p_s.win,etab_p_s.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etab_t_z.win,etab_t_z.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/etoolbox.win,etoolbox.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/mathop.win,mathop.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/piloten.win,piloten.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/reportdesigner.win,reportdesigner.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/spadmin.win,spadmin.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/sys_dial.win,sys_dial.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/tab_a_d.win,tab_a_d.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/tab_e_g.win,tab_e_g.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/tab_h_o.win,tab_h_o.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/tab_p_s.win,tab_p_s.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/tab_t_z.win,tab_t_z.win))
+$(eval $(call gb_Package_add_file,testautomation_win,bin/win/w_autop.win,w_autop.win))
diff --git a/testautomation/prj/build.lst b/testautomation/prj/build.lst
index db73b43c62fc..a7d9e1ae2a94 100644
--- a/testautomation/prj/build.lst
+++ b/testautomation/prj/build.lst
@@ -1 +1,2 @@
ta testautomation : NULL
+ta testautomation\prj nmake - all ta_all NULL
diff --git a/testautomation/prj/d.lst b/testautomation/prj/d.lst
index 87e600435cf6..e69de29bb2d1 100644
--- a/testautomation/prj/d.lst
+++ b/testautomation/prj/d.lst
@@ -1,4 +0,0 @@
-mkdir: %COMMON_DEST%\bin\win
-
-..\global\win\*.win %COMMON_DEST%\bin\win\*.win
-
diff --git a/testautomation/prj/makefile.mk b/testautomation/prj/makefile.mk
new file mode 100644
index 000000000000..0997622e00f6
--- /dev/null
+++ b/testautomation/prj/makefile.mk
@@ -0,0 +1 @@
+.INCLUDE : gbuildbridge.mk