1.1 --- a/mk/client_interface_c.mk Sat Jan 23 19:21:34 2021 +0100 1.2 +++ b/mk/client_interface_c.mk Sun Aug 01 18:12:58 2021 +0200 1.3 @@ -1,3 +1,22 @@ 1.4 +# C client interface generation rules. 1.5 +# 1.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 1.7 +# 1.8 +# This program is free software; you can redistribute it and/or 1.9 +# modify it under the terms of the GNU General Public License as 1.10 +# published by the Free Software Foundation; either version 2 of 1.11 +# the License, or (at your option) any later version. 1.12 +# 1.13 +# This program is distributed in the hope that it will be useful, 1.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.16 +# GNU General Public License for more details. 1.17 +# 1.18 +# You should have received a copy of the GNU General Public License 1.19 +# along with this program; if not, write to the Free Software 1.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 1.21 +# Boston, MA 02110-1301, USA 1.22 + 1.23 define client_interface_c_template = 1.24 $(1)_CLIENT_IDL = $(call interfaces_to_idl,$(1)) 1.25 $(1)_CLIENT = $(call interfaces_to_client_c_h,$(1))
2.1 --- a/mk/client_interface_cc.mk Sat Jan 23 19:21:34 2021 +0100 2.2 +++ b/mk/client_interface_cc.mk Sun Aug 01 18:12:58 2021 +0200 2.3 @@ -1,3 +1,22 @@ 2.4 +# C++ client interface generation rules. 2.5 +# 2.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 2.7 +# 2.8 +# This program is free software; you can redistribute it and/or 2.9 +# modify it under the terms of the GNU General Public License as 2.10 +# published by the Free Software Foundation; either version 2 of 2.11 +# the License, or (at your option) any later version. 2.12 +# 2.13 +# This program is distributed in the hope that it will be useful, 2.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 2.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2.16 +# GNU General Public License for more details. 2.17 +# 2.18 +# You should have received a copy of the GNU General Public License 2.19 +# along with this program; if not, write to the Free Software 2.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 2.21 +# Boston, MA 02110-1301, USA 2.22 + 2.23 define client_interface_cc_template = 2.24 $(1)_CLIENT_IDL = $(call interfaces_to_idl,$(1)) 2.25 $(1)_CLIENT = $(call interfaces_to_client_cc_h,$(1))
3.1 --- a/mk/comp_interface_c.mk Sat Jan 23 19:21:34 2021 +0100 3.2 +++ b/mk/comp_interface_c.mk Sun Aug 01 18:12:58 2021 +0200 3.3 @@ -1,3 +1,22 @@ 3.4 +# C compound server interface generation rules. 3.5 +# 3.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 3.7 +# 3.8 +# This program is free software; you can redistribute it and/or 3.9 +# modify it under the terms of the GNU General Public License as 3.10 +# published by the Free Software Foundation; either version 2 of 3.11 +# the License, or (at your option) any later version. 3.12 +# 3.13 +# This program is distributed in the hope that it will be useful, 3.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 3.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3.16 +# GNU General Public License for more details. 3.17 +# 3.18 +# You should have received a copy of the GNU General Public License 3.19 +# along with this program; if not, write to the Free Software 3.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 3.21 +# Boston, MA 02110-1301, USA 3.22 + 3.23 define comp_interface_c_template = 3.24 $(1)_SERVER_IDL = $(call interfaces_to_idl,$(3)) 3.25 $(1)_SERVER = $(call interfaces_to_server_c_h,$(1))
4.1 --- a/mk/comp_interface_cc.mk Sat Jan 23 19:21:34 2021 +0100 4.2 +++ b/mk/comp_interface_cc.mk Sun Aug 01 18:12:58 2021 +0200 4.3 @@ -1,3 +1,22 @@ 4.4 +# C++ compound server interface generation rules. 4.5 +# 4.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 4.7 +# 4.8 +# This program is free software; you can redistribute it and/or 4.9 +# modify it under the terms of the GNU General Public License as 4.10 +# published by the Free Software Foundation; either version 2 of 4.11 +# the License, or (at your option) any later version. 4.12 +# 4.13 +# This program is distributed in the hope that it will be useful, 4.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 4.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4.16 +# GNU General Public License for more details. 4.17 +# 4.18 +# You should have received a copy of the GNU General Public License 4.19 +# along with this program; if not, write to the Free Software 4.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 4.21 +# Boston, MA 02110-1301, USA 4.22 + 4.23 define comp_interface_cc_template = 4.24 $(1)_SERVER_IDL = $(call interfaces_to_idl,$(3)) 4.25 $(1)_SERVER = $(call interfaces_to_server_cc_h,$(1))
5.1 --- a/mk/export_comp_interface_c.mk Sat Jan 23 19:21:34 2021 +0100 5.2 +++ b/mk/export_comp_interface_c.mk Sun Aug 01 18:12:58 2021 +0200 5.3 @@ -1,3 +1,22 @@ 5.4 +# C compound server interface exporting rules. 5.5 +# 5.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 5.7 +# 5.8 +# This program is free software; you can redistribute it and/or 5.9 +# modify it under the terms of the GNU General Public License as 5.10 +# published by the Free Software Foundation; either version 2 of 5.11 +# the License, or (at your option) any later version. 5.12 +# 5.13 +# This program is distributed in the hope that it will be useful, 5.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 5.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5.16 +# GNU General Public License for more details. 5.17 +# 5.18 +# You should have received a copy of the GNU General Public License 5.19 +# along with this program; if not, write to the Free Software 5.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 5.21 +# Boston, MA 02110-1301, USA 5.22 + 5.23 define export_comp_interface_c_template = 5.24 ifdef IDL_EXPORT_DIR 5.25 $(1)_INT_IDL = $(call interfaces_to_idl,$(3))
6.1 --- a/mk/export_comp_interface_cc.mk Sat Jan 23 19:21:34 2021 +0100 6.2 +++ b/mk/export_comp_interface_cc.mk Sun Aug 01 18:12:58 2021 +0200 6.3 @@ -1,3 +1,22 @@ 6.4 +# C++ compound server interface exporting rules. 6.5 +# 6.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 6.7 +# 6.8 +# This program is free software; you can redistribute it and/or 6.9 +# modify it under the terms of the GNU General Public License as 6.10 +# published by the Free Software Foundation; either version 2 of 6.11 +# the License, or (at your option) any later version. 6.12 +# 6.13 +# This program is distributed in the hope that it will be useful, 6.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 6.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 6.16 +# GNU General Public License for more details. 6.17 +# 6.18 +# You should have received a copy of the GNU General Public License 6.19 +# along with this program; if not, write to the Free Software 6.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 6.21 +# Boston, MA 02110-1301, USA 6.22 + 6.23 define export_comp_interface_cc_template = 6.24 ifdef IDL_EXPORT_DIR 6.25 $(1)_INT_IDL = $(call interfaces_to_idl,$(3))
7.1 --- a/mk/export_interface_c.mk Sat Jan 23 19:21:34 2021 +0100 7.2 +++ b/mk/export_interface_c.mk Sun Aug 01 18:12:58 2021 +0200 7.3 @@ -1,3 +1,22 @@ 7.4 +# C interface exporting rules. 7.5 +# 7.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 7.7 +# 7.8 +# This program is free software; you can redistribute it and/or 7.9 +# modify it under the terms of the GNU General Public License as 7.10 +# published by the Free Software Foundation; either version 2 of 7.11 +# the License, or (at your option) any later version. 7.12 +# 7.13 +# This program is distributed in the hope that it will be useful, 7.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 7.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7.16 +# GNU General Public License for more details. 7.17 +# 7.18 +# You should have received a copy of the GNU General Public License 7.19 +# along with this program; if not, write to the Free Software 7.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 7.21 +# Boston, MA 02110-1301, USA 7.22 + 7.23 define export_interface_c_template = 7.24 ifdef IDL_EXPORT_DIR 7.25 $(1)_INT_IDL = $(call interfaces_to_idl,$(1))
8.1 --- a/mk/export_interface_cc.mk Sat Jan 23 19:21:34 2021 +0100 8.2 +++ b/mk/export_interface_cc.mk Sun Aug 01 18:12:58 2021 +0200 8.3 @@ -1,3 +1,22 @@ 8.4 +# C++ interface exporting rules. 8.5 +# 8.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 8.7 +# 8.8 +# This program is free software; you can redistribute it and/or 8.9 +# modify it under the terms of the GNU General Public License as 8.10 +# published by the Free Software Foundation; either version 2 of 8.11 +# the License, or (at your option) any later version. 8.12 +# 8.13 +# This program is distributed in the hope that it will be useful, 8.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 8.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8.16 +# GNU General Public License for more details. 8.17 +# 8.18 +# You should have received a copy of the GNU General Public License 8.19 +# along with this program; if not, write to the Free Software 8.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 8.21 +# Boston, MA 02110-1301, USA 8.22 + 8.23 define export_interface_cc_template = 8.24 ifdef IDL_EXPORT_DIR 8.25 $(1)_INT_IDL = $(call interfaces_to_idl,$(1))
9.1 --- a/mk/idl.mk Sat Jan 23 19:21:34 2021 +0100 9.2 +++ b/mk/idl.mk Sun Aug 01 18:12:58 2021 +0200 9.3 @@ -1,3 +1,22 @@ 9.4 +# Common definitions and functions. 9.5 +# 9.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 9.7 +# 9.8 +# This program is free software; you can redistribute it and/or 9.9 +# modify it under the terms of the GNU General Public License as 9.10 +# published by the Free Software Foundation; either version 2 of 9.11 +# the License, or (at your option) any later version. 9.12 +# 9.13 +# This program is distributed in the hope that it will be useful, 9.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 9.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9.16 +# GNU General Public License for more details. 9.17 +# 9.18 +# You should have received a copy of the GNU General Public License 9.19 +# along with this program; if not, write to the Free Software 9.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 9.21 +# Boston, MA 02110-1301, USA 9.22 + 9.23 IDL_PROG = $(L4DIR)/idl4re/idl 9.24 9.25 # Functions to generate filenames.
10.1 --- a/mk/interface_rules.mk Sat Jan 23 19:21:34 2021 +0100 10.2 +++ b/mk/interface_rules.mk Sun Aug 01 18:12:58 2021 +0200 10.3 @@ -1,4 +1,22 @@ 10.4 # C and C++ rule generation for interfaces. 10.5 +# 10.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 10.7 +# 10.8 +# This program is free software; you can redistribute it and/or 10.9 +# modify it under the terms of the GNU General Public License as 10.10 +# published by the Free Software Foundation; either version 2 of 10.11 +# the License, or (at your option) any later version. 10.12 +# 10.13 +# This program is distributed in the hope that it will be useful, 10.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 10.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10.16 +# GNU General Public License for more details. 10.17 +# 10.18 +# You should have received a copy of the GNU General Public License 10.19 +# along with this program; if not, write to the Free Software 10.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 10.21 +# Boston, MA 02110-1301, USA 10.22 + 10.23 10.24 # Generate exported interfaces. 10.25
11.1 --- a/mk/server_interface_c.mk Sat Jan 23 19:21:34 2021 +0100 11.2 +++ b/mk/server_interface_c.mk Sun Aug 01 18:12:58 2021 +0200 11.3 @@ -1,3 +1,22 @@ 11.4 +# C server interface generation rules. 11.5 +# 11.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 11.7 +# 11.8 +# This program is free software; you can redistribute it and/or 11.9 +# modify it under the terms of the GNU General Public License as 11.10 +# published by the Free Software Foundation; either version 2 of 11.11 +# the License, or (at your option) any later version. 11.12 +# 11.13 +# This program is distributed in the hope that it will be useful, 11.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 11.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11.16 +# GNU General Public License for more details. 11.17 +# 11.18 +# You should have received a copy of the GNU General Public License 11.19 +# along with this program; if not, write to the Free Software 11.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 11.21 +# Boston, MA 02110-1301, USA 11.22 + 11.23 define server_interface_c_template = 11.24 $(1)_SERVER = $(call interfaces_to_server_c_h,$(1)) 11.25 $(1)_SERVER_IDL = $(call interfaces_to_idl,$(1))
12.1 --- a/mk/server_interface_cc.mk Sat Jan 23 19:21:34 2021 +0100 12.2 +++ b/mk/server_interface_cc.mk Sun Aug 01 18:12:58 2021 +0200 12.3 @@ -1,3 +1,22 @@ 12.4 +# C++ server interface generation rules. 12.5 +# 12.6 +# Copyright (C) 2020 Paul Boddie <paul@boddie.org.uk> 12.7 +# 12.8 +# This program is free software; you can redistribute it and/or 12.9 +# modify it under the terms of the GNU General Public License as 12.10 +# published by the Free Software Foundation; either version 2 of 12.11 +# the License, or (at your option) any later version. 12.12 +# 12.13 +# This program is distributed in the hope that it will be useful, 12.14 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 12.15 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12.16 +# GNU General Public License for more details. 12.17 +# 12.18 +# You should have received a copy of the GNU General Public License 12.19 +# along with this program; if not, write to the Free Software 12.20 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, 12.21 +# Boston, MA 02110-1301, USA 12.22 + 12.23 define server_interface_cc_template = 12.24 $(1)_SERVER = $(call interfaces_to_server_cc_h,$(1)) 12.25 $(1)_SERVER_IDL = $(call interfaces_to_idl,$(1))