diff options
author | Damjan Jovanovic <damjan@apache.org> | 2016-12-28 15:28:18 +0000 |
---|---|---|
committer | Damjan Jovanovic <damjan@apache.org> | 2016-12-28 15:28:18 +0000 |
commit | 5d868a712b4657369e74dbeb26b8f6de49614ab9 (patch) | |
tree | ffb993cab68e814f512e4c80fe2abc82cb02024c /xml2cmp | |
parent | 3c8757d12382d2f9800c3e26861be8d31c327ad1 (diff) |
Add some more files to the xml2cmp gbuild module that were missed in the
last commit.
Patch by: me
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/Executable_srvdepy.mk | 59 | ||||
-rw-r--r-- | xml2cmp/Executable_xml2cmp.mk | 58 | ||||
-rw-r--r-- | xml2cmp/Makefile | 32 | ||||
-rw-r--r-- | xml2cmp/Module_xml2cmp.mk | 31 | ||||
-rw-r--r-- | xml2cmp/prj/makefile.mk | 44 |
5 files changed, 224 insertions, 0 deletions
diff --git a/xml2cmp/Executable_srvdepy.mk b/xml2cmp/Executable_srvdepy.mk new file mode 100644 index 000000000000..151764d1dfda --- /dev/null +++ b/xml2cmp/Executable_srvdepy.mk @@ -0,0 +1,59 @@ +############################################################### +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +############################################################### + + + +$(eval $(call gb_Executable_Executable,srvdepy)) + +$(eval $(call gb_Executable_set_targettype_gui,srvdepy,NO)) + +#$(eval $(call gb_Executable_add_api,srvdepy,\ +# udkapi \ +# offapi \ +#)) + +$(eval $(call gb_Executable_set_include,srvdepy,\ + $$(INCLUDE) \ + -I$(SRCDIR)/xml2cmp/source/inc \ +)) + +$(eval $(call gb_Executable_add_linked_libs,srvdepy,\ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Executable_add_exception_objects,srvdepy,\ + xml2cmp/source/finder/dependy \ + xml2cmp/source/finder/dep_main \ + xml2cmp/source/xcd/cr_html \ + xml2cmp/source/xcd/cr_index \ + xml2cmp/source/xcd/cr_metho \ + xml2cmp/source/xcd/filebuff \ + xml2cmp/source/xcd/parse \ + xml2cmp/source/xcd/xmlelem \ + xml2cmp/source/xcd/xmltree \ + xml2cmp/source/support/cmdline \ + xml2cmp/source/support/heap \ + xml2cmp/source/support/sistr \ + xml2cmp/source/support/syshelp \ + xml2cmp/source/support/badcast \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/xml2cmp/Executable_xml2cmp.mk b/xml2cmp/Executable_xml2cmp.mk new file mode 100644 index 000000000000..7bd53b6730a4 --- /dev/null +++ b/xml2cmp/Executable_xml2cmp.mk @@ -0,0 +1,58 @@ +############################################################### +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +############################################################### + + + +$(eval $(call gb_Executable_Executable,xml2cmp)) + +$(eval $(call gb_Executable_set_targettype_gui,xml2cmp,NO)) + +#$(eval $(call gb_Executable_add_api,xml2cmp,\ +# udkapi \ +# offapi \ +#)) + +$(eval $(call gb_Executable_set_include,xml2cmp,\ + $$(INCLUDE) \ + -I$(SRCDIR)/xml2cmp/source/inc \ +)) + +$(eval $(call gb_Executable_add_linked_libs,xml2cmp,\ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Executable_add_exception_objects,xml2cmp,\ + xml2cmp/source/xcd/cr_html \ + xml2cmp/source/xcd/cr_index \ + xml2cmp/source/xcd/cr_metho \ + xml2cmp/source/xcd/filebuff \ + xml2cmp/source/xcd/parse \ + xml2cmp/source/xcd/xmlelem \ + xml2cmp/source/xcd/xmltree \ + xml2cmp/source/xcd/main \ + xml2cmp/source/support/cmdline \ + xml2cmp/source/support/heap \ + xml2cmp/source/support/sistr \ + xml2cmp/source/support/syshelp \ + xml2cmp/source/support/badcast \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/xml2cmp/Makefile b/xml2cmp/Makefile new file mode 100644 index 000000000000..c1d144cbd4c9 --- /dev/null +++ b/xml2cmp/Makefile @@ -0,0 +1,32 @@ +#************************************************************** +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the 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/xml2cmp/Module_xml2cmp.mk b/xml2cmp/Module_xml2cmp.mk new file mode 100644 index 000000000000..7d37331c9b6e --- /dev/null +++ b/xml2cmp/Module_xml2cmp.mk @@ -0,0 +1,31 @@ +#************************************************************** +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + + +$(eval $(call gb_Module_Module,xml2cmp)) + +$(eval $(call gb_Module_add_targets,xml2cmp,\ + Executable_xml2cmp \ + Executable_srvdepy \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/xml2cmp/prj/makefile.mk b/xml2cmp/prj/makefile.mk new file mode 100644 index 000000000000..c62c6a657d16 --- /dev/null +++ b/xml2cmp/prj/makefile.mk @@ -0,0 +1,44 @@ +#************************************************************** +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#************************************************************** + + + +PRJ=.. +TARGET=prj + +.INCLUDE : settings.mk + +.IF "$(VERBOSE)"!="" +VERBOSEFLAG := +.ELSE +VERBOSEFLAG := -s +.ENDIF + +.IF "$(DEBUG)"!="" +DEBUG_ARGUMENT=DEBUG=$(DEBUG) +.ELIF "$(debug)"!="" +DEBUG_ARGUMENT=debug=$(debug) +.ELSE +DEBUG_ARGUMENT= +.ENDIF + +all: + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog |