├── .gitignore ├── .gitmodules ├── BuildInstructions.md ├── CONTRIBUTING.md ├── ICE_LICENSE ├── LICENSE ├── Makefile ├── README.md ├── allTests.py ├── config ├── Make.application.rules ├── Make.clear.rules ├── Make.clientservertest.rules ├── Make.common.rules ├── Make.debian.rules ├── Make.depend.rules ├── Make.dynamiclibrary.rules ├── Make.freeze.rules ├── Make.iceepython.rules ├── Make.library.rules ├── Make.link.rules ├── Make.object.rules ├── Make.python.rules ├── Make.resources.rules ├── Make.staticlibrary.rules ├── Make.submodule.rules ├── Make.test.application.rules ├── Make.test.dynamiclibrary.rules ├── Make.test.staticlibrary.rules └── Make.yocto.rules ├── cpp ├── allTests.py ├── src │ ├── Freeze │ │ └── Makefile.mk │ ├── FreezeScript │ │ └── Makefile.mk │ ├── Glacier2 │ │ └── Makefile.mk │ ├── Glacier2CryptPermissionsVerifier │ │ └── Makefile.mk │ ├── Ice │ │ ├── Makefile.mk │ │ └── RegisterPluginsInit.cpp │ ├── IceBox │ │ └── Makefile.mk │ ├── IceDiscovery │ │ └── Makefile.mk │ ├── IceGrid │ │ └── Makefile.mk │ ├── IceLocatorDiscovery │ │ └── Makefile.mk │ ├── IceSSL │ │ └── Makefile.mk │ ├── IceStorm │ │ └── Makefile.mk │ ├── IceUtil │ │ └── Makefile.mk │ ├── IceXML │ │ └── Makefile.mk │ ├── Slice │ │ └── Makefile.mk │ ├── mcpp │ │ └── Makefile.mk │ ├── slice2cpp │ │ └── Makefile.mk │ ├── slice2freeze │ │ └── Makefile.mk │ └── slice2py │ │ └── Makefile.mk └── test │ ├── Freeze │ ├── complex │ │ └── Makefile.mk │ ├── dbmap │ │ └── Makefile.mk │ ├── evictor │ │ └── Makefile.mk │ └── fileLock │ │ └── Makefile.mk │ ├── Glacier2 │ ├── attack │ │ ├── .gitignore │ │ └── Makefile.mk │ ├── dynamicFiltering │ │ └── Makefile.mk │ ├── override │ │ └── Makefile.mk │ ├── router │ │ ├── .gitignore │ │ └── Makefile.mk │ ├── sessionControl │ │ └── Makefile.mk │ ├── sessionHelper │ │ ├── .gitignore │ │ └── Makefile.mk │ ├── ssl │ │ └── Makefile.mk │ └── staticFiltering │ │ ├── .gitignore │ │ └── Makefile.mk │ ├── Ice │ ├── acm │ │ └── Makefile.mk │ ├── adapterDeactivation │ │ └── Makefile.mk │ ├── admin │ │ └── Makefile.mk │ ├── ami │ │ └── Makefile.mk │ ├── binding │ │ └── Makefile.mk │ ├── checksum │ │ ├── Makefile.mk │ │ └── server │ │ │ └── Makefile.mk │ ├── custom │ │ └── Makefile.mk │ ├── defaultServant │ │ └── Makefile.mk │ ├── defaultValue │ │ └── Makefile.mk │ ├── dispatcher │ │ └── Makefile.mk │ ├── echo │ │ └── Makefile.mk │ ├── enums │ │ └── Makefile.mk │ ├── exceptions │ │ └── Makefile.mk │ ├── facets │ │ └── Makefile.mk │ ├── faultTolerance │ │ └── Makefile.mk │ ├── gc │ │ └── Makefile.mk │ ├── hash │ │ └── Makefile.mk │ ├── hold │ │ └── Makefile.mk │ ├── info │ │ └── Makefile.mk │ ├── inheritance │ │ └── Makefile.mk │ ├── interceptor │ │ └── Makefile.mk │ ├── invoke │ │ └── Makefile.mk │ ├── location │ │ └── Makefile.mk │ ├── logger │ │ └── Makefile.mk │ ├── metrics │ │ └── Makefile.mk │ ├── networkProxy │ │ └── Makefile.mk │ ├── objects │ │ └── Makefile.mk │ ├── operations │ │ └── Makefile.mk │ ├── optional │ │ └── Makefile.mk │ ├── plugin │ │ └── Makefile.mk │ ├── properties │ │ └── Makefile.mk │ ├── proxy │ │ └── Makefile.mk │ ├── retry │ │ └── Makefile.mk │ ├── servantLocator │ │ └── Makefile.mk │ ├── services │ │ └── Makefile.mk │ ├── slicing │ │ ├── exceptions │ │ │ └── Makefile.mk │ │ └── objects │ │ │ └── Makefile.mk │ ├── stream │ │ └── Makefile.mk │ ├── stringConverter │ │ └── Makefile.mk │ ├── threadPoolPriority │ │ └── Makefile.mk │ ├── timeout │ │ └── Makefile.mk │ └── udp │ │ └── Makefile.mk │ ├── IceBox │ ├── admin │ │ └── Makefile.mk │ └── configuration │ │ └── Makefile.mk │ ├── IceDiscovery │ └── simple │ │ └── Makefile.mk │ ├── IceStorm │ ├── federation │ │ └── Makefile.mk │ ├── federation2 │ │ └── Makefile.mk │ ├── rep1 │ │ └── Makefile.mk │ ├── repstress │ │ └── Makefile.mk │ ├── single │ │ └── Makefile.mk │ └── stress │ │ └── Makefile.mk │ └── IceUtil │ ├── condvar │ └── Makefile.mk │ ├── ctrlCHandler │ └── Makefile.mk │ ├── inputUtil │ └── Makefile.mk │ ├── priority │ └── Makefile.mk │ ├── sha1 │ └── Makefile.mk │ ├── stacktrace │ └── Makefile.mk │ ├── thread │ └── Makefile.mk │ ├── timer │ └── Makefile.mk │ ├── unicode │ └── Makefile.mk │ └── uuid │ └── Makefile.mk └── python ├── Makefile.mk ├── allTests.py └── test └── Slice ├── import └── Makefile.mk └── unicodePaths └── Makefile.mk /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ice"] 2 | path = ice 3 | url = https://github.com/zeroc-ice/ice.git 4 | [submodule "mcpp"] 5 | path = mcpp 6 | url = https://github.com/zeroc-ice/mcpp.git 7 | -------------------------------------------------------------------------------- /BuildInstructions.md: -------------------------------------------------------------------------------- 1 | # Building Ice-E 2 | 3 | This page describes the Ice-E source distribution, including information 4 | about compiler requirements, and instructions for building and testing. 5 | 6 | ## Build Requirements 7 | 8 | ### Operating Systems and Compilers 9 | 10 | Ice-E is supported on Linux, and was extensively tested using the operating 11 | system and compiler versions listed for our [supported platforms][1]. 12 | 13 | The Ice-E build system supports both on device and cross compiling. If you 14 | wish to cross compile you need to setup a cross development environment. 15 | 16 | For instructions on how to setup a cross development environment, refer to 17 | the [setting up your cross development environment][2] section in the 18 | Ice-E usage page for your target platform. 19 | 20 | ### Third-Party Libraries 21 | 22 | Ice-E depends on the `python`, `Berkeley DB 5.3`, `bzip2`, `expat` and `openssl` 23 | development libraries. 24 | 25 | #### Debian 26 | 27 | Ensure that `python`, `Berkeley DB 5.3`, `bzip2`, `expat` and `openssl` development 28 | packages from Debian repositories are installed. 29 | 30 | 31 | #### Yocto 32 | 33 | Ensure the `python`, `Berkeley db 5.3`, `bzip2`, `expat` and `ssl` development 34 | packages are installed on your image. If you are cross compiling they must be 35 | included in your SDK. 36 | 37 | ## Building Ice-E 38 | 39 | Edit [`Makefile`](./Makefile) to establish your build configuration. The 40 | comments in the file provide more information. 41 | 42 | If you are cross compiling make sure you have configured your cross 43 | development environment. 44 | 45 | In a command window, run `make` to build Ice-E. This will build: 46 | 47 | - the Ice for C++ static and dynamic libraries, 48 | - Ice for Python, 49 | - the `slice2cpp`, `slice2py` and `slice2freeze` Slice compilers, 50 | - `dumpdb`, `glacier2router`, `icebox`, `iceboxadmin` and `transformdb` executables, and 51 | - the C++ and Python test suites. 52 | 53 | The C++ static and dynamic libraries are built in a subfolder of `cpp/lib`. The 54 | subfolder's name is dependent on your target platform. 55 | 56 | ## Installing Ice-E 57 | 58 | Run `make install` to install Ice-E in the directory specified by the `prefix` 59 | variable in `Makefile`. 60 | 61 | ## Test Suite 62 | 63 | You can run `allTests.py` from the root directory by running: 64 | 65 | python allTests.py 66 | 67 | If you are cross-compiling, you will first need to deploy 68 | the test suite to the target device: 69 | 70 | $ make test_deploy 71 | 72 | This command will deploy the Ice-E test suite to the device specified by the 73 | `DEPLOY_TARGET` variable in `Makefile`. 74 | 75 | Note that the ssh daemon must be running in the device. 76 | 77 | After successfully deploying the test suite, open an ssh session to the 78 | target, and change to the deployment directory. 79 | 80 | ssh user@192.168.7.2 81 | cd icee 82 | python allTests.py 83 | 84 | 85 | ### Yocto Notes 86 | 87 | To run the string converter test it is necessary that your image 88 | contain the `glibc-utils` and `glibc-gconvs` packages. 89 | 90 | To run the glacier2 tests you need to manually install `pip` and 91 | subsequently `passlib`. The `zeroc-image-testing` image in the [ZeroC meta layer][3] 92 | contains the necessary build dependencies. You can install pip by following [these instructions][4], 93 | then install passlib by running: 94 | 95 | pip install passlib 96 | 97 | [1]: https://doc.zeroc.com/display/Ice36/Supported+Platforms+for+Ice-E+3.6.3 98 | [2]: https://doc.zeroc.com/display/Ice36/Ice-E+Release+Notes 99 | [3]: https://github.com/zeroc-ice/meta-zeroc 100 | [4]: https://pip.pypa.io/en/latest/installing.html 101 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Ice-E 2 | 3 | Thank you for your interest in contributing to Ice-E! 4 | 5 | ## How to Contribute 6 | 7 | To contribute code or documentation to this project, please follow these steps: 8 | 9 | 1. Review the [ZeroC Contributor Agreement](https://gist.github.com/zcabot/1a4c24dca55adaa83d78cdeabc63226b). 10 | The CLA assistant bot will ask you to sign this agreement when you submit 11 | your first pull request. 12 | 13 | 2. If you're planning to make a significant contribution, such as a new feature 14 | or major changes, please discuss your ideas with the community first by 15 | starting a [discussion](https://github.com/zeroc-ice/icee/discussions) or by 16 | contacting us via [email](mailto:contributing@zeroc.com). 17 | 18 | 3. Fork this repository. 19 | 20 | 4. When implementing your contribution, please adhere to the project's naming 21 | and coding conventions to maintain consistency in the source code. 22 | 23 | 5. Submit a pull request. 24 | 25 | We review carefully any contribution that we accept, and these reviews may take 26 | some time. Please keep in mind there is no guarantee your contribution will be 27 | accepted: we may reject a pull request for any reason, or no reason. 28 | 29 | ## Contact 30 | 31 | - GitHub Discussions: 32 | - Twitter: 33 | - Email: 34 | -------------------------------------------------------------------------------- /ICE_LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 2 | 3 | This copy of Ice-E is free software; you can redistribute it and/or 4 | modify it under the terms of the GNU General Public License version 2 as 5 | published by the Free Software Foundation. 6 | 7 | Ice-E is distributed in the hope that it will be useful, but WITHOUT 8 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 9 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 10 | more details. 11 | 12 | You should have received a copy of the GNU General Public License version 13 | 2 along with this program; if not, see http://www.gnu.org/licenses. 14 | 15 | Linking Ice-E statically or dynamically with other software (such as 16 | a library, module or application) is making a combined work based on Ice-E. 17 | Thus, the terms and conditions of the GNU General Public License 18 | version 2 cover this combined work. 19 | 20 | If such software can only be used together with Ice-E, then not only 21 | the combined work but the software itself is a work derived from Ice-E 22 | and as such shall be licensed under the terms of the GNU General 23 | Public License version 2. This includes the situation where Ice-E is 24 | only being used through an abstraction layer. 25 | 26 | As a special exception to the above, ZeroC grants to the copyright 27 | holders and contributors of the Mumble project (http://www.mumble.info) 28 | the permission to license the Ice-E - based software they contribute 29 | to Mumble under the terms of the BSD license. This exception does not 30 | extend to the parts of Ice-E used by Mumble, or to any other derived 31 | work: as a whole, any work based on Ice-E shall be licensed under the 32 | terms and conditions of the GNU General Public License version 2. 33 | 34 | You may also combine Ice-E with any software not derived from Ice-E, 35 | provided the license of such software is compatible with the GNU 36 | General Public License version 2. In addition, as a special exception, 37 | ZeroC grants you permission to combine Ice-E with: 38 | 39 | - the OpenSSL library, or with a modified version of the OpenSSL library 40 | that uses the same license as OpenSSL 41 | 42 | - any library not derived from Ice-E and licensed under the terms of 43 | the Apache License, version 2.0 44 | (http://www.apache.org/licenses/LICENSE-2.0.html) 45 | 46 | If you modify this copy of Ice-E, you may extend any of the 47 | exceptions provided above to your version of Ice-E, but you are not 48 | obligated to do so. 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | 7 | Everyone is permitted to copy and distribute verbatim copies 8 | of this license document, but changing it is not allowed. 9 | 10 | Preamble 11 | 12 | The licenses for most software are designed to take away your 13 | freedom to share and change it. By contrast, the GNU General Public 14 | License is intended to guarantee your freedom to share and change free 15 | software--to make sure the software is free for all its users. This 16 | General Public License applies to most of the Free Software 17 | Foundation's software and to any other program whose authors commit to 18 | using it. (Some other Free Software Foundation software is covered by 19 | the GNU Library General Public License instead.) You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | this service if you wish), that you receive source code or can get it 26 | if you want it, that you can change the software or use pieces of it 27 | in new free programs; and that you know you can do these things. 28 | 29 | To protect your rights, we need to make restrictions that forbid 30 | anyone to deny you these rights or to ask you to surrender the rights. 31 | These restrictions translate to certain responsibilities for you if you 32 | distribute copies of the software, or if you modify it. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must give the recipients all the rights that 36 | you have. You must make sure that they, too, receive or can get the 37 | source code. And you must show them these terms so they know their 38 | rights. 39 | 40 | We protect your rights with two steps: (1) copyright the software, and 41 | (2) offer you this license which gives you legal permission to copy, 42 | distribute and/or modify the software. 43 | 44 | Also, for each author's protection and ours, we want to make certain 45 | that everyone understands that there is no warranty for this free 46 | software. If the software is modified by someone else and passed on, we 47 | want its recipients to know that what they have is not the original, so 48 | that any problems introduced by others will not reflect on the original 49 | authors' reputations. 50 | 51 | Finally, any free program is threatened constantly by software 52 | patents. We wish to avoid the danger that redistributors of a free 53 | program will individually obtain patent licenses, in effect making the 54 | program proprietary. To prevent this, we have made it clear that any 55 | patent must be licensed for everyone's free use or not licensed at all. 56 | 57 | The precise terms and conditions for copying, distribution and 58 | modification follow. 59 | 60 | GNU GENERAL PUBLIC LICENSE 61 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 62 | 63 | 0. This License applies to any program or other work which contains 64 | a notice placed by the copyright holder saying it may be distributed 65 | under the terms of this General Public License. The "Program", below, 66 | refers to any such program or work, and a "work based on the Program" 67 | means either the Program or any derivative work under copyright law: 68 | that is to say, a work containing the Program or a portion of it, 69 | either verbatim or with modifications and/or translated into another 70 | language. (Hereinafter, translation is included without limitation in 71 | the term "modification".) Each licensee is addressed as "you". 72 | 73 | Activities other than copying, distribution and modification are not 74 | covered by this License; they are outside its scope. The act of 75 | running the Program is not restricted, and the output from the Program 76 | is covered only if its contents constitute a work based on the 77 | Program (independent of having been made by running the Program). 78 | Whether that is true depends on what the Program does. 79 | 80 | 1. You may copy and distribute verbatim copies of the Program's 81 | source code as you receive it, in any medium, provided that you 82 | conspicuously and appropriately publish on each copy an appropriate 83 | copyright notice and disclaimer of warranty; keep intact all the 84 | notices that refer to this License and to the absence of any warranty; 85 | and give any other recipients of the Program a copy of this License 86 | along with the Program. 87 | 88 | You may charge a fee for the physical act of transferring a copy, and 89 | you may at your option offer warranty protection in exchange for a fee. 90 | 91 | 2. You may modify your copy or copies of the Program or any portion 92 | of it, thus forming a work based on the Program, and copy and 93 | distribute such modifications or work under the terms of Section 1 94 | above, provided that you also meet all of these conditions: 95 | 96 | a) You must cause the modified files to carry prominent notices 97 | stating that you changed the files and the date of any change. 98 | 99 | b) You must cause any work that you distribute or publish, that in 100 | whole or in part contains or is derived from the Program or any 101 | part thereof, to be licensed as a whole at no charge to all third 102 | parties under the terms of this License. 103 | 104 | c) If the modified program normally reads commands interactively 105 | when run, you must cause it, when started running for such 106 | interactive use in the most ordinary way, to print or display an 107 | announcement including an appropriate copyright notice and a 108 | notice that there is no warranty (or else, saying that you provide 109 | a warranty) and that users may redistribute the program under 110 | these conditions, and telling the user how to view a copy of this 111 | License. (Exception: if the Program itself is interactive but 112 | does not normally print such an announcement, your work based on 113 | the Program is not required to print an announcement.) 114 | 115 | These requirements apply to the modified work as a whole. If 116 | identifiable sections of that work are not derived from the Program, 117 | and can be reasonably considered independent and separate works in 118 | themselves, then this License, and its terms, do not apply to those 119 | sections when you distribute them as separate works. But when you 120 | distribute the same sections as part of a whole which is a work based 121 | on the Program, the distribution of the whole must be on the terms of 122 | this License, whose permissions for other licensees extend to the 123 | entire whole, and thus to each and every part regardless of who wrote it. 124 | 125 | Thus, it is not the intent of this section to claim rights or contest 126 | your rights to work written entirely by you; rather, the intent is to 127 | exercise the right to control the distribution of derivative or 128 | collective works based on the Program. 129 | 130 | In addition, mere aggregation of another work not based on the Program 131 | with the Program (or with a work based on the Program) on a volume of 132 | a storage or distribution medium does not bring the other work under 133 | the scope of this License. 134 | 135 | 3. You may copy and distribute the Program (or a work based on it, 136 | under Section 2) in object code or executable form under the terms of 137 | Sections 1 and 2 above provided that you also do one of the following: 138 | 139 | a) Accompany it with the complete corresponding machine-readable 140 | source code, which must be distributed under the terms of Sections 141 | 1 and 2 above on a medium customarily used for software interchange; or, 142 | 143 | b) Accompany it with a written offer, valid for at least three 144 | years, to give any third party, for a charge no more than your 145 | cost of physically performing source distribution, a complete 146 | machine-readable copy of the corresponding source code, to be 147 | distributed under the terms of Sections 1 and 2 above on a medium 148 | customarily used for software interchange; or, 149 | 150 | c) Accompany it with the information you received as to the offer 151 | to distribute corresponding source code. (This alternative is 152 | allowed only for noncommercial distribution and only if you 153 | received the program in object code or executable form with such 154 | an offer, in accord with Subsection b above.) 155 | 156 | The source code for a work means the preferred form of the work for 157 | making modifications to it. For an executable work, complete source 158 | code means all the source code for all modules it contains, plus any 159 | associated interface definition files, plus the scripts used to 160 | control compilation and installation of the executable. However, as a 161 | special exception, the source code distributed need not include 162 | anything that is normally distributed (in either source or binary 163 | form) with the major components (compiler, kernel, and so on) of the 164 | operating system on which the executable runs, unless that component 165 | itself accompanies the executable. 166 | 167 | If distribution of executable or object code is made by offering 168 | access to copy from a designated place, then offering equivalent 169 | access to copy the source code from the same place counts as 170 | distribution of the source code, even though third parties are not 171 | compelled to copy the source along with the object code. 172 | 173 | 4. You may not copy, modify, sublicense, or distribute the Program 174 | except as expressly provided under this License. Any attempt 175 | otherwise to copy, modify, sublicense or distribute the Program is 176 | void, and will automatically terminate your rights under this License. 177 | However, parties who have received copies, or rights, from you under 178 | this License will not have their licenses terminated so long as such 179 | parties remain in full compliance. 180 | 181 | 5. You are not required to accept this License, since you have not 182 | signed it. However, nothing else grants you permission to modify or 183 | distribute the Program or its derivative works. These actions are 184 | prohibited by law if you do not accept this License. Therefore, by 185 | modifying or distributing the Program (or any work based on the 186 | Program), you indicate your acceptance of this License to do so, and 187 | all its terms and conditions for copying, distributing or modifying 188 | the Program or works based on it. 189 | 190 | 6. Each time you redistribute the Program (or any work based on the 191 | Program), the recipient automatically receives a license from the 192 | original licensor to copy, distribute or modify the Program subject to 193 | these terms and conditions. You may not impose any further 194 | restrictions on the recipients' exercise of the rights granted herein. 195 | You are not responsible for enforcing compliance by third parties to 196 | this License. 197 | 198 | 7. If, as a consequence of a court judgment or allegation of patent 199 | infringement or for any other reason (not limited to patent issues), 200 | conditions are imposed on you (whether by court order, agreement or 201 | otherwise) that contradict the conditions of this License, they do not 202 | excuse you from the conditions of this License. If you cannot 203 | distribute so as to satisfy simultaneously your obligations under this 204 | License and any other pertinent obligations, then as a consequence you 205 | may not distribute the Program at all. For example, if a patent 206 | license would not permit royalty-free redistribution of the Program by 207 | all those who receive copies directly or indirectly through you, then 208 | the only way you could satisfy both it and this License would be to 209 | refrain entirely from distribution of the Program. 210 | 211 | If any portion of this section is held invalid or unenforceable under 212 | any particular circumstance, the balance of the section is intended to 213 | apply and the section as a whole is intended to apply in other 214 | circumstances. 215 | 216 | It is not the purpose of this section to induce you to infringe any 217 | patents or other property right claims or to contest validity of any 218 | such claims; this section has the sole purpose of protecting the 219 | integrity of the free software distribution system, which is 220 | implemented by public license practices. Many people have made 221 | generous contributions to the wide range of software distributed 222 | through that system in reliance on consistent application of that 223 | system; it is up to the author/donor to decide if he or she is willing 224 | to distribute software through any other system and a licensee cannot 225 | impose that choice. 226 | 227 | This section is intended to make thoroughly clear what is believed to 228 | be a consequence of the rest of this License. 229 | 230 | 8. If the distribution and/or use of the Program is restricted in 231 | certain countries either by patents or by copyrighted interfaces, the 232 | original copyright holder who places the Program under this License 233 | may add an explicit geographical distribution limitation excluding 234 | those countries, so that distribution is permitted only in or among 235 | countries not thus excluded. In such case, this License incorporates 236 | the limitation as if written in the body of this License. 237 | 238 | 9. The Free Software Foundation may publish revised and/or new versions 239 | of the General Public License from time to time. Such new versions will 240 | be similar in spirit to the present version, but may differ in detail to 241 | address new problems or concerns. 242 | 243 | Each version is given a distinguishing version number. If the Program 244 | specifies a version number of this License which applies to it and "any 245 | later version", you have the option of following the terms and conditions 246 | either of that version or of any later version published by the Free 247 | Software Foundation. If the Program does not specify a version number of 248 | this License, you may choose any version ever published by the Free Software 249 | Foundation. 250 | 251 | 10. If you wish to incorporate parts of the Program into other free 252 | programs whose distribution conditions are different, write to the author 253 | to ask for permission. For software which is copyrighted by the Free 254 | Software Foundation, write to the Free Software Foundation; we sometimes 255 | make exceptions for this. Our decision will be guided by the two goals 256 | of preserving the free status of all derivatives of our free software and 257 | of promoting the sharing and reuse of software generally. 258 | 259 | NO WARRANTY 260 | 261 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 262 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 263 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 264 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 265 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 266 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 267 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 268 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 269 | REPAIR OR CORRECTION. 270 | 271 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 272 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 273 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 274 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 275 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 276 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 277 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 278 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 279 | POSSIBILITY OF SUCH DAMAGES. 280 | 281 | END OF TERMS AND CONDITIONS 282 | 283 | How to Apply These Terms to Your New Programs 284 | 285 | If you develop a new program, and you want it to be of the greatest 286 | possible use to the public, the best way to achieve this is to make it 287 | free software which everyone can redistribute and change under these terms. 288 | 289 | To do so, attach the following notices to the program. It is safest 290 | to attach them to the start of each source file to most effectively 291 | convey the exclusion of warranty; and each file should have at least 292 | the "copyright" line and a pointer to where the full notice is found. 293 | 294 | 295 | Copyright (C) 296 | 297 | This program is free software; you can redistribute it and/or modify 298 | it under the terms of the GNU General Public License as published by 299 | the Free Software Foundation; either version 2 of the License, or 300 | (at your option) any later version. 301 | 302 | This program is distributed in the hope that it will be useful, 303 | but WITHOUT ANY WARRANTY; without even the implied warranty of 304 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 305 | GNU General Public License for more details. 306 | 307 | You should have received a copy of the GNU General Public License 308 | along with this program; if not, write to the Free Software 309 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 310 | 311 | Also add information on how to contact you by electronic and paper mail. 312 | 313 | If the program is interactive, make it output a short notice like this 314 | when it starts in an interactive mode: 315 | 316 | Gnomovision version 69, Copyright (C) year name of author 317 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318 | This is free software, and you are welcome to redistribute it 319 | under certain conditions; type `show c' for details. 320 | 321 | The hypothetical commands `show w' and `show c' should show the appropriate 322 | parts of the General Public License. Of course, the commands you use may 323 | be called something other than `show w' and `show c'; they could even be 324 | mouse-clicks or menu items--whatever suits your program. 325 | 326 | You should also get your employer (if you work as a programmer) or your 327 | school, if any, to sign a "copyright disclaimer" for the program, if 328 | necessary. Here is a sample; alter the names: 329 | 330 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 331 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 332 | 333 | , 1 April 1989 334 | Ty Coon, President of Vice 335 | 336 | This General Public License does not permit incorporating your program into 337 | proprietary programs. If your program is a subroutine library, you may 338 | consider it more useful to permit linking proprietary applications with the 339 | library. If this is what you want to do, use the GNU Library General 340 | Public License instead of this License. 341 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | # 11 | # Select an installation base directory. The directory will be created 12 | # if it does not exist. 13 | # 14 | prefix ?= /opt/IceE-$(VERSION) 15 | 16 | # 17 | # Define OPTIMIZE as yes if you want to build with optimization. Otherwise 18 | # Ice-E is built with debug information. 19 | # 20 | #OPTIMIZE = yes 21 | 22 | # 23 | # The target operating system for the build, supported values are 'yocto' 24 | # and 'debian'. 25 | # 26 | #ICEE_TARGET_OS ?= debian 27 | 28 | # 29 | # If you want to build Ice-E using an Ice binary distribution 30 | # set ICE_HOME to point to your Ice install location. 31 | # 32 | #ICE_HOME = /usr 33 | 34 | # 35 | # The "root directory" for runpath embedded in executables. Can be set 36 | # to change the runpath added to Ice executables. The default is 37 | # platform dependent. 38 | # 39 | #EMBEDDED_RUNPATH_PREFIX ?= /opt/IceE-3.6 40 | 41 | # 42 | # Define EMBEDDED_RUNPATH as no if you don't want any RPATH added to 43 | # the executables. 44 | # 45 | EMBEDDED_RUNPATH ?= yes 46 | 47 | # 48 | # Define NEW_DTAGS as yes if you want the linker to enable the new style 49 | # dtags, this will cause the linker to add a runpath entry instead of 50 | # a rpath entry. This only applies to gcc builds on Linux. 51 | # 52 | NEW_DTAGS ?= no 53 | 54 | # 55 | # Default mutex protocol, one of 'PrioNone' or 'PrioInherit'. 56 | # 57 | #DEFAULT_MUTEX_PROTOCOL ?= PrioNone 58 | 59 | # 60 | # Define CPP11 as yes if you want to enable C++11 features. 61 | # 62 | #CPP11 ?= yes 63 | 64 | # 65 | # To build test suite against static libraries define BUILD_TESTSUITE 66 | # as static, to build test suite against dynamic libraries define 67 | # BUILD_TESTSUITE as dynamic. 68 | # 69 | BUILD_TESTSUITE ?= static 70 | 71 | # 72 | # Target to deploy the test suite. 73 | # 74 | #DEPLOY_TARGET ?= debian@192.168.7.2:/home/debian/icee 75 | 76 | 77 | ############################################################################### 78 | # # 79 | # Debian specific options # 80 | # # 81 | ############################################################################### 82 | 83 | # 84 | # Debian arch tuple of the host machine. Supported values are 85 | # 'arm-linux-gnueabihf' and 'x86_64-linux-gnu'. 86 | # 87 | # Set it to 'arm-linux-gnueabihf' if you are cross-compiling for 88 | # armhf. 89 | # 90 | HOST ?= arm-linux-gnueabihf 91 | 92 | # 93 | # Include common definitions. 94 | # 95 | include $(CURDIR)/config/Make.common.rules 96 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Ice-E 2 | 3 | Ice-E brings Ice for C++ and Ice for Python to embedded devices. 4 | 5 | With Ice-E you can cross-compile your C++ apps to your favorite embedded platform. 6 | 7 | ## Download 8 | 9 | For download and installation instructions refer to the [Ice-E release notes](https://doc.zeroc.com/display/Ice36/Ice-E+Release+Notes). 10 | 11 | ## Tested Boards 12 | 13 | Ice-E has been tested on the following development boards: 14 | - [BeagleBoard BeagleBone Black](http://beagleboard.org/black) (Rev C) 15 | - Debian 8.3 for BeagleBone 2016-01-24 16 | - Yocto 1.8 17 | - [Freescale SABRE SD](http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREBRD) 18 | - Yocto 1.7 & 1.8 using [Freescale Community BSP](https://freescale.github.io/#header-section) 19 | 20 | ## Copyright and License 21 | 22 | Ice-E is a single-copyright project: all the source code in this 23 | [icee repository](https://github.com/zeroc-ice/icee) is Copyright 24 | © ZeroC, Inc.. 25 | 26 | As copyright owner, ZeroC can license Ice-E under different license 27 | terms, and offers the following licenses for Ice-E: 28 | - GPLv2, a popular open-source license with strong 29 | [copyleft](http://en.wikipedia.org/wiki/Copyleft) conditions (the default license) 30 | - Commercial or closed-source licenses 31 | 32 | If you license Ice-E under GPLv2, there is no license fee or signed license 33 | agreement: you just need to comply with the GPLv2 terms and conditions. See 34 | [ICE_LICENSE](./ICE_LICENSE) and [LICENSE](./LICENSE) for further information. 35 | 36 | ## Documentation 37 | 38 | - [Ice-E Release Notes](https://doc.zeroc.com/display/Rel/Ice-E+3.6.2+Release+Notes) 39 | - [Ice Manual](https://doc.zeroc.com/display/Ice36/Home) 40 | -------------------------------------------------------------------------------- /allTests.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ********************************************************************** 3 | # 4 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 5 | # 6 | # This copy of Ice is licensed to you under the terms described in the 7 | # ICE_LICENSE file included in this distribution. 8 | # 9 | # ********************************************************************** 10 | 11 | import os, sys, imp 12 | 13 | sys.path.append(os.path.join(os.path.dirname(__file__), "scripts")) 14 | import TestUtil 15 | 16 | testGroups = [] 17 | 18 | for d in [ "cpp", "python"]: 19 | 20 | filename = os.path.abspath(os.path.join(os.path.dirname(__file__), d, "allTests.py")) 21 | f = open(filename, "r") 22 | current_mod = imp.load_module("allTests", f, filename, (".py", "r", imp.PY_SOURCE)) 23 | f.close() 24 | 25 | tests = [] 26 | 27 | tests = [ (os.path.join(d, "test", x), y) for x, y in current_mod.tests ] 28 | if len(tests) > 0: 29 | testGroups.extend(tests) 30 | 31 | TestUtil.run(testGroups, root=True) 32 | -------------------------------------------------------------------------------- /config/Make.application.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(OBJECT_RULES) 11 | 12 | ifeq ($(LOCAL_BINDIR),) 13 | LOCAL_BINDIR = $(icee_bin_dir) 14 | # 15 | # Bitbake yocto build sytem already strip its binaries. 16 | # 17 | ifeq ($(ICEE_TARGET_OS),yocto) 18 | LOCAL_STRIP_DISABLED = yes 19 | endif 20 | endif 21 | 22 | ifeq ($(LOCAL_EXE),) 23 | LOCAL_EXE = $(LOCAL_MODULE) 24 | endif 25 | 26 | $(LOCAL_MODULE): LOCAL_BINDIR := $(LOCAL_BINDIR) 27 | $(LOCAL_MODULE): LOCAL_EXE := $(LOCAL_EXE) 28 | 29 | ifeq ($(EMBEDDED_RUNPATH),yes) 30 | ifeq ($(RPATH_DIR),) 31 | LOCAL_RPATH := \$$ORIGIN/$(call relpath,$(CURDIR)/cpp,$(CURDIR)/$(LOCAL_BINDIR))/$(icee_libsubdir) 32 | else 33 | LOCAL_RPATH := $(RPATH_DIR) 34 | endif 35 | 36 | # 37 | # Clear the rpath dir when doing a system install. 38 | # 39 | ifeq ($(prefix),$(base_prefix)$(usr)) 40 | LOCAL_RPATH = 41 | endif 42 | 43 | # 44 | # Clear the rpath dir when building agains system install. 45 | # 46 | ifeq ($(ICEE_HOME),$(base_prefix)/usr) 47 | LOCAL_RPATH = 48 | endif 49 | endif 50 | 51 | ifneq ($(LOCAL_RPATH),) 52 | LOCAL_LDFLAGS := $(DTAGS) -Wl,-rpath,$(LOCAL_RPATH) $(LOCAL_LDFLAGS) 53 | endif 54 | 55 | $(LOCAL_BINDIR)/$(LOCAL_EXE): LOCAL_MODULE := $(LOCAL_MODULE) 56 | $(LOCAL_BINDIR)/$(LOCAL_EXE): LOCAL_BINDIR := $(LOCAL_BINDIR) 57 | $(LOCAL_BINDIR)/$(LOCAL_EXE): LOCAL_EXE := $(LOCAL_EXE) 58 | $(LOCAL_BINDIR)/$(LOCAL_EXE): LOCAL_OBJS := $(LOCAL_OBJS) 59 | $(LOCAL_BINDIR)/$(LOCAL_EXE): LOCAL_STRIP_DISABLED := $(LOCAL_STRIP_DISABLED) 60 | 61 | LOCAL_TARGET = $(LOCAL_BINDIR)/$(LOCAL_EXE) 62 | 63 | include $(LINK_RULES) 64 | 65 | $(LOCAL_MODULE)_clean: LOCAL_OBJS := $(LOCAL_OBJS) 66 | $(LOCAL_MODULE)_clean: LOCAL_EXE := $(LOCAL_EXE) 67 | $(LOCAL_MODULE)_clean: LOCAL_BINDIR := $(LOCAL_BINDIR) 68 | 69 | $(LOCAL_BINDIR)/$(LOCAL_EXE): $(LOCAL_OBJS) 70 | @mkdir -p $(@D) 71 | @rm -rf $(@) 72 | $(E) "Linking $(LOCAL_MODULE)" 73 | $(Q)$(CXX) -o $(@) $(LOCAL_LDFLAGS) $(LDFLAGS) $(LDEXEFLAGS) $(LOCAL_OBJS) $(LOCAL_MY_LINKWITH) $(LOCAL_LINKWITH) $(LINKWITH) 74 | ifneq ($(LOCAL_STRIP_DISABLED),yes) 75 | $(Q)$(STRIP) --strip-all --remove-section=.comment --remove-section=.note $(@) 76 | endif 77 | 78 | $(LOCAL_MODULE):: $(LOCAL_BINDIR)/$(LOCAL_EXE) 79 | 80 | 81 | $(LOCAL_MODULE)_clean:: 82 | $(Q)rm -rf $(LOCAL_BINDIR)/$(LOCAL_EXE) 83 | 84 | CLEAN_TARGETS := $(CLEAN_TARGETS) $(LOCAL_MODULE)_clean 85 | 86 | TARGETS := $(TARGETS) $(LOCAL_BINDIR)/$(LOCAL_EXE) 87 | 88 | $(LOCAL_MODULE)_gitignore: LOCAL_BINDIR := $(LOCAL_BINDIR) 89 | $(LOCAL_MODULE)_gitignore: LOCAL_EXE := $(LOCAL_EXE) 90 | 91 | $(LOCAL_MODULE)_gitignore:: 92 | @echo $(LOCAL_BINDIR)/$(LOCAL_EXE) 93 | 94 | gitignore:: $(LOCAL_MODULE)_gitignore 95 | 96 | ifeq ($(findstring /test/,$(LOCAL_PATH)),) 97 | 98 | $(LOCAL_MODULE)_install: LOCAL_BINDIR := $(LOCAL_BINDIR) 99 | $(LOCAL_MODULE)_install: LOCAL_EXE := $(LOCAL_EXE) 100 | 101 | $(LOCAL_MODULE)_install: $(LOCAL_MODULE) 102 | @mkdir -p $(DESTDIR)/$(ice_install_bin_dir) 103 | $(Q)cp -rf $(LOCAL_BINDIR)/$(LOCAL_EXE) $(DESTDIR)/$(ice_install_bin_dir) 104 | ifneq ($(wildcard ice/man/man1/$(LOCAL_EXE).1),) 105 | @mkdir -p $(DESTDIR)/$(ice_install_man_dir) 106 | $(Q)cp -rf ice/man/man1/$(LOCAL_EXE).1 $(DESTDIR)/$(ice_install_man_dir) 107 | endif 108 | 109 | 110 | INSTALL_TARGETS := $(INSTALL_TARGETS) $(LOCAL_MODULE)_install 111 | endif 112 | -------------------------------------------------------------------------------- /config/Make.clear.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | # 11 | # Clear local used variables 12 | # 13 | 14 | LOCAL_PATH = 15 | LOCAL_MODULE = 16 | LOCAL_SLICEDIR = 17 | LOCAL_SLICES = 18 | LOCAL_SLICE2CPPFLAGS = 19 | LOCAL_SLICE2PYFLAGS = 20 | LOCAL_SRCDIR = 21 | LOCAL_SRCS = 22 | LOCAL_CPPFLAGS = 23 | LOCAL_GEN_SRCS = 24 | LOCAL_OBJS = 25 | LOCAL_LDFLAGS = 26 | LOCAL_LINKWITH = 27 | LOCAL_MY_LINKWITH = 28 | LOCAL_DEPENDENT_MODULES = 29 | LOCAL_DEPENDENT_DYMODULES = 30 | LOCAL_EXE = 31 | LOCAL_BINDIR = 32 | LOCAL_LIB = 33 | LOCAL_LIBDIR = 34 | LOCAL_LIBNAME = 35 | LOCAL_LIBNAME_SUFFIX = 36 | LOCAL_DYLIBNAME = 37 | LOCAL_DYLIBSONAME = 38 | LOCAL_DYLIBFILENAME = 39 | LOCAL_DYLIBNAME_SUFFIX = 40 | LOCAL_RESOURCES = 41 | LOCAL_HEADERPATH = 42 | LOCAL_HEADERS = 43 | LOCAL_SLICEOUTPUTDIR = 44 | LOCAL_OBJPREFIX = 45 | LOCAL_TARGETPREFIX = 46 | LOCAL_STRIP_DISABLED = 47 | LOCAL_PREFIX = 48 | LOCAL_PACKAGE = 49 | LOCAL_INSTALLDIR = 50 | 51 | # Clear Local Freeze Rules 52 | LOCAL_FREEZEOUTPUTDIR = 53 | LOCAL_FREEZE_SRCS = 54 | LOCAL_FREEZE_HEADERS = 55 | LOCAL_SLICE2FREEZEFLAGS = 56 | LOCAL_FREEZE_CLASS = 57 | LOCAL_FREEZE_HEADER = 58 | LOCAL_FREEZE_SRC = 59 | LOCAL_FREEZE_DICT = 60 | LOCAL_FREEZE_DICT_INDEX = 61 | LOCAL_FREEZE_DEPS = 62 | -------------------------------------------------------------------------------- /config/Make.clientservertest.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | TEST_LOCAL_PATH := $(LOCAL_PATH) 11 | 12 | # 13 | # Client test 14 | # 15 | ifeq ($(CLIENT_SLICES),) 16 | CLIENT_SLICES = Test.ice 17 | endif 18 | 19 | ifneq ($(CLIENT_SLICES_EXT),) 20 | CLIENT_SLICES := $(CLIENT_SLICES) $(CLIENT_SLICES_EXT) 21 | endif 22 | 23 | ifneq ($(TEST_SLICES_EXT),) 24 | CLIENT_SLICES := $(CLIENT_SLICES) $(TEST_SLICES_EXT) 25 | endif 26 | 27 | ifeq ($(CLIENT_SRCS),) 28 | CLIENT_SRCS = Client.cpp AllTests.cpp 29 | endif 30 | 31 | ifneq ($(CLIENT_SRCS_EXT),) 32 | CLIENT_SRCS := $(CLIENT_SRCS) $(CLIENT_SRCS_EXT) 33 | endif 34 | 35 | ifneq ($(TEST_SRCS_EXT),) 36 | CLIENT_SRCS := $(CLIENT_SRCS) $(TEST_SRCS_EXT) 37 | endif 38 | 39 | include $(CLEAR_RULES) 40 | 41 | LOCAL_EXE = client 42 | LOCAL_PATH = $(TEST_LOCAL_PATH) 43 | LOCAL_SLICES = $(filter-out $(CLIENT_SLICES_EXCLUDE),$(sort $(CLIENT_SLICES))) 44 | LOCAL_SRCS = $(filter-out $(CLIENT_SRCS_EXCLUDE),$(sort $(CLIENT_SRCS))) 45 | 46 | ifneq ($(CLIENT_SLICES2CPPFLAGS),) 47 | LOCAL_SLICES2CPPFLAGS += $(CLIENT_SLICES2CPPFLAGS) 48 | endif 49 | 50 | ifneq ($(TEST_SLICES2CPPFLAGS),) 51 | LOCAL_SLICES2CPPFLAGS += $(TEST_SLICES2CPPFLAGS) 52 | endif 53 | 54 | ifneq ($(CLIENT_CPPFLAGS),) 55 | LOCAL_CPPFLAGS += $(CLIENT_CPPFLAGS) 56 | endif 57 | 58 | ifneq ($(TEST_CPPFLAGS),) 59 | LOCAL_CPPFLAGS += $(TEST_CPPFLAGS) 60 | endif 61 | 62 | ifneq ($(CLIENT_DEPENDENT_MODULES),) 63 | LOCAL_DEPENDENT_MODULES = $(CLIENT_DEPENDENT_MODULES) 64 | endif 65 | 66 | 67 | ifneq ($(TEST_DEPENDENT_MODULES),) 68 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) $(TEST_DEPENDENT_MODULES) 69 | endif 70 | 71 | ifneq ($(CLIENT_LINKWITH),) 72 | LOCAL_LINKWITH = $(CLIENT_LINKWITH) 73 | endif 74 | 75 | ifneq ($(TEST_LINKWITH),) 76 | LOCAL_LINKWITH += $(TEST_LINKWITH) 77 | endif 78 | 79 | ifneq ($(CLIENT_LDFLAGS),) 80 | LOCAL_LDFLAGS += $(CLIENT_LDFLAGS) 81 | endif 82 | 83 | ifneq ($(TEST_LDFLAGS),) 84 | LOCAL_LDFLAGS += $(TEST_LDFLAGS) 85 | endif 86 | 87 | include $(TEST_APPLICATION_RULES) 88 | 89 | # 90 | # Server test 91 | # 92 | ifeq ($(SERVER_SLICES),) 93 | SERVER_SLICES = Test.ice 94 | endif 95 | 96 | ifneq ($(SERVER_SLICES_EXT),) 97 | SERVER_SLICES := $(SERVER_SLICES) $(SERVER_SLICES_EXT) 98 | endif 99 | 100 | ifneq ($(TEST_SLICES_EXT),) 101 | SERVER_SLICES := $(SERVER_SLICES) $(TEST_SLICES_EXT) 102 | endif 103 | 104 | ifeq ($(SERVER_SRCS),) 105 | SERVER_SRCS = Server.cpp TestI.cpp 106 | endif 107 | 108 | ifneq ($(SERVER_SRCS_EXT),) 109 | SERVER_SRCS := $(SERVER_SRCS) $(SERVER_SRCS_EXT) 110 | endif 111 | 112 | ifneq ($(TEST_SRCS_EXT),) 113 | SERVER_SRCS := $(SERVER_SRCS) $(TEST_SRCS_EXT) 114 | endif 115 | 116 | include $(CLEAR_RULES) 117 | 118 | LOCAL_EXE = server 119 | LOCAL_PATH = $(TEST_LOCAL_PATH) 120 | LOCAL_SLICES = $(filter-out $(SERVER_SLICES_EXCLUDE),$(sort $(SERVER_SLICES))) 121 | LOCAL_SRCS = $(filter-out $(SERVER_SRCS_EXCLUDE),$(sort $(SERVER_SRCS))) 122 | 123 | 124 | ifneq ($(SERVER_SLICES2CPPFLAGS),) 125 | LOCAL_SLICES2CPPFLAGS += $(SERVER_SLICES2CPPFLAGS) 126 | endif 127 | 128 | ifneq ($(TEST_SLICES2CPPFLAGS),) 129 | LOCAL_SLICES2CPPFLAGS += $(TEST_SLICES2CPPFLAGS) 130 | endif 131 | 132 | ifneq ($(SERVER_CPPFLAGS),) 133 | LOCAL_CPPFLAGS += $(SERVER_CPPFLAGS) 134 | endif 135 | 136 | ifneq ($(TEST_CPPFLAGS),) 137 | LOCAL_CPPFLAGS += $(TEST_CPPFLAGS) 138 | endif 139 | 140 | ifneq ($(SERVER_DEPENDENT_MODULES),) 141 | LOCAL_DEPENDENT_MODULES = $(SERVER_DEPENDENT_MODULES) 142 | endif 143 | 144 | 145 | ifneq ($(TEST_DEPENDENT_MODULES),) 146 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) $(TEST_DEPENDENT_MODULES) 147 | endif 148 | 149 | ifneq ($(SERVER_LINKWITH),) 150 | LOCAL_LINKWITH = $(SERVER_LINKWITH) 151 | endif 152 | 153 | ifneq ($(TEST_LINKWITH),) 154 | LOCAL_LINKWITH += $(TEST_LINKWITH) 155 | endif 156 | 157 | ifneq ($(SERVER_LDFLAGS),) 158 | LOCAL_LDFLAGS += $(SERVER_LDFLAGS) 159 | endif 160 | 161 | ifneq ($(TEST_LDFLAGS),) 162 | LOCAL_LDFLAGS += $(TEST_LDFLAGS) 163 | endif 164 | 165 | include $(TEST_APPLICATION_RULES) 166 | 167 | # 168 | # Colloc test 169 | # 170 | ifneq ($(findstring colloc,$(TEST_TARGET_EXT)),) 171 | 172 | ifeq ($(COLLOC_SLICES),) 173 | COLLOC_SLICES = Test.ice 174 | endif 175 | 176 | ifneq ($(COLLOC_SLICES_EXT),) 177 | COLLOC_SLICES := $(COLLOC_SLICES $(COLLOC_SLICES_EXT) 178 | endif 179 | 180 | ifneq ($(TEST_SLICES_EXT),) 181 | COLLOC_SLICES := $(COLLOC_SLICES) $(TEST_SLICES_EXT) 182 | endif 183 | 184 | ifneq ($(CLIENT_SLICES_EXT),) 185 | COLLOC_SLICES := $(COLLOC_SLICES) $(CLIENT_SLICES_EXT) 186 | endif 187 | 188 | ifneq ($(SERVER_SLICES_EXT),) 189 | COLLOC_SLICES := $(COLLOC_SLICES) $(SERVER_SLICES_EXT) 190 | endif 191 | 192 | ifeq ($(COLLOC_SRCS),) 193 | COLLOC_SRCS = Collocated.cpp TestI.cpp AllTests.cpp 194 | endif 195 | 196 | ifneq ($(COLLOC_SRCS_EXT),) 197 | COLLOC_SRCS := $(COLLOC_SRCS) $(COLLOC_SRCS_EXT) 198 | endif 199 | 200 | ifneq ($(SERVER_SRCS_EXT),) 201 | COLLOC_SRCS := $(COLLOC_SRCS) $(SERVER_SRCS_EXT) 202 | endif 203 | 204 | ifneq ($(CLIENT_SRCS_EXT),) 205 | COLLOC_SRCS := $(COLLOC_SRCS) $(CLIENT_SRCS_EXT) 206 | endif 207 | 208 | ifneq ($(TEST_SRCS_EXT),) 209 | COLLOC_SRCS := $(COLLOC_SRCS) $(TEST_SRCS_EXT) 210 | endif 211 | 212 | include $(CLEAR_RULES) 213 | 214 | LOCAL_EXE = collocated 215 | LOCAL_PATH = $(TEST_LOCAL_PATH) 216 | LOCAL_SLICES = $(filter-out $(COLLOC_SLICES_EXCLUDE),$(sort $(COLLOC_SLICES))) 217 | LOCAL_SRCS = $(filter-out $(COLLOC_SRCS_EXCLUDE),$(sort $(COLLOC_SRCS))) 218 | 219 | ifneq ($(COLLOC_SLICES2CPPFLAGS),) 220 | LOCAL_SLICES2CPPFLAGS += $(COLLOC_SLICES2CPPFLAGS) 221 | endif 222 | 223 | ifneq ($(TEST_SLICES2CPPFLAGS),) 224 | LOCAL_SLICES2CPPFLAGS += $(TEST_SLICES2CPPFLAGS) 225 | endif 226 | 227 | ifneq ($(COLLOC_CPPFLAGS),) 228 | LOCAL_CPPFLAGS += $(COLLOC_CPPFLAGS) 229 | endif 230 | 231 | ifneq ($(TEST_CPPFLAGS),) 232 | LOCAL_CPPFLAGS += $(TEST_CPPFLAGS) 233 | endif 234 | 235 | ifneq ($(COLLOC_DEPENDENT_MODULES),) 236 | LOCAL_DEPENDENT_MODULES = $(COLLOC_DEPENDENT_MODULES) 237 | endif 238 | 239 | ifneq ($(TEST_DEPENDENT_MODULES),) 240 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) $(TEST_DEPENDENT_MODULES) 241 | endif 242 | 243 | ifneq ($(COLLOC_LINKWITH),) 244 | LOCAL_LINKWITH = $(COLLOC_LINKWITH) 245 | endif 246 | 247 | ifneq ($(TEST_LINKWITH),) 248 | LOCAL_LINKWITH += $(TEST_LINKWITH) 249 | endif 250 | 251 | ifneq ($(COLLOC_LDFLAGS),) 252 | LOCAL_LDFLAGS += $(COLLOC_LDFLAGS) 253 | endif 254 | 255 | ifneq ($(TEST_LDFLAGS),) 256 | LOCAL_LDFLAGS += $(TEST_LDFLAGS) 257 | endif 258 | 259 | include $(TEST_APPLICATION_RULES) 260 | 261 | endif 262 | 263 | # 264 | # ServerAMD test 265 | # 266 | ifneq ($(findstring serveramd,$(TEST_TARGET_EXT)),) 267 | 268 | ifeq ($(AMD_SLICES),) 269 | AMD_SLICES = TestAMD.ice 270 | endif 271 | 272 | ifneq ($(AMD_SLICES_EXT),) 273 | AMD_SLICES := $(AMD_SLICES) $(AMD_SLICES_EXT) 274 | endif 275 | 276 | ifneq ($(TEST_SLICES_EXT),) 277 | AMD_SLICES := $(AMD_SLICES) $(TEST_SLICES_EXT) 278 | endif 279 | 280 | ifeq ($(AMD_SRCS),) 281 | AMD_SRCS = TestAMDI.cpp ServerAMD.cpp 282 | endif 283 | 284 | ifneq ($(AMD_SRCS_EXT),) 285 | AMD_SRCS := $(AMD_SRCS) $(AMD_SRCS_EXT) 286 | endif 287 | 288 | ifneq ($(TEST_SRCS_EXT),) 289 | AMD_SRCS := $(AMD_SRCS) $(TEST_SRCS_EXT) 290 | endif 291 | 292 | include $(CLEAR_RULES) 293 | 294 | LOCAL_EXE = serveramd 295 | LOCAL_PATH = $(TEST_LOCAL_PATH) 296 | LOCAL_SLICES = $(filter-out $(AMD_SLICES_EXCLUDE),$(sort $(AMD_SLICES))) 297 | LOCAL_SRCS = $(filter-out $(AMD_SRCS_EXCLUDE),$(sort $(AMD_SRCS))) 298 | 299 | 300 | ifneq ($(AMD_SLICES2CPPFLAGS),) 301 | LOCAL_SLICES2CPPFLAGS += $(AMD_SLICES2CPPFLAGS) 302 | endif 303 | 304 | ifneq ($(TEST_SLICES2CPPFLAGS),) 305 | LOCAL_SLICES2CPPFLAGS += $(AMD_SLICES2CPPFLAGS) 306 | endif 307 | 308 | ifneq ($(AMD_CPPFLAGS),) 309 | LOCAL_CPPFLAGS += $(AMD_CPPFLAGS) 310 | endif 311 | 312 | ifneq ($(TEST_CPPFLAGS),) 313 | LOCAL_CPPFLAGS += $(TEST_CPPFLAGS) 314 | endif 315 | 316 | ifneq ($(AMD_DEPENDENT_MODULES),) 317 | LOCAL_DEPENDENT_MODULES = $(AMD_DEPENDENT_MODULES) 318 | endif 319 | 320 | ifneq ($(TEST_DEPENDENT_MODULES),) 321 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) $(TEST_DEPENDENT_MODULES) 322 | endif 323 | 324 | ifneq ($(AMD_LINKWITH),) 325 | LOCAL_LINKWITH = $(AMD_LINKWITH) 326 | endif 327 | 328 | ifneq ($(TEST_LINKWITH),) 329 | LOCAL_LINKWITH += $(TEST_LINKWITH) 330 | endif 331 | 332 | ifneq ($(AMD_LDFLAGS),) 333 | LOCAL_LDFLAGS += $(AMD_LDFLAGS) 334 | endif 335 | 336 | ifneq ($(TEST_LDFLAGS),) 337 | LOCAL_LDFLAGS += $(TEST_LDFLAGS) 338 | endif 339 | 340 | include $(TEST_APPLICATION_RULES) 341 | 342 | endif 343 | 344 | # 345 | # Clear local variables 346 | # 347 | CLIENT_SLICES = 348 | CLIENT_SLICES_EXT = 349 | CLIENT_SLICES_EXCLUDE = 350 | CLIENT_SLICES2CPPFLAGS = 351 | CLIENT_SRCS = 352 | CLIENT_SRCS_EXT = 353 | CLIENT_SRCS_EXCLUDE = 354 | CLIENT_CPPFLAGS = 355 | CLIENT_LDFLAGS = 356 | CLIENT_DEPENDENT_MODULES = 357 | CLIENT_LINKWITH = 358 | 359 | SERVER_SLICES = 360 | SERVER_SLICES_EXT = 361 | SERVER_SLICES_EXCLUDE = 362 | SERVER_SLICES2CPPFLAGS = 363 | SERVER_SRCS = 364 | SERVER_SRCS_EXT = 365 | SERVER_SRCS_EXCLUDE = 366 | SERVER_CPPFLAGS = 367 | SERVER_LDFLAGS = 368 | SERVER_DEPENDENT_MODULES = 369 | SERVER_LINKWITH = 370 | 371 | COLLOC_SLICES = 372 | COLLOC_SLICES_EXT = 373 | COLLOC_SLICES_EXCLUDE = 374 | COLLOC_SLICES2CPPFLAGS = 375 | COLLOC_SRCS = 376 | COLLOC_SRCS_EXT = 377 | COLLOC_SRCS_EXCLUDE = 378 | COLLOC_CPPFLAGS = 379 | COLLOC_LDFLAGS = 380 | COLLOC_DEPENDENT_MODULES = 381 | COLLOC_LINKWITH = 382 | 383 | AMD_SLICES = 384 | AMD_SLICES_EXT = 385 | AMD_SLICES_EXCLUDE = 386 | AMD_SLICES2CPPFLAGS = 387 | AMD_SRCS = 388 | AMD_SRCS_EXT = 389 | AMD_SRCS_EXCLUDE = 390 | AMD_CPPFLAGS = 391 | AMD_LDFLAGS = 392 | AMD_DEPENDENT_MODULES = 393 | AMD_LINKWITH = 394 | 395 | TEST_TARGET_EXT = 396 | TEST_SLICES_EXT = 397 | TEST_SLICES2CPPFLAGS = 398 | TEST_SRCS_EXT = 399 | TEST_LOCAL_PATH = 400 | TEST_CPPFLAGS = 401 | TEST_LDFLAGS = 402 | TEST_DEPENDENT_MODULES = 403 | TEST_LINKWITH = 404 | -------------------------------------------------------------------------------- /config/Make.common.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | # 11 | # Check if ICEE_TARGET_OS is correctly defined. 12 | # 13 | ifeq ($(filter $(ICEE_TARGET_OS),debian yocto),) 14 | $(error Invalid ICEE_TARGET_OS: '$(ICEE_TARGET_OS)' supported values are: 'debian' and 'yocto'. See $(CURDIR)/Makefile). 15 | endif 16 | 17 | # 18 | # Check if DEPLOY_TARGET is set when using test_deploy. 19 | # 20 | ifeq ($(filter $(MAKECMDGOALS),test_deploy),test_deploy) 21 | ifeq ($(DEPLOY_TARGET),) 22 | $(error You need to define DEPLOY_TARGET to use test_deploy. See $(CURDIR)/Makefile $(CURDIR)/Makefile) 23 | endif 24 | endif 25 | 26 | .PHONY: all clean 27 | 28 | all:: 29 | clean:: 30 | 31 | VERSION = 3.6.4 32 | SOVERSION = 36 33 | 34 | ifeq ($(findstring Debian,$(shell uname -a)),Debian) 35 | ice_libprefix = /$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) 36 | else 37 | ifeq ($(shell uname -m),x86_64) 38 | ice_libprefix = 64 39 | endif 40 | endif 41 | ice_libsubdir = lib$(ice_libprefix) 42 | 43 | ifeq ($(USE_BIN_DIST),yes) 44 | ICE_HOME ?= /usr 45 | ICEE_HOME ?= /usr 46 | endif 47 | 48 | ice_slice_dir = ice/slice 49 | ice_include_dir = cpp/include 50 | ice_man_dir = ice/man/man1 51 | 52 | ifeq ($(ICE_HOME),) 53 | ice_bin_dir = ice/cpp/bin 54 | ice_lib_dir = ice/cpp/$(ice_libsubdir) 55 | else 56 | ice_bin_dir = $(ICE_HOME)/bin 57 | ice_lib_dir = $(ICE_HOME)/lib$(ice_libprefix) 58 | endif 59 | 60 | SLICE2CPP = $(ice_bin_dir)/slice2cpp 61 | SLICE2FREEZE = $(ice_bin_dir)/slice2freeze 62 | SLICE2CPPFLAGS = -I$(ice_slice_dir) 63 | SLICE2PYFLAGS = -I$(ice_slice_dir) 64 | 65 | ifeq ($(DEFAULT_MUTEX_PROTOCOL),PrioInherit) 66 | override CPPFLAGS += -DICE_PRIO_INHERIT 67 | endif 68 | 69 | ifeq ($(filter $(MAKECMDGOALS),clean),) 70 | ifeq ($(wildcard $(SLICE2CPP)),) 71 | $(error You need to build Ice for C++ from ice/cpp directory or set ICE_HOME to use an Ice binary distribution) 72 | endif 73 | endif 74 | 75 | PYTHON_BASEVERSION ?= 2.7 76 | PYTHON_DIR ?= python$(PYTHON_BASEVERSION) 77 | 78 | # 79 | # Optimization flags 80 | # 81 | ifeq ($(ICEE_TARGET_OS),yocto) 82 | 83 | override CPPFLAGS += $(CXXFLAGS) 84 | override LDFLAGS := $(LDFLAGS) 85 | else 86 | 87 | ifeq ($(OPTIMIZE),yes) 88 | CFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections 89 | override CPPFLAGS += -Os -DNDEBUG -ffunction-sections -fdata-sections 90 | override LDFLAGS += -Wl,--gc-sections 91 | else 92 | CFLAGS = -g 93 | override CPPFLAGS := $(CPPFLAGS) -g 94 | endif 95 | 96 | endif 97 | 98 | ifeq ($(EMBEDDED_RUNPATH),yes) 99 | ifneq ($(EMBEDDED_RUNPATH_PREFIX),) 100 | RPATH_DIR = $(EMBEDDED_RUNPATH_PREFIX) 101 | endif 102 | 103 | # 104 | # Unless new_dtags is set to yes we use old style dtags, to add a RPATH 105 | # entry instead of RUNPATH entry, this allow the plug-ins to load without 106 | # need to set LD_LIBRARY_PATH 107 | # 108 | ifeq ($(new_dtags),yes) 109 | DTAGS = -Wl,--enable-new-dtags 110 | else 111 | DTAGS = -Wl,--disable-new-dtags 112 | endif 113 | DTAGS := $(DTAGS) 114 | endif 115 | 116 | # 117 | # Enable C++11 features 118 | # 119 | ifeq ($(CPP11), yes) 120 | override CPPFLAGS += -std=c++11 121 | CPP11PREFIX = -cpp11 122 | LIBNAME_SUFFIX = ++11 123 | endif 124 | 125 | # 126 | # Include the OS specific rules 127 | # 128 | include config/Make.$(ICEE_TARGET_OS).rules 129 | 130 | ifneq ($(USE_BIN_DIST),yes) 131 | icee_bin_dir = cpp/bin 132 | icee_lib_dir = cpp/lib/$(LIBPREFIX) 133 | else 134 | icee_lib_dir = $(ICEE_HOME)/$(icee_libsubdir) 135 | endif 136 | 137 | CFLAGS += -O -w 138 | override CPPFLAGS := -Wall -Werror -pthread -I$(ice_include_dir) -Icpp/src -Iice/cpp/src $(CPPFLAGS) 139 | override LDFLAGS += -pthread 140 | LINKWITH = -Wl,-Bdynamic -lbz2 -ldl -lrt -lcrypto 141 | 142 | 143 | mklib = $(AR) cr $(1) $(2) 144 | mklibname = lib$(1).a 145 | 146 | # 147 | # Recursive wildcard function 148 | # 149 | rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) 150 | 151 | # 152 | # Relative path 153 | # 154 | relpath = $(subst $(eval) ,/,$(patsubst %,..,$(subst /, ,$(subst $1,,$2)))) 155 | 156 | # 157 | # Verbosity 158 | # 159 | ifdef V 160 | ifeq ("$(origin V)", "command line") 161 | BUILD_VERBOSE = $(V) 162 | endif 163 | endif 164 | 165 | ifndef BUILD_VERBOSE 166 | BUILD_VERBOSE = 0 167 | endif 168 | 169 | ifeq ($(BUILD_VERBOSE),0) 170 | Q = @ 171 | E = @echo 172 | else 173 | E = @: 174 | endif 175 | 176 | GITIGNORE_DEFAULT = certs \ 177 | scripts \ 178 | lib \ 179 | bin \ 180 | .depend \ 181 | debian \ 182 | yocto \ 183 | arm-linux-gnueabihf* \ 184 | x86_64-linux-gnu* \ 185 | arm-poky-linux-gnueabi* \ 186 | *.so \ 187 | *.so.* \ 188 | *.a \ 189 | *.pyc \ 190 | *~ \ 191 | cpp/**/run.py \ 192 | python/python2.7/ \ 193 | python/python3.4/ 194 | 195 | gitignore:: 196 | @for line in $(GITIGNORE_DEFAULT) ; do \ 197 | echo $$line ; \ 198 | done 199 | 200 | %/run.py: ice/%/run.py 201 | $(E) "Copying test scripts" 202 | $(Q)cp $< $@ 203 | 204 | CLEAR_RULES = $(CURDIR)/config/Make.clear.rules 205 | OBJECT_RULES = $(CURDIR)/config/Make.object.rules 206 | LINK_RULES = $(CURDIR)/config/Make.link.rules 207 | SUBMODULE_RULES = $(CURDIR)/config/Make.submodule.rules 208 | APPLICATION_RULES = $(CURDIR)/config/Make.application.rules 209 | TEST_APPLICATION_RULES = $(CURDIR)/config/Make.test.application.rules 210 | TEST_STATICLIBRARY_RULES = $(CURDIR)/config/Make.test.staticlibrary.rules 211 | TEST_DYNAMICLIBRARY_RULES = $(CURDIR)/config/Make.test.dynamiclibrary.rules 212 | CLIENTSERVERTEST_RULES = $(CURDIR)/config/Make.clientservertest.rules 213 | LIBRARY_RULES = $(CURDIR)/config/Make.library.rules 214 | STATICLIBRARY_RULES = $(CURDIR)/config/Make.staticlibrary.rules 215 | DYNAMICLIBRARY_RULES = $(CURDIR)/config/Make.dynamiclibrary.rules 216 | PYTHON_RULES = $(CURDIR)/config/Make.python.rules 217 | RESOURCES_RULES = $(CURDIR)/config/Make.resources.rules 218 | ICEE_PYTHON_RULES = $(CURDIR)/config/Make.iceepython.rules 219 | FREEZE_RULES = $(CURDIR)/config/Make.freeze.rules 220 | 221 | # 222 | # Install directories 223 | # 224 | ice_install_include_dir ?= $(prefix)/include 225 | ice_install_bin_dir ?= $(prefix)/bin 226 | ice_install_man_dir ?= $(prefix)/share/man/man1 227 | ifeq ($(prefix),$(base_prefix)/usr) 228 | ice_install_slice_dir ?= $(prefix)/share/Ice-$(VERSION)/slice 229 | else 230 | ice_install_slice_dir ?= $(prefix)/slice 231 | endif 232 | 233 | CPP11_MODULES = IceUtil \ 234 | Ice \ 235 | IceSSL \ 236 | Glacier2 \ 237 | IceBox \ 238 | IceGrid \ 239 | IceStorm \ 240 | IceDiscovery \ 241 | IceLocatorDiscovery 242 | 243 | ifneq ($(NOFREEZE),yes) 244 | CPP11_MODULES := $(CPP11_MODULES) Freeze IceStormService 245 | endif 246 | 247 | ifeq ($(CPP11),yes) 248 | DIST_MODULES = $(CPP11_MODULES) 249 | DIST_TARGETS = icebox $(DIST_MODULES) 250 | else 251 | DIST_MODULES = IceUtil \ 252 | Ice \ 253 | IceSSL \ 254 | Glacier2 \ 255 | IceBox \ 256 | IceGrid \ 257 | IceStorm \ 258 | IceDiscovery \ 259 | IceLocatorDiscovery \ 260 | Slice \ 261 | 262 | DIST_TARGETS = slice2cpp \ 263 | slice2py \ 264 | glacier2router \ 265 | icebox \ 266 | iceboxadmin \ 267 | $(DIST_MODULES) \ 268 | IcePy 269 | 270 | ifneq ($(NOFREEZE),yes) 271 | DIST_MODULES := $(DIST_MODULES) Freeze IceStormService IceXML 272 | DIST_TARGETS := $(sort $(DIST_TARGETS) slice2freeze icestormdb icestormadmin transformdb dumpdb $(DIST_MODULES)) 273 | endif 274 | 275 | endif 276 | 277 | 278 | 279 | # 280 | # Include required .mk files 281 | # 282 | ifeq ($(USE_BIN_DIST),yes) 283 | 284 | MAKEFRAGMENTS = $(call rwildcard,cpp/test,*.mk) \ 285 | $(call rwildcard,python/test,*.mk) 286 | 287 | else 288 | 289 | dist:: $(DIST_TARGETS) 290 | 291 | # 292 | # If building a dist target only include dist targets. 293 | # 294 | ifeq ($(filter $(MAKECMDGOALS),install dist $(DIST_TARGETS)),) 295 | MAKEFRAGMENTS = $(call rwildcard,,*.mk) 296 | else 297 | MAKEFRAGMENTS = $(call rwildcard,cpp/src,*.mk) \ 298 | $(call rwildcard,python,*.mk) 299 | endif 300 | 301 | endif 302 | 303 | ifeq ($(NOFREEZE),yes) 304 | SKIPFRAGMENTS = cpp/src/Freeze/Makefile.mk \ 305 | cpp/src/FreezeScript/Makefile.mk \ 306 | cpp/src/slice2freeze/Makefile.mk \ 307 | cpp/src/IceXML/Makefile.mk \ 308 | cpp/test/Freeze/%/Makefile.mk \ 309 | cpp/test/IceStorm/%/Makefile.mk \ 310 | 311 | endif 312 | 313 | MAKEFRAGMENTS := $(filter-out $(SKIPFRAGMENTS),$(MAKEFRAGMENTS)) 314 | 315 | include $(MAKEFRAGMENTS) 316 | 317 | install:: $(INSTALL_TARGETS) 318 | $(E) "Installing IceE $(VERSION) to $(DESTDIR)$(prefix)" 319 | 320 | all:: $(TARGETS) 321 | 322 | clean:: $(CLEAN_TARGETS) test_clean 323 | 324 | ifneq ($(USE_BIN_DIST),yes) 325 | test_deploy: $(filter $(DIST_TARGETS),glacier2router icebox iceboxadmin icestormadmin IcePy slice2py) 326 | endif 327 | 328 | .PHONY: test_deploy 329 | 330 | DEPLOYDIR := $(shell mktemp -d) 331 | 332 | test_deploy: test_compile 333 | mkdir -p $(DEPLOYDIR) 334 | mkdir -p $(subst $(prefix),$(DEPLOYDIR)/cpp,$(ice_install_lib_dir)) 335 | mkdir -p $(DEPLOYDIR)/python/python 336 | mkdir -p $(DEPLOYDIR)/cpp/include/IceUtil 337 | rsync -aczv $(DEPLOYDIR)/* $(DEPLOY_TARGET) 338 | rm -rf $(DEPLOYDIR) 339 | 340 | rsync -aczv --prune-empty-dirs \ 341 | --exclude="*.d" \ 342 | --exclude="*.h" \ 343 | --exclude="*.cpp" \ 344 | --exclude="*.mk" \ 345 | --exclude="*.o" \ 346 | --exclude="ice" \ 347 | --exclude="lib" \ 348 | --exclude="scripts" \ 349 | --exclude="certs" \ 350 | --exclude=".git*" \ 351 | --exclude="Makefile" \ 352 | --exclude="README.md" \ 353 | --exclude="python" \ 354 | --exclude="mcpp" \ 355 | --exclude="*~" \ 356 | . $(DEPLOY_TARGET) 357 | 358 | # We need ice/cpp/include/IceUtil/Config.h for IceStorm tests 359 | rsync -aczv --prune-empty-dirs ice/cpp/include/IceUtil/Config.h $(DEPLOY_TARGET)/cpp/include/IceUtil/Config.h 360 | rsync -aczv --prune-empty-dirs --exclude="*.pyc" ice/scripts $(DEPLOY_TARGET) 361 | rsync -aczv --prune-empty-dirs --exclude="*.pyc" ice/certs $(DEPLOY_TARGET) 362 | ifneq ($(USE_BIN_DIST),yes) 363 | rsync -aczv --prune-empty-dirs --exclude="*.a" $(icee_lib_dir)/* $(subst $(prefix),$(DEPLOY_TARGET)/cpp,$(ice_install_lib_dir)) 364 | endif 365 | rsync -aczv python/allTests.py $(DEPLOY_TARGET)/python/ 366 | rsync -aczv --prune-empty-dirs \ 367 | --exclude="*.pyc" \ 368 | --exclude="Make*" \ 369 | --exclude="*.d" \ 370 | --exclude="test/Slice/import/Test/*" \ 371 | --exclude="test/Slice/import/*_ice.py" \ 372 | ice/python/test $(DEPLOY_TARGET)/python/ 373 | ifneq ($(USE_BIN_DIST),yes) 374 | rsync -aczv --prune-empty-dirs --exclude="*.o" --exclude="*.d" python/$(PYTHON_DIR)/ $(DEPLOY_TARGET)/python/python 375 | else 376 | # Necessary so that the tests can find the top level python directory 377 | rsync -aczv ice/python/python/Ice.py $(DEPLOY_TARGET)/python/python/ 378 | endif 379 | rsync -aczv --prune-empty-dirs --exclude="Make*" ice/slice $(DEPLOY_TARGET)/ 380 | rsync -aczv --prune-empty-dirs --exclude="Make*" --exclude="*.d" python/test/* $(DEPLOY_TARGET)/python/test/ 381 | 382 | rsync -av --filter="+ /*" --filter="+ /*/*" \ 383 | --filter="+ /*/*/db" \ 384 | --filter="+ /*/*/db2" \ 385 | --filter="+ /*/*/0.db" \ 386 | --filter="+ /*/*/0.db2" \ 387 | --filter="+ /*/*/1.db" \ 388 | --filter="+ /*/*/1.db2" \ 389 | --filter="+ /*/*/2.db" \ 390 | --filter="+ /*/*/2.db2" \ 391 | --exclude="*" cpp/test/ $(DEPLOY_TARGET)/cpp/test/ 392 | 393 | scripts: ice/scripts 394 | @rm -rf scripts 395 | ln -s ice/scripts scripts 396 | 397 | certs: ice/certs 398 | @rm -rf certs 399 | ln -s ice/certs certs 400 | 401 | all:: scripts certs 402 | 403 | # 404 | # Include depend rules 405 | # 406 | ifneq ($(MAKECMDGOALS),clean) 407 | include $(CURDIR)/config/Make.depend.rules 408 | endif 409 | -------------------------------------------------------------------------------- /config/Make.debian.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | BUILD = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) 11 | 12 | ifeq ($(HOST),) 13 | HOST = $(BUILD) 14 | endif 15 | 16 | ifeq ($(filter $(HOST),arm-linux-gnueabihf x86_64-linux-gnu),) 17 | $(error Invalid HOST: `$(HOST)' supported values are: `arm-linux-gnueabihf' and `x86_64-linux-gnu') 18 | endif 19 | 20 | LIBPREFIX = $(HOST) 21 | OBJPREFIX = $(HOST)$(CPP11PREFIX) 22 | icee_libsubdir = lib/$(HOST) 23 | 24 | # 25 | # If host different than build we are cross compiling 26 | # 27 | ifneq ($(HOST),$(BUILD)) 28 | CC = $(HOST)-gcc-4.9 29 | CXX = $(HOST)-g++-4.9 30 | STRIP = $(HOST)-strip 31 | AR = $(HOST)-ar 32 | else 33 | CC = gcc 34 | CXX = g++ 35 | AR = ar 36 | STRIP = strip 37 | endif 38 | 39 | python_include_dir = /usr/include/$(PYTHON_DIR) 40 | 41 | ifeq ($(prefix),/usr) 42 | python_install_dir ?= $(prefix)/lib/$(PYTHON_DIR)/dist-packages 43 | else 44 | python_install_dir ?= $(prefix)/python 45 | endif 46 | 47 | ice_install_lib_dir = $(prefix)/lib/$(HOST) 48 | 49 | ifeq ($(ICE_HOME),) 50 | SLICE2PY = ice/cpp/bin/slice2py 51 | else 52 | SLICE2PY = slice2py 53 | endif 54 | -------------------------------------------------------------------------------- /config/Make.depend.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | # 11 | # All non existing objects depend on all generate sources. With this we 12 | # ensure that compilation of C++ starts after all generated files are in 13 | # place. 14 | # 15 | ALL_OBJS_NOEXIST = $(filter-out $(wildcard $(ALL_OBJS)), $(ALL_OBJS)) 16 | 17 | $(ALL_OBJS_NOEXIST): $(ALL_GEN_SRCS) $(ALL_GEN_HEADERS) $(ALL_LOCAL_HEADERS) 18 | -------------------------------------------------------------------------------- /config/Make.dynamiclibrary.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_OBJPREFIX = $(OBJPREFIX)/pic 11 | LOCAL_CPPFLAGS := -fPIC $(LOCAL_CPPFLAGS) 12 | 13 | include $(OBJECT_RULES) 14 | 15 | ifeq ($(LOCAL_DYLIBNAME),) 16 | LOCAL_DYLIBNAME = lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so 17 | endif 18 | 19 | ifeq ($(LOCAL_DYLIBSONAME),) 20 | LOCAL_DYLIBSONAME = lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so.$(SOVERSION) 21 | endif 22 | 23 | ifeq ($(LOCAL_DYLIBFILENAME),) 24 | LOCAL_DYLIBFILENAME = lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so.$(VERSION) 25 | endif 26 | 27 | ifeq ($(LOCAL_LIBDIR),) 28 | LOCAL_LIBDIR = $(icee_lib_dir) 29 | endif 30 | 31 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME): LOCAL_DYLIBSONAME := $(LOCAL_DYLIBSONAME) 32 | 33 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME): $(LOCAL_LIBDIR)/$(LOCAL_DYLIBSONAME) 34 | @mkdir -p $(@D) 35 | @rm -f $@ 36 | $(Q)ln -s $(LOCAL_DYLIBSONAME) $@ 37 | 38 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBSONAME): LOCAL_DYLIBFILENAME := $(LOCAL_DYLIBFILENAME) 39 | 40 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBSONAME): $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME) 41 | @mkdir -p $(@D) 42 | @rm -f $@ 43 | $(Q)ln -s $(LOCAL_DYLIBFILENAME) $@ 44 | 45 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME): LOCAL_OBJS := $(LOCAL_OBJS) 46 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME): LOCAL_TARGET := $(LOCAL_TARGET) 47 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME): LOCAL_DYLIBSONAME := $(LOCAL_DYLIBSONAME) 48 | 49 | 50 | LOCAL_TARGET = $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME) 51 | 52 | include $(LINK_RULES) 53 | 54 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME): $(LOCAL_OBJS) 55 | @mkdir -p $(@D) 56 | $(E) Creating library: $(@F) 57 | $(Q)$(CXX) -shared $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@ -Wl,-h,$(LOCAL_DYLIBSONAME) $(LOCAL_OBJS) $(LOCAL_MY_LINKWITH) $(LOCAL_LINKWITH) $(LINKWITH) 58 | 59 | $(LOCAL_MODULE)_dynamiclib: LOCAL_DYLIBNAME := $(LOCAL_DYLIBNAME) 60 | $(LOCAL_MODULE)_dynamiclib: LOCAL_MODULE := $(LOCAL_MODULE) 61 | $(LOCAL_MODULE)_dynamiclib: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 62 | 63 | 64 | $(LOCAL_MODULE)_dynamiclib: $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) 65 | 66 | ifeq ($(CPP11),yes) 67 | 68 | # 69 | # Don't create symlinks for test library targets 70 | # 71 | ifeq ($(findstring /test/,$(LOCAL_PATH)),) 72 | 73 | $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 74 | $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so: LOCAL_DYLIBFILENAME := $(LOCAL_DYLIBFILENAME) 75 | 76 | $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so: $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME) 77 | @mkdir -p $(@D) 78 | @rm -f $@ 79 | $(Q)ln -s ../$(LOCAL_DYLIBFILENAME) $@ 80 | 81 | $(LOCAL_MODULE)_dynamiclib: $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so 82 | endif 83 | 84 | else 85 | 86 | $(LOCAL_MODULE)_dynamiclib: $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) 87 | 88 | endif 89 | 90 | $(LOCAL_MODULE): $(LOCAL_MODULE)_dynamiclib 91 | 92 | .PHONY: $(LOCAL_MODULE) 93 | 94 | $(LOCAL_MODULE)_dynamiclib_clean: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 95 | $(LOCAL_MODULE)_dynamiclib_clean: LOCAL_MODULE := $(LOCAL_MODULE) 96 | $(LOCAL_MODULE)_dynamiclib_clean: LOCAL_DYLIBNAME := $(LOCAL_DYLIBNAME) 97 | $(LOCAL_MODULE)_dynamiclib_clean: LOCAL_DYLIBSONAME := $(LOCAL_DYLIBSONAME) 98 | $(LOCAL_MODULE)_dynamiclib_clean: LOCAL_DYLIBFILENAME := $(LOCAL_DYLIBFILENAME) 99 | 100 | $(LOCAL_MODULE)_dynamiclib_clean: 101 | $(Q)rm -rf $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) $(LOCAL_LIBDIR)/$(LOCAL_DYLIBSONAME) $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME) 102 | ifeq ($(CPP11),yes) 103 | $(Q)rm -rf $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so 104 | endif 105 | 106 | CLEAN_TARGETS := $(CLEAN_TARGETS) $(LOCAL_MODULE)_dynamiclib_clean 107 | 108 | TARGETS := $(TARGETS) $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) 109 | 110 | 111 | ifeq ($(findstring /test/,$(LOCAL_PATH)),) 112 | 113 | ifeq ($(LOCAL_INSTALLDIR),) 114 | LOCAL_INSTALLDIR = $(ice_install_lib_dir) 115 | endif 116 | 117 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 118 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_DYLIBNAME := $(LOCAL_DYLIBNAME) 119 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_DYLIBSONAME := $(LOCAL_DYLIBSONAME) 120 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_DYLIBFILENAME := $(LOCAL_DYLIBFILENAME) 121 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_MODULE := $(LOCAL_MODULE) 122 | $(LOCAL_MODULE)_dynamiclib_install: LOCAL_INSTALLDIR := $(LOCAL_INSTALLDIR) 123 | 124 | $(LOCAL_MODULE)_dynamiclib_install: $(LOCAL_MODULE)_dynamiclib 125 | @mkdir -p $(DESTDIR)/$(LOCAL_INSTALLDIR) 126 | $(Q)cp -rf $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) $(DESTDIR)/$(LOCAL_INSTALLDIR) 127 | $(Q)cp -rf $(LOCAL_LIBDIR)/$(LOCAL_DYLIBSONAME) $(DESTDIR)/$(LOCAL_INSTALLDIR) 128 | $(Q)cp -rf $(LOCAL_LIBDIR)/$(LOCAL_DYLIBFILENAME) $(DESTDIR)/$(LOCAL_INSTALLDIR) 129 | ifeq ($(CPP11),yes) 130 | @mkdir -p $(DESTDIR)/$(LOCAL_INSTALLDIR)/c++11 131 | $(Q)cp -rf $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).so $(DESTDIR)/$(LOCAL_INSTALLDIR)/c++11/ 132 | endif 133 | 134 | INSTALL_TARGETS := $(INSTALL_TARGETS) $(LOCAL_MODULE)_dynamiclib_install 135 | endif 136 | -------------------------------------------------------------------------------- /config/Make.freeze.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | LOCAL_FREEZE_HEADER := $(LOCAL_FREEZE_CLASS).h 10 | LOCAL_FREEZE_SRC := $(LOCAL_FREEZE_CLASS).cpp 11 | 12 | LOCAL_FREEZE_HEADERS := $(LOCAL_FREEZE_HEADERS) $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER) 13 | LOCAL_FREEZE_SRCS := $(LOCAL_FREEZE_SRCS) $(LOCAL_FREEZE_SRC) 14 | 15 | ifeq ($(LOCAL_SLICE2FREEZEFLAGS),) 16 | LOCAL_SLICE2FREEZEFLAGS := $(LOCAL_SLICE2CPPFLAGS) 17 | endif 18 | 19 | ifneq ($(LOCAL_FREEZE_DICT),) 20 | LOCAL_FREEZE_DICT := --dict $(LOCAL_FREEZE_DICT) 21 | endif 22 | 23 | ifneq ($(LOCAL_FREEZE_DICT_INDEX),) 24 | LOCAL_FREEZE_DICT_INDEX := --dict-index $(LOCAL_FREEZE_DICT_INDEX) 25 | endif 26 | 27 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZEOUTPUTDIR := $(LOCAL_FREEZEOUTPUTDIR) 28 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_CLASS := $(LOCAL_FREEZE_CLASS) 29 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_HEADER := $(LOCAL_FREEZE_HEADER) 30 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_SRC := $(LOCAL_FREEZE_SRC) 31 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_DEPS := $(LOCAL_FREEZE_DEPS) 32 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_DICT := $(LOCAL_FREEZE_DICT) 33 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_FREEZE_DICT_INDEX := $(LOCAL_FREEZE_DICT_INDEX) 34 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER): LOCAL_SLICE2FREEZEFLAGS := $(LOCAL_SLICE2FREEZEFLAGS) 35 | 36 | $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER):: $(LOCAL_FREEZE_DEPS) $(SLICE2FREEZE) 37 | @rm -f $(LOCAL_PATH)/$(LOCAL_FREEZE_CLASS).cpp $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_CLASS).h 38 | $(E) "Compiling Freeze $(LOCAL_FREEZE_CLASS)" 39 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2FREEZE) --output-dir $(@D) \ 40 | $(LOCAL_SLICE2FREEZEFLAGS) $(SLICE2CPPFLAGS) $(LOCAL_FREEZE_DICT) $(LOCAL_FREEZE_DICT_INDEX) 41 | 42 | ifneq ($(LOCAL_FREEZEOUTPUTDIR),$(LOCAL_PATH)) 43 | $(Q)mv $(@D)/$(basename $(@F)).cpp $(LOCAL_PATH) 44 | endif 45 | 46 | $(LOCAL_PATH)/$(LOCAL_FREEZE_SRC): $(LOCAL_FREEZEOUTPUTDIR)/$(LOCAL_FREEZE_HEADER) 47 | 48 | LOCAL_FREEZE_CLASS = 49 | LOCAL_FREEZE_HEADER = 50 | LOCAL_FREEZE_SRC = 51 | LOCAL_FREEZE_DICT = 52 | LOCAL_FREEZE_DICT_INDEX = 53 | LOCAL_FREEZE_DEPS = 54 | -------------------------------------------------------------------------------- /config/Make.iceepython.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_PATH = python/python$(PYTHON_BASEVERSION) 11 | LOCAL_SLICE2PYFLAGS := $(LOCAL_SLICE2PYFLAGS) --ice --checksum --no-package 12 | LOCAL_MODULE = $(LOCAL_PREFIX)python 13 | 14 | include $(PYTHON_RULES) 15 | 16 | IcePy: $(LOCAL_MODULE) 17 | IcePy_clean: $(LOCAL_MODULE)_clean -------------------------------------------------------------------------------- /config/Make.library.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_OBJS = 11 | include $(STATICLIBRARY_RULES) 12 | LOCAL_OBJS = 13 | include $(DYNAMICLIBRARY_RULES) 14 | 15 | $(LOCAL_MODULE): $(LOCAL_MODULE)_staticlib $(LOCAL_MODULE)_dynamiclib 16 | -------------------------------------------------------------------------------- /config/Make.link.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | # 11 | # For each depedent module add a target dependency to the corresponding static or dinamic library, and save 12 | # the linker flags to use with this target. 13 | # 14 | 15 | ifneq ($(ICEE_HOME),$(base_prefix)/usr) 16 | LOCAL_LDFLAGS += -L$(icee_lib_dir) 17 | endif 18 | 19 | $(LOCAL_TARGET): LOCAL_LINKWITH := $(LOCAL_LINKWITH) 20 | 21 | $(LOCAL_TARGET): LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) 22 | $(LOCAL_TARGET): LOCAL_DEPENDENT_DYMODULES := $(LOCAL_DEPENDENT_DYMODULES) 23 | 24 | $(LOCAL_TARGET): LOCAL_LDFLAGS := $(LOCAL_LDFLAGS) 25 | 26 | ifneq ($(USE_BIN_DIST),yes) 27 | ifneq ($(LOCAL_DEPENDENT_MODULES),) 28 | $(LOCAL_TARGET): $(foreach lib,$(LOCAL_DEPENDENT_MODULES),$(icee_lib_dir)/lib$(lib)$(LIBNAME_SUFFIX).a) 29 | endif 30 | ifneq ($(LOCAL_DEPENDENT_DYMODULES),) 31 | $(LOCAL_TARGET): $(foreach lib,$(LOCAL_DEPENDENT_DYMODULES),$(icee_lib_dir)/lib$(lib)$(LIBNAME_SUFFIX).so) 32 | endif 33 | endif 34 | 35 | ifneq ($(LOCAL_DEPENDENT_MODULES),) 36 | LOCAL_MY_LINKWITH := -Wl,-Bstatic \ 37 | $(addsuffix $(LIBNAME_SUFFIX), $(addprefix -l,$(LOCAL_DEPENDENT_MODULES))) 38 | endif 39 | 40 | ifneq ($(LOCAL_DEPENDENT_DYMODULES),) 41 | LOCAL_MY_LINKWITH := $(LOCAL_MY_LINKWITH) -Wl,-Bdynamic \ 42 | $(addsuffix $(LIBNAME_SUFFIX), $(addprefix -l,$(LOCAL_DEPENDENT_DYMODULES))) 43 | endif 44 | 45 | $(LOCAL_TARGET): LOCAL_MY_LINKWITH := $(LOCAL_MY_LINKWITH) 46 | -------------------------------------------------------------------------------- /config/Make.object.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(filter $(LOCAL_CPPFLAGS),-fPIC),) 11 | LOCAL_TARGETPREFIX = _non-pic 12 | LOCAL_OBJPREFIX = $(OBJPREFIX)/non-pic 13 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) -DICE_STATIC_LIBS 14 | else 15 | LOCAL_TARGETPREFIX = _pic 16 | LOCAL_OBJPREFIX = $(OBJPREFIX)/pic 17 | LOCAL_LDFLAGS := -rdynamic $(LOCAL_LDFLAGS) 18 | LOCAL_STRIP_DISABLED = yes 19 | endif 20 | 21 | ifneq ($(LOCAL_HEADERPATH),) 22 | LOCAL_SLICEOUTPUTDIR = $(LOCAL_HEADERPATH) 23 | LOCAL_HEADERS = $(wildcard ice/$(LOCAL_HEADERPATH)/*.h) 24 | else 25 | LOCAL_SLICEOUTPUTDIR = $(LOCAL_PATH) 26 | endif 27 | 28 | LOCAL_GEN_SRCS := $(addprefix $(LOCAL_PATH)/,$(notdir $(LOCAL_SLICES:.ice=.cpp))) 29 | LOCAL_GEN_SRCS += $(addprefix $(LOCAL_PATH)/,$(notdir $(LOCAL_FREEZE_SRCS))) 30 | LOCAL_GEN_HEADERS := $(addprefix $(LOCAL_SLICEOUTPUTDIR)/,$(notdir $(LOCAL_SLICES:.ice=.h))) 31 | LOCAL_GEN_HEADERS += $(LOCAL_FREEZE_HEADERS) 32 | 33 | ifneq ($(LOCAL_HEADERS),) 34 | LOCAL_HEADERS := $(filter-out $(LOCAL_GEN_HEADERS),$(addprefix $(LOCAL_SLICEOUTPUTDIR)/,$(notdir $(LOCAL_HEADERS)))) 35 | endif 36 | 37 | LOCAL_SRCS := $(filter-out $(addprefix $(LOCAL_SRCDIR)/,$(notdir $(LOCAL_SLICES:.ice=.cpp))), $(LOCAL_SRCS)) 38 | 39 | LOCAL_OBJS := $(LOCAL_OBJS) $(addprefix $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/,$(notdir $(LOCAL_SRCS:.cpp=.o))) \ 40 | $(addprefix $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/,$(notdir $(LOCAL_GEN_SRCS:.cpp=.o))) 41 | 42 | ifneq ($(LOCAL_C_SRCS),) 43 | LOCAL_OBJS := $(LOCAL_OBJS) $(addprefix $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/,$(notdir $(LOCAL_C_SRCS:.c=.o))) 44 | endif 45 | 46 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_MODULE := $(LOCAL_MODULE) 47 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_PATH := $(LOCAL_PATH) 48 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_OBJS := $(LOCAL_OBJS) 49 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_GEN_SRCS := $(LOCAL_GEN_SRCS) 50 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_OBJPREFIX := $(LOCAL_OBJPREFIX) 51 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_TARGETPREFIX := $(LOCAL_TARGETPREFIX) 52 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_HEADERS := $(LOCAL_HEADERS) 53 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: LOCAL_GEN_HEADERS := $(LOCAL_GEN_HEADERS) 54 | 55 | $(LOCAL_OBJS): LOCAL_PATH := $(LOCAL_PATH) 56 | $(LOCAL_OBJS): LOCAL_CFLAGS := $(LOCAL_CFLAGS) 57 | $(LOCAL_OBJS): LOCAL_MODULE := $(LOCAL_MODULE) 58 | $(LOCAL_OBJS): LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) 59 | $(LOCAL_OBJS): LOCAL_SRCDIR := $(LOCAL_SRCDIR) 60 | $(LOCAL_OBJS): LOCAL_OBJPREFIX := $(LOCAL_OBJPREFIX) 61 | 62 | $(LOCAL_GEN_HEADERS): LOCAL_MODULE := $(LOCAL_MODULE) 63 | $(LOCAL_GEN_HEADERS): LOCAL_PATH := $(LOCAL_PATH) 64 | $(LOCAL_GEN_HEADERS): LOCAL_SLICEDIR := $(LOCAL_SLICEDIR) 65 | $(LOCAL_GEN_HEADERS): LOCAL_SLICE2CPPFLAGS := $(LOCAL_SLICE2CPPFLAGS) 66 | $(LOCAL_GEN_HEADERS): LOCAL_SLICEOUTPUTDIR := $(LOCAL_SLICEOUTPUTDIR) 67 | 68 | -include $(wildcard $(LOCAL_PATH).depend/*.d) 69 | -include $(wildcard $(LOCAL_PATH)$(LOCAL_OBJPREFIX)/.depend/*.d) 70 | 71 | $(LOCAL_SLICEOUTPUTDIR)/%.h:: $(LOCAL_SLICEDIR)/%.ice 72 | @mkdir -p $(@D)/.depend 73 | $(E) "Compiling $( $(@F)" 74 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2CPP) --output-dir $(@D) $(LOCAL_SLICE2CPPFLAGS) $(SLICE2CPPFLAGS) $< 75 | ifneq ($(LOCAL_SLICEOUTPUTDIR),$(LOCAL_PATH)) 76 | $(Q)mv $(@D)/$(basename $(@F)).cpp $(LOCAL_PATH) 77 | endif 78 | @LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2CPP) --depend $(LOCAL_SLICE2CPPFLAGS) $(SLICE2CPPFLAGS) $< | sed 's|\(.*:\)|$(@D)/\1|' > $(@D)/.depend/$(*F).ice.d 79 | 80 | $(LOCAL_PATH)/%.cpp: $(LOCAL_SLICEOUTPUTDIR)/%.h 81 | 82 | 83 | cpp/%.h:: ice/cpp/%.h 84 | @mkdir -p $(@D) 85 | $(E) "Copying header $(@F)" 86 | $(Q)cp $< $(@) 87 | 88 | $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/%.o: $(LOCAL_PATH)/%.cpp 89 | @mkdir -p $(@D)/.depend 90 | $(E) "Compiling $( $(@F)" 91 | $(Q)$(CXX) $(CPPFLAGS) $(LOCAL_CPPFLAGS) -c $< -o $@ 92 | @$(CXX) -DMAKEDEPEND -MM $(CPPFLAGS) $(LOCAL_CPPFLAGS) $< | sed 's|\(.*:\)|$(@D)/\1|' > $(@D)/.depend/$(*F).d 93 | 94 | $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/%.o: $(LOCAL_SRCDIR)/%.cpp 95 | @mkdir -p $(@D)/.depend 96 | $(E) "Compiling $( $(@F)" 97 | $(Q)$(CXX) $(CPPFLAGS) $(LOCAL_CPPFLAGS) -c $< -o $@ 98 | @$(CXX) -DMAKEDEPEND -MM $(CPPFLAGS) $(LOCAL_CPPFLAGS) $< | sed 's|\(.*:\)|$(@D)/\1|' > $(@D)/.depend/$(*F).d 99 | 100 | $(LOCAL_PATH)/$(LOCAL_OBJPREFIX)/%.o: $(LOCAL_SRCDIR)/%.c 101 | @mkdir -p $(@D)/.depend 102 | $(E) "Compiling $( $(@F)" 103 | $(Q)$(CC) $(CFLAGS) $(LOCAL_CFLAGS) -c $< -o $@ 104 | @$(CC) -DMAKEDEPEND -MM $(CFLAGS) $(LOCAL_CFLAGS) $< | sed 's|\(.*:\)|$(@D)/\1|' > $(@D)/.depend/$(*F).d 105 | 106 | $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean: 107 | $(E) "Cleaning $(LOCAL_MODULE)" 108 | $(Q)rm -rf $(LOCAL_PATH)/$(LOCAL_OBJPREFIX) $(LOCAL_GEN_SRCS) $(LOCAL_GEN_HEADERS) $(LOCAL_PATH)/.depend 109 | ifneq ($(LOCAL_HEADERS),) 110 | $(Q)rm -rf $(LOCAL_HEADERS) 111 | endif 112 | 113 | 114 | ifneq ($(LOCAL_GEN_SRCS),) 115 | $(LOCAL_MODULE)_gitignore: LOCAL_GEN_SRCS := $(LOCAL_GEN_SRCS) 116 | $(LOCAL_MODULE)_gitignore: LOCAL_GEN_HEADERS := $(LOCAL_GEN_HEADERS) 117 | $(LOCAL_MODULE)_gitignore: LOCAL_HEADERS := $(LOCAL_HEADERS) 118 | $(LOCAL_MODULE)_gitignore:: 119 | @for line in $(LOCAL_GEN_SRCS) $(LOCAL_GEN_HEADERS) $(LOCAL_HEADERS) ; do \ 120 | echo $$line ; \ 121 | done 122 | gitignore:: $(LOCAL_MODULE)_gitignore 123 | endif 124 | 125 | ALL_OBJS := $(ALL_OBJS) $(LOCAL_OBJS) 126 | ALL_GEN_HEADERS := $(ALL_GEN_HEADERS) $(LOCAL_GEN_HEADERS) 127 | ALL_LOCAL_HEADERS := $(ALL_LOCAL_HEADERS) $(LOCAL_HEADERS) 128 | 129 | TARGETS := $(TARGETS) $(LOCAL_GEN_SRCS) $(LOCAL_OBJS) 130 | 131 | CLEAN_TARGETS := $(CLEAN_TARGETS) $(LOCAL_MODULE)$(LOCAL_TARGETPREFIX)_clean 132 | -------------------------------------------------------------------------------- /config/Make.python.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_GEN_SRCS := $(addprefix $(LOCAL_PATH)/$(LOCAL_PREFIX),$(notdir $(LOCAL_SLICES:.ice=_ice.py))) 11 | 12 | ifneq ($(LOCAL_PREFIX),) 13 | LOCAL_SLICE2PYFLAGS := $(LOCAL_SLICE2PYFLAGS) --prefix $(LOCAL_PREFIX) 14 | endif 15 | 16 | $(LOCAL_GEN_SRCS): LOCAL_PREFIX := $(LOCAL_PREFIX) 17 | $(LOCAL_GEN_SRCS): LOCAL_PATH := $(LOCAL_PATH) 18 | $(LOCAL_GEN_SRCS): LOCAL_SLICEDIR := $(LOCAL_SLICEDIR) 19 | $(LOCAL_GEN_SRCS): LOCAL_SLICE2PYFLAGS := $(LOCAL_SLICE2PYFLAGS) 20 | 21 | $(LOCAL_PATH)/$(LOCAL_PREFIX)%_ice.py: $(LOCAL_SLICEDIR)/%.ice 22 | @mkdir -p $(@D)/.depend 23 | $(E) "Compiling $( $(@F)" 24 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --output-dir $(@D) $(LOCAL_SLICE2PYFLAGS) $(SLICE2PYFLAGS) $< 25 | @LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --depend $(LOCAL_SLICE2PYFLAGS) $(SLICE2PYFLAGS) $< | sed 's|\(.*:\)|$(@D)/\1|' > $(@D)/.depend/$(*F).ice.d 26 | 27 | TARGETS := $(TARGETS) $(LOCAL_GEN_SRCS) 28 | 29 | ifneq ($(LOCAL_PACKAGE),) 30 | 31 | $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py: LOCAL_PATH := $(LOCAL_PATH) 32 | $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py: LOCAL_SLICES := $(LOCAL_SLICES) 33 | $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py: LOCAL_SLICE2PYFLAGS := $(LOCAL_SLICE2PYFLAGS) 34 | 35 | $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py: $(filter-out $(METRICS_SLICES), $(LOCAL_SLICES)) 36 | $(E) "Generating $(LOCAL_PACKAGE) package index" 37 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --output-dir $(LOCAL_PATH) --build-package \ 38 | $(filter-out --no-package, $(LOCAL_SLICE2PYFLAGS)) $(SLICE2PYFLAGS) $(filter-out $(METRICS_SLICES), $(LOCAL_SLICES)) 39 | 40 | $(LOCAL_MODULE): LOCAL_PATH := $(LOCAL_PATH) 41 | $(LOCAL_MODULE): LOCAL_PACKAGE := $(LOCAL_PACKAGE) 42 | $(LOCAL_MODULE): $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py 43 | TARGETS := $(TARGETS) $(LOCAL_PATH)/$(LOCAL_PACKAGE)/__init__.py 44 | 45 | $(LOCAL_MODULE)_gitignore: LOCAL_PATH := $(LOCAL_PATH) 46 | $(LOCAL_MODULE)_gitignore: LOCAL_PACKAGE := $(LOCAL_PACKAGE) 47 | $(LOCAL_MODULE)_gitignore:: 48 | @echo $(LOCAL_PATH)/$(LOCAL_PACKAGE)/\*\* 49 | 50 | gitignore:: $(LOCAL_MODULE)_gitignore 51 | 52 | endif 53 | 54 | $(LOCAL_MODULE): LOCAL_GEN_SRCS := $(LOCAL_GEN_SRCS) 55 | $(LOCAL_MODULE): $(LOCAL_GEN_SRCS) 56 | 57 | $(LOCAL_MODULE)_clean: LOCAL_MODULE := $(LOCAL_MODULE) 58 | $(LOCAL_MODULE)_clean: LOCAL_GEN_SRCS := $(LOCAL_GEN_SRCS) 59 | $(LOCAL_MODULE)_clean: LOCAL_PATH := $(LOCAL_PATH) 60 | $(LOCAL_MODULE)_clean: LOCAL_PACKAGE := $(LOCAL_PACKAGE) 61 | $(LOCAL_MODULE)_clean: LOCAL_PATH := $(LOCAL_PATH) 62 | 63 | $(LOCAL_MODULE)_clean: 64 | $(E) "Cleaning $(LOCAL_MODULE)" 65 | $(Q)rm -rf $(LOCAL_GEN_SRCS) $(LOCAL_PATH)/.depend 66 | ifneq ($(LOCAL_PACKAGE),) 67 | $(Q)rm -rf $(LOCAL_PATH)/$(LOCAL_PACKAGE) 68 | endif 69 | 70 | CLEAN_TARGETS := $(CLEAN_TARGETS) $(LOCAL_MODULE)_clean 71 | 72 | ifneq ($(LOCAL_GEN_SRCS),) 73 | $(LOCAL_MODULE)_gitignore: LOCAL_GEN_SRCS := $(LOCAL_GEN_SRCS) 74 | $(LOCAL_MODULE)_gitignore:: 75 | @for line in $(LOCAL_GEN_SRCS) ; do \ 76 | echo $$line ; \ 77 | done 78 | gitignore:: $(LOCAL_MODULE)_gitignore 79 | endif -------------------------------------------------------------------------------- /config/Make.resources.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifneq ($(LOCAL_RESOURCES),) 11 | 12 | LOCAL_RESOURCES := $(patsubst $(LOCAL_SRCDIR)/%,$(LOCAL_PATH)/%,$(wildcard $(addprefix $(LOCAL_SRCDIR)/,$(LOCAL_RESOURCES)))) 13 | 14 | $(LOCAL_MODULE)_gitignore: LOCAL_RESOURCES := $(LOCAL_RESOURCES) 15 | 16 | $(LOCAL_MODULE)_gitignore:: 17 | @for file in $(LOCAL_RESOURCES) ; do \ 18 | echo $$file ; \ 19 | done 20 | 21 | gitignore:: $(LOCAL_MODULE)_gitignore 22 | 23 | $(LOCAL_TARGET): $(LOCAL_RESOURCES) 24 | 25 | $(LOCAL_PATH)/%: $(LOCAL_SRCDIR)/% 26 | @mkdir -p $(@D) 27 | $(E) Copying resource $(@F) 28 | $(Q)cp -r $< $@ 29 | 30 | $(LOCAL_MODULE)_clean: LOCAL_RESOURCES := $(LOCAL_RESOURCES) 31 | $(LOCAL_MODULE)_clean:: 32 | $(Q) rm -rf $(LOCAL_RESOURCES) 33 | 34 | endif 35 | -------------------------------------------------------------------------------- /config/Make.staticlibrary.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_OBJPREFIX = $(OBJPREFIX)/non-pic 11 | 12 | include $(OBJECT_RULES) 13 | 14 | ifeq ($(LOCAL_LIBNAME),) 15 | LOCAL_LIBNAME = lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).a 16 | endif 17 | 18 | ifeq ($(LOCAL_LIBDIR),) 19 | LOCAL_LIBDIR = $(icee_lib_dir) 20 | endif 21 | 22 | LOCAL_LIB = $(LOCAL_LIBDIR)/$(LOCAL_LIBNAME) 23 | 24 | $(LOCAL_LIB): LOCAL_OBJS := $(LOCAL_OBJS) 25 | 26 | $(LOCAL_LIB): $(LOCAL_OBJS) 27 | @mkdir -p $(@D) 28 | $(E) Creating library: $(@F) 29 | $(Q)$(call mklib,$@,$(LOCAL_OBJS)) 30 | 31 | $(LOCAL_MODULE)_staticlib: LOCAL_LIB := $(LOCAL_LIB) 32 | $(LOCAL_MODULE)_staticlib: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 33 | $(LOCAL_MODULE)_staticlib: LOCAL_MODULE := $(LOCAL_MODULE) 34 | 35 | $(LOCAL_MODULE)_staticlib: $(LOCAL_LIB) 36 | 37 | $(LOCAL_MODULE)_non-pic_clean: LOCAL_LIB := $(LOCAL_LIB) 38 | 39 | $(LOCAL_MODULE)_staticlib: $(LOCAL_LIB) 40 | 41 | ifeq ($(CPP11),yes) 42 | 43 | # 44 | # Don't create symlinks for test library targets 45 | # 46 | ifeq ($(findstring /test/,$(LOCAL_PATH)),) 47 | 48 | $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).a: LOCAL_LIBNAME := $(LOCAL_LIBNAME) 49 | $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).a: $(LOCAL_LIB) 50 | @mkdir -p $(@D) 51 | @rm -f $@ 52 | $(Q)ln -s ../$(LOCAL_LIBNAME) $@ 53 | 54 | $(LOCAL_MODULE)_staticlib: $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).a 55 | endif 56 | 57 | else 58 | 59 | $(LOCAL_MODULE)_staticlib: $(LOCAL_LIB) 60 | 61 | endif 62 | 63 | $(LOCAL_MODULE): $(LOCAL_MODULE)_staticlib 64 | 65 | $(LOCAL_MODULE)_staticlib_clean: LOCAL_LIB := $(LOCAL_LIB) 66 | $(LOCAL_MODULE)_staticlib_clean: LOCAL_MODULE := $(LOCAL_MODULE) 67 | $(LOCAL_MODULE)_staticlib_clean: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 68 | 69 | $(LOCAL_MODULE)_staticlib_clean: 70 | $(Q)rm -rf $(LOCAL_LIB) 71 | ifeq ($(CPP11),yes) 72 | $(Q)rm -rf $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).a 73 | endif 74 | 75 | CLEAN_TARGETS := $(CLEAN_TARGETS) $(LOCAL_MODULE)_staticlib_clean 76 | 77 | TARGETS := $(TARGETS) $(LOCAL_LIB) 78 | 79 | 80 | ifeq ($(filter cpp/test/% python/test/% cpp/src/mcpp,$(LOCAL_PATH)),) 81 | 82 | $(LOCAL_MODULE)_staticlib_install: LOCAL_LIBDIR := $(LOCAL_LIBDIR) 83 | $(LOCAL_MODULE)_staticlib_install: LOCAL_LIBNAME := $(LOCAL_LIBNAME) 84 | $(LOCAL_MODULE)_staticlib_install: LOCAL_MODULE := $(LOCAL_MODULE) 85 | 86 | $(LOCAL_MODULE)_staticlib_install: $(LOCAL_MODULE)_staticlib 87 | @mkdir -p $(DESTDIR)/$(ice_install_lib_dir) 88 | $(Q)cp -rf $(LOCAL_LIBDIR)/$(LOCAL_LIBNAME) $(DESTDIR)/$(ice_install_lib_dir) 89 | ifeq ($(CPP11),yes) 90 | @mkdir -p $(DESTDIR)/$(ice_install_lib_dir)/c++11 91 | $(Q)cp -rf $(LOCAL_LIBDIR)/c++11/lib$(LOCAL_MODULE).a $(DESTDIR)/$(ice_install_lib_dir)/c++11/ 92 | endif 93 | 94 | INSTALL_TARGETS := $(INSTALL_TARGETS) $(LOCAL_MODULE)_staticlib_install 95 | endif 96 | 97 | -------------------------------------------------------------------------------- /config/Make.submodule.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_OBJPREFIX = $(OBJPREFIX)/non-pic 11 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 12 | 13 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 14 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 15 | 16 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 17 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 18 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 19 | LOCAL_SLICE2CPPFLAGS := $(LOCAL_SLICE2CPPFLAGS) --ice --include-dir $(LOCAL_MODULE) 20 | 21 | include $(OBJECT_RULES) 22 | -------------------------------------------------------------------------------- /config/Make.test.application.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_TESTDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SLICEDIR = $(LOCAL_TESTDIR) 12 | LOCAL_SRCDIR = $(LOCAL_TESTDIR) 13 | LOCAL_BINDIR = $(LOCAL_PATH) 14 | 15 | LOCAL_SRCS := $(addprefix $(LOCAL_SRCDIR)/,$(LOCAL_SRCS)) 16 | LOCAL_MODULE = $(subst /,_,$(LOCAL_PATH))_$(LOCAL_EXE) 17 | 18 | ifeq ($(BUILD_TESTSUITE),static) 19 | # 20 | # Filter out modules that are bundled with Ice static module 21 | # 22 | LOCAL_DEPENDENT_MODULES := $(filter-out IceUtil IceSSL IceDiscovery, $(LOCAL_DEPENDENT_MODULES)) 23 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) Ice 24 | LOCAL_LINKWITH := -Wl,-Bdynamic -lcrypt -lssl $(LOCAL_LINKWITH) 25 | endif 26 | 27 | ifeq ($(BUILD_TESTSUITE),dynamic) 28 | LOCAL_STRIP_DISABLED = yes 29 | LOCAL_CPPFLAGS := -fPIC $(LOCAL_CPPFLAGS) 30 | ifeq ($(find-string cpp/test/IceUtil,$(LOCAL_BINDIR)),) 31 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) Ice 32 | endif 33 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) IceUtil 34 | LOCAL_DEPENDENT_DYMODULES := $(LOCAL_DEPENDENT_MODULES) 35 | LOCAL_DEPENDENT_MODULES := 36 | ifeq ($(EMBEDDED_RUNPATH),yes) 37 | ifeq ($(RPATH_DIR),) 38 | LOCAL_RPATH := \$$ORIGIN/$(call relpath,$(CURDIR)/cpp,$(CURDIR)/$(LOCAL_PATH))/$(ice_libsubdir) 39 | endif 40 | endif 41 | endif 42 | 43 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) -Iice/cpp/test/include -I$(LOCAL_PATH) -I$(LOCAL_SRCDIR) 44 | LOCAL_SLICE2CPPFLAGS := $(LOCAL_SLICE2CPPFLAGS) -I$(LOCAL_SLICEDIR) 45 | 46 | include $(APPLICATION_RULES) 47 | 48 | ifneq ($(wildcard $(LOCAL_TESTDIR)/run.py),) 49 | $(LOCAL_BINDIR)/$(LOCAL_EXE): $(LOCAL_PATH)/run.py 50 | endif 51 | 52 | .PHONY: test_compile test_clean $(LOCAL_MODULE)_clean 53 | 54 | test_compile: $(LOCAL_BINDIR)/$(LOCAL_EXE) 55 | test_clean: $(LOCAL_MODULE)_clean 56 | 57 | include $(RESOURCES_RULES) 58 | -------------------------------------------------------------------------------- /config/Make.test.dynamiclibrary.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_TESTDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SLICEDIR = $(LOCAL_TESTDIR) 12 | LOCAL_SRCDIR = $(LOCAL_TESTDIR) 13 | 14 | ifeq ($(LOCAL_LIBDIR),) 15 | LOCAL_LIBDIR = $(LOCAL_PATH) 16 | endif 17 | LOCAL_SRCS := $(addprefix $(LOCAL_SRCDIR)/,$(LOCAL_SRCS)) 18 | 19 | LOCAL_DYLIBNAME := lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so 20 | LOCAL_DYLIBSONAME := lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so.$(SOVERSION) 21 | LOCAL_DYLIBFILENAME := lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).so.$(VERSION) 22 | LOCAL_MODULE := $(subst /,_,$(LOCAL_PATH))_$(LOCAL_MODULE) 23 | 24 | ifeq ($(BUILD_TESTSUITE),dynamic) 25 | LOCAL_STRIP_DISABLED = yes 26 | LOCAL_CPPFLAGS := -fPIC $(LOCAL_CPPFLAGS) 27 | ifeq ($(find-string cpp/test/IceUtil,$(LOCAL_BINDIR)),) 28 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) Ice 29 | endif 30 | LOCAL_DEPENDENT_MODULES := $(LOCAL_DEPENDENT_MODULES) IceUtil 31 | LOCAL_DEPENDENT_DYMODULES := $(LOCAL_DEPENDENT_MODULES) 32 | LOCAL_DEPENDENT_MODULES := 33 | ifeq ($(EMBEDDED_RUNPATH),yes) 34 | ifeq ($(RPATH_DIR),) 35 | LOCAL_RPATH := \$$ORIGIN/$(call relpath,$(CURDIR)/cpp,$(CURDIR)/$(LOCAL_PATH))/$(ice_libsubdir) 36 | endif 37 | endif 38 | endif 39 | 40 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) -Iice/cpp/test/include -I$(LOCAL_PATH) -I$(LOCAL_SRCDIR) 41 | LOCAL_SLICE2CPPFLAGS := $(LOCAL_SLICE2CPPFLAGS) -I$(LOCAL_SLICEDIR) 42 | 43 | include $(DYNAMICLIBRARY_RULES) 44 | 45 | ifneq ($(wildcard $(LOCAL_TESTDIR)/run.py),) 46 | $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME): $(LOCAL_PATH)/run.py 47 | endif 48 | 49 | .PHONY: test_compile test_clean $(LOCAL_MODULE)_clean 50 | 51 | test_compile: $(LOCAL_LIBDIR)/$(LOCAL_DYLIBNAME) 52 | test_clean: $(LOCAL_MODULE)_clean 53 | 54 | $(LOCAL_MODULE)_clean:: $(LOCAL_MODULE)_dynamiclib_clean 55 | 56 | include $(RESOURCES_RULES) 57 | -------------------------------------------------------------------------------- /config/Make.test.staticlibrary.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | LOCAL_TESTDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SLICEDIR = $(LOCAL_TESTDIR) 12 | LOCAL_SRCDIR = $(LOCAL_TESTDIR) 13 | 14 | ifeq ($(LOCAL_LIBDIR),) 15 | LOCAL_LIBDIR = $(LOCAL_PATH) 16 | endif 17 | 18 | ifneq ($(LOCAL_SRCS),) 19 | LOCAL_SRCS := $(addprefix $(LOCAL_SRCDIR)/,$(LOCAL_SRCS)) 20 | endif 21 | 22 | LOCAL_LIBNAME := lib$(LOCAL_MODULE)$(LIBNAME_SUFFIX).a 23 | LOCAL_MODULE := $(subst /,_,$(LOCAL_PATH))_$(LOCAL_MODULE) 24 | 25 | 26 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) -Iice/cpp/test/include -I$(LOCAL_PATH) -I$(LOCAL_SRCDIR) 27 | LOCAL_SLICE2CPPFLAGS := $(LOCAL_SLICE2CPPFLAGS) -I$(LOCAL_SLICEDIR) 28 | 29 | include $(STATICLIBRARY_RULES) 30 | 31 | .PHONY: test_compile test_clean $(LOCAL_MODULE)_clean 32 | 33 | test_compile: $(LOCAL_LIBDIR)/$(LOCAL_LIBNAME) 34 | test_clean: $(LOCAL_MODULE)_clean 35 | 36 | $(LOCAL_MODULE)_clean:: $(LOCAL_MODULE)_staticlib_clean 37 | 38 | include $(RESOURCES_RULES) 39 | -------------------------------------------------------------------------------- /config/Make.yocto.rules: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifneq ($(TARGET_PREFIX),) 11 | # 12 | # Strip trailing and leading dash (-) in TARGET_PREFIX 13 | # 14 | LIBPREFIX = $(subst $(eval) ,-,$(strip $(subst -, ,$(TARGET_PREFIX)))) 15 | else 16 | # 17 | # For native builds TARGET_PREFIX is not set 18 | # 19 | LIBPREFIX = $(shell uname -m)-pokynative-linux 20 | endif 21 | 22 | OBJPREFIX = $(LIBPREFIX)$(CPP11PREFIX) 23 | icee_libsubdir = lib 24 | ice_install_lib_dir ?= $(prefix)/lib 25 | 26 | ifneq ($(SDKTARGETSYSROOT),) 27 | python_include_dir = $(SDKTARGETSYSROOT)/usr/include/$(PYTHON_DIR) 28 | endif 29 | 30 | ifeq ($(prefix),$(base_prefix)/usr) 31 | python_install_dir ?= $(prefix)/lib/$(PYTHON_DIR)/site-packages 32 | else 33 | python_install_dir ?= $(prefix)/python 34 | endif 35 | 36 | SLICE2PY = $(ice_bin_dir)/slice2py 37 | -------------------------------------------------------------------------------- /cpp/allTests.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ********************************************************************** 3 | # 4 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 5 | # 6 | # This copy of Ice is licensed to you under the terms described in the 7 | # ICE_LICENSE file included in this distribution. 8 | # 9 | # ********************************************************************** 10 | 11 | import os, sys, re, getopt 12 | 13 | path = [ ".", "..", "../..", "../../..", "../../../.." ] 14 | head = os.path.dirname(sys.argv[0]) 15 | if len(head) > 0: 16 | path = [os.path.join(head, p) for p in path] 17 | path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ] 18 | if len(path) == 0: 19 | raise RuntimeError("can't find toplevel directory!") 20 | 21 | sys.path.append(os.path.join(path[0], "scripts")) 22 | import TestUtil 23 | 24 | # 25 | # List of all basic tests. 26 | # 27 | tests = [ 28 | ("IceUtil/condvar", ["once", "win32only"]), 29 | ("IceUtil/thread", ["once"]), 30 | ("IceUtil/unicode", ["once"]), 31 | ("IceUtil/inputUtil", ["once"]), 32 | ("IceUtil/uuid", ["once", "noappverifier"]), # This test is very slow with appverifier. 33 | ("IceUtil/timer", ["once"]), 34 | ("IceUtil/sha1", ["once"]), 35 | ("Ice/properties", ["once", "nomingw", "noyocto"]), # This test requires a UTF-8 locale this isn't 36 | # supported with yocto core images. 37 | ("Ice/proxy", ["core"]), 38 | ("Ice/operations", ["core"]), 39 | ("Ice/exceptions", ["core"]), 40 | ("Ice/ami", ["core", "nocompress", "nossl"]), # This test relies on the socket send() blocking and 41 | # doesn't work well with old OpenSSL versions. 42 | ("Ice/info", ["core", "noipv6", "nocompress", "nosocks"]), 43 | ("Ice/inheritance", ["core"]), 44 | ("Ice/facets", ["core"]), 45 | ("Ice/objects", ["core"]), 46 | ("Ice/optional", ["core"]), 47 | ("Ice/binding", ["core", "nosocks"]), 48 | ("Ice/faultTolerance", ["core", "novalgrind"]), # valgrind reports leak with aborted servers 49 | ("Ice/location", ["core"]), 50 | ("Ice/adapterDeactivation", ["core"]), 51 | ("Ice/slicing/exceptions", ["core"]), 52 | ("Ice/slicing/objects", ["core"]), 53 | ("Ice/gc", ["once"]), 54 | ("Ice/dispatcher", ["once"]), 55 | ("Ice/checksum", ["core"]), 56 | ("Ice/stream", ["core"]), 57 | ("Ice/hold", ["core"]), 58 | ("Ice/custom", ["core", "nossl", "nows"]), 59 | ("Ice/retry", ["core"]), 60 | ("Ice/timeout", ["core", "nocompress", "nosocks", "nossl"]), # This test relies on the socket send() blocking and 61 | # doesn't work well with old OpenSSL versions. 62 | ("Ice/acm", ["core"]), 63 | ("Ice/servantLocator", ["core"]), 64 | ("Ice/interceptor", ["core"]), 65 | ("Ice/stringConverter", ["core"]), 66 | ("Ice/udp", ["core"]), 67 | ("Ice/defaultServant", ["core"]), 68 | ("Ice/defaultValue", ["core"]), 69 | ("Ice/invoke", ["core"]), 70 | ("Ice/hash", ["once"]), 71 | ("Ice/admin", ["core", "noipv6"]), 72 | ("Ice/metrics", ["core", "nossl", "nows", "noipv6", "nocompress", "nomingw", "nosocks"]), 73 | ("Ice/enums", ["once"]), 74 | ("Ice/logger", ["once"]), 75 | ("Ice/networkProxy", ["core", "noipv6", "nosocks"]), 76 | ("Ice/services", ["once"]), 77 | 78 | ("Glacier2/router", ["service", "novc100", "nomingw"]), 79 | ("Glacier2/attack", ["service", "novc100", "nomingw", "nomx"]), 80 | ("Glacier2/override", ["service", "novc100", "nomingw"]), 81 | ("Glacier2/sessionControl", ["service", "novc100", "nomingw"]), 82 | ("Glacier2/ssl", ["service", "novalgrind", "novc100", "nomingw"]), # valgrind doesn't work well with openssl 83 | ("Glacier2/dynamicFiltering", ["service", "novc100", "nomingw"]), 84 | ("Glacier2/staticFiltering", ["service", "noipv6", "novc100", "nomingw", "nomx"]), 85 | ("Glacier2/sessionHelper", ["core", "novc100", "nomingw"]), 86 | 87 | ("IceDiscovery/simple", ["service"]), 88 | ] 89 | 90 | if not TestUtil.isYocto() and \ 91 | (os.path.isfile(os.path.join(path[0], "cpp", "test", "Ice", "plugin", "plugins", "libTestPlugin.so")) or \ 92 | os.path.isfile(os.path.join(path[0], "cpp", "test", "Ice", "plugin", "plugins", "libTestPlugin++11.so"))): 93 | 94 | tests += [("Ice/plugin", ["core"])] 95 | 96 | # If Ice/plugin is built then assume that we are running all dynamic library tests 97 | tests += [("Freeze/dbmap", ["once", "novc100", "nomingw"]), 98 | ("Freeze/complex", ["once", "novc100", "nomingw"]), 99 | ("Freeze/evictor", ["once", "novc100", "nomingw"]), 100 | ("Freeze/fileLock", ["once", "novc100", "nomingw"]), 101 | ("IceStorm/single", ["service", "novc100", "noappverifier", "nomingw"]), # This test doesn't work with appverifier 102 | ("IceStorm/federation", ["service", "novc100", "nomingw"]), 103 | ("IceStorm/federation2", ["service", "novc100", "nomingw"]), 104 | ("IceStorm/stress", ["service", "stress", "novc100", "nomingw"]), # Too slow with appverifier. 105 | ("IceStorm/rep1", ["service", "novc100", "nomingw"]), 106 | ("IceStorm/repstress", ["service", "noipv6", "stress", "novc100", "nomingw"])] 107 | 108 | if os.path.isfile(os.path.join(path[0], "cpp", "test", "IceBox", "admin", "libTestService.so")) or \ 109 | os.path.isfile(os.path.join(path[0], "cpp", "test", "IceBox", "admin", "libTestService++11.so")): 110 | tests += [("IceBox/admin", ["core", "noipv6", "nomx"])] 111 | 112 | if os.path.isfile(os.path.join(path[0], "cpp", "test", "IceBox", "configuration", "libTestService.so")) or \ 113 | os.path.isfile(os.path.join(path[0], "cpp", "test", "IceBox", "configuration", "libTestService++11.so")): 114 | tests += [("IceBox/configuration", ["core", "noipv6", "nomx"])] 115 | 116 | # 117 | # Run priority tests only if running as root on Unix. 118 | # 119 | if TestUtil.isWin32() or os.getuid() == 0: 120 | tests += [ 121 | ("IceUtil/priority", ["core", "nodarwin"]), 122 | ("Ice/threadPoolPriority", ["core", "nodarwin", "nomx"]) 123 | ] 124 | 125 | if __name__ == "__main__": 126 | TestUtil.run(tests) 127 | -------------------------------------------------------------------------------- /cpp/src/Freeze/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Freeze 3 | # 4 | include $(CLEAR_RULES) 5 | LOCAL_MODULE = FreezeLocalSlices 6 | LOCAL_PATH = cpp/src/Freeze 7 | 8 | LOCAL_SLICEDIR = ice/$(LOCAL_PATH) 9 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 10 | LOCAL_SLICE2CPPFLAGS = --ice -Iice/slice --include-dir Freeze 11 | 12 | LOCAL_OBJPREFIX = $(OBJPREFIX)/pic 13 | LOCAL_CPPFLAGS = -fPIC 14 | LOCAL_SLICEOUTPUTDIR = cpp/src/Freeze 15 | 16 | include $(OBJECT_RULES) 17 | FREEZE_LOCAL_GENOBJS := $(LOCAL_OBJS) 18 | 19 | include $(CLEAR_RULES) 20 | 21 | LOCAL_MODULE = Freeze 22 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 23 | 24 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 25 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 26 | LOCAL_SLICE2CPPFLAGS = --ice -Iice/slice --include-dir Freeze --dll-export FREEZE_API 27 | 28 | LOCAL_FREEZEOUTPUTDIR = cpp/include/$(LOCAL_MODULE) 29 | LOCAL_SLICE2FREEZEFLAGS := $(LOCAL_SLICE2CPPFLAGS) 30 | LOCAL_FREEZE_CLASS = Catalog 31 | LOCAL_FREEZE_DICT = Freeze::Catalog,string,Freeze::CatalogData Catalog ice/slice/Freeze/CatalogData.ice 32 | LOCAL_FREEZE_DEPS = $(LOCAL_SLICEDIR)/CatalogData.ice 33 | include $(FREEZE_RULES) 34 | 35 | LOCAL_FREEZE_CLASS = CatalogIndexList 36 | LOCAL_FREEZE_DICT = Freeze::CatalogIndexList,string,Ice::StringSeq CatalogIndexList ice/slice/Ice/BuiltinSequences.ice 37 | LOCAL_FREEZE_DEPS = ice/slice/Ice/BuiltinSequences.ice 38 | include $(FREEZE_RULES) 39 | 40 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 41 | LOCAL_SRCS = $(filter-out $(LOCAL_SRCDIR)/PingObject.cpp \ 42 | $(LOCAL_SRCDIR)/Catalog.cpp \ 43 | $(LOCAL_SRCDIR)/CatalogIndexList.cpp, \ 44 | $(wildcard $(LOCAL_SRCDIR)/*.cpp)) 45 | LOCAL_OBJS = $(FREEZE_LOCAL_GENOBJS) 46 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 47 | LOCAL_LINKWITH = -Wl,-Bdynamic -ldb_cxx-5.3 48 | 49 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 50 | 51 | include $(DYNAMICLIBRARY_RULES) 52 | 53 | Freeze_slice_install: Freeze 54 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/Freeze 55 | $(Q)cp ice/slice/Freeze/*.ice $(DESTDIR)$(ice_install_slice_dir)/Freeze 56 | 57 | Freeze_headers_install: Freeze 58 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/Freeze 59 | $(Q)cp cpp/include/Freeze/*.h $(DESTDIR)$(ice_install_include_dir)/Freeze 60 | 61 | INSTALL_TARGETS := $(INSTALL_TARGETS) Freeze_slice_install Freeze_headers_install -------------------------------------------------------------------------------- /cpp/src/FreezeScript/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # FreezeScript tools 3 | # 4 | 5 | ifneq ($(CPP11),yes) 6 | 7 | include $(CLEAR_RULES) 8 | LOCAL_MODULE = transformdb 9 | LOCAL_PATH = cpp/src/FreezeScript 10 | 11 | LOCAL_DEPENDENT_DYMODULES = IceUtil Slice Ice IceXML Freeze 12 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 13 | LOCAL_SRCS = $(filter-out $(LOCAL_SRCDIR)/DumpDescriptors.cpp \ 14 | $(LOCAL_SRCDIR)/DumpDB.cpp, \ 15 | $(wildcard $(LOCAL_SRCDIR)/*.cpp)) 16 | 17 | LOCAL_LINKWITH = -Wl,-Bdynamic -ldb_cxx-5.3 18 | LOCAL_LDFLAGS = -rdynamic 19 | include $(APPLICATION_RULES) 20 | 21 | 22 | include $(CLEAR_RULES) 23 | LOCAL_MODULE = dumpdb 24 | LOCAL_PATH = cpp/src/FreezeScript 25 | 26 | LOCAL_DEPENDENT_DYMODULES = IceUtil Slice Ice IceXML Freeze 27 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 28 | LOCAL_SRCS = $(filter-out $(LOCAL_SRCDIR)/TransformAnalyzer.cpp \ 29 | $(LOCAL_SRCDIR)/TransformVisitor.cpp \ 30 | $(LOCAL_SRCDIR)/Transformer.cpp \ 31 | $(LOCAL_SRCDIR)/transformdb.cpp, \ 32 | $(wildcard $(LOCAL_SRCDIR)/*.cpp)) 33 | 34 | LOCAL_LINKWITH = -Wl,-Bdynamic -ldb_cxx-5.3 35 | LOCAL_LDFLAGS = -rdynamic 36 | include $(APPLICATION_RULES) 37 | 38 | endif -------------------------------------------------------------------------------- /cpp/src/Glacier2/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Glacier2 lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = Glacier2 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 10 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 11 | LOCAL_SLICE2CPPFLAGS = --ice --dll-export GLACIER2_API --include-dir Glacier2 12 | 13 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE)Lib 14 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 15 | 16 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 17 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 18 | 19 | include $(LIBRARY_RULES) 20 | 21 | ifneq ($(CPP11),yes) 22 | 23 | include $(CLEAR_RULES) 24 | LOCAL_MODULE = glacier2router 25 | LOCAL_PATH = cpp/src/Glacier2 26 | 27 | LOCAL_SLICEDIR = ice/$(LOCAL_PATH) 28 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 29 | LOCAL_SLICE2CPPFLAGS = --include-dir Glacier2 30 | 31 | LOCAL_DEPENDENT_DYMODULES = Glacier2CryptPermissionsVerifier Glacier2 IceSSL Ice IceUtil 32 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 33 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 34 | 35 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl 36 | LOCAL_LDFLAGS = -rdynamic 37 | include $(APPLICATION_RULES) 38 | 39 | endif 40 | 41 | Glacier2_slice_install: Glacier2 42 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/Glacier2 43 | $(Q)cp ice/slice/Glacier2/*.ice $(DESTDIR)$(ice_install_slice_dir)/Glacier2 44 | 45 | Glacier2_headers_install: Glacier2 46 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/Glacier2 47 | $(Q)cp cpp/include/Glacier2/*.h $(DESTDIR)$(ice_install_include_dir)/Glacier2 48 | 49 | INSTALL_TARGETS := $(INSTALL_TARGETS) Glacier2_slice_install Glacier2_headers_install -------------------------------------------------------------------------------- /cpp/src/Glacier2CryptPermissionsVerifier/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Glacier2CryptPermissionsVerifier lib 3 | # 4 | 5 | ifneq ($(CPP11),yes) 6 | include $(CLEAR_RULES) 7 | 8 | LOCAL_MODULE = Glacier2CryptPermissionsVerifier 9 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 10 | 11 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 12 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 13 | LOCAL_DEPENDENT_DYMODULES = Glacier2 Ice IceUtil 14 | LOCAL_LINKWITH = -Wl,-Bdynamic -lcrypt 15 | include $(DYNAMICLIBRARY_RULES) 16 | 17 | endif 18 | -------------------------------------------------------------------------------- /cpp/src/Ice/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceUtil 3 | # 4 | include $(CLEAR_RULES) 5 | LOCAL_MODULE = IceUtil 6 | include $(SUBMODULE_RULES) 7 | LIBRARY_OBJS := $(LIBRARY_OBJS) $(LOCAL_OBJS) 8 | 9 | # 10 | # IceDiscovery 11 | # 12 | include $(CLEAR_RULES) 13 | LOCAL_MODULE = IceDiscovery 14 | include $(SUBMODULE_RULES) 15 | LIBRARY_OBJS := $(LIBRARY_OBJS) $(LOCAL_OBJS) 16 | 17 | # 18 | # IceLocatorDiscovery 19 | # 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_MODULE = IceLocatorDiscovery 23 | include $(SUBMODULE_RULES) 24 | LIBRARY_OBJS := $(LIBRARY_OBJS) $(LOCAL_OBJS) 25 | 26 | # 27 | # IceSSL 28 | # 29 | include $(CLEAR_RULES) 30 | LOCAL_MODULE = IceSSL 31 | LOCAL_SLICE2CPPFLAGS = --dll-export ICE_SSL_API 32 | include $(SUBMODULE_RULES) 33 | LIBRARY_OBJS := $(LIBRARY_OBJS) $(LOCAL_OBJS) 34 | 35 | # 36 | # Ice 37 | # 38 | include $(CLEAR_RULES) 39 | 40 | LOCAL_MODULE = Ice 41 | LOCAL_PATH = cpp/src/Ice 42 | 43 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 44 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 45 | LOCAL_SLICE2CPPFLAGS = --ice --include-dir Ice --dll-export ICE_API 46 | 47 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 48 | LOCAL_SRCS = $(filter-out $(LOCAL_SRCDIR)/DLLMain.cpp $(LOCAL_SRCDIR)/RegisterPluginsInit.cpp, $(wildcard $(LOCAL_SRCDIR)/*.cpp)) \ 49 | $(LOCAL_PATH)/RegisterPluginsInit.cpp 50 | 51 | LOCAL_OBJS = $(LIBRARY_OBJS) 52 | LOCAL_DEPENDENT_DYMODULES = IceUtil 53 | 54 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 55 | include $(STATICLIBRARY_RULES) 56 | LOCAL_OBJS = 57 | include $(DYNAMICLIBRARY_RULES) 58 | Ice: Ice_staticlib Ice_dynamiclib 59 | 60 | 61 | Ice_slice_install: Ice 62 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/Ice 63 | $(Q)cp ice/slice/Ice/*.ice $(DESTDIR)$(ice_install_slice_dir)/Ice 64 | 65 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceSSL 66 | $(Q)cp ice/slice/IceSSL/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceSSL 67 | 68 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceDiscovery 69 | $(Q)cp ice/slice/IceDiscovery/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceDiscovery 70 | 71 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceLocatorDiscovery 72 | $(Q)cp ice/slice/IceLocatorDiscovery/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceLocatorDiscovery 73 | 74 | Ice_headers_install: Ice 75 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceUtil 76 | $(Q)cp cpp/include/IceUtil/*.h $(DESTDIR)$(ice_install_include_dir)/IceUtil 77 | 78 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/Ice 79 | $(Q)cp cpp/include/Ice/*.h $(DESTDIR)$(ice_install_include_dir)/Ice 80 | 81 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceSSL 82 | $(Q)cp cpp/include/IceSSL/*.h $(DESTDIR)$(ice_install_include_dir)/IceSSL 83 | 84 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceDiscovery 85 | $(Q)cp cpp/include/IceDiscovery/*.h $(DESTDIR)$(ice_install_include_dir)/IceDiscovery 86 | 87 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceLocatorDiscovery 88 | $(Q)cp cpp/include/IceLocatorDiscovery/*.h $(DESTDIR)$(ice_install_include_dir)/IceLocatorDiscovery 89 | 90 | INSTALL_TARGETS := $(INSTALL_TARGETS) Ice_slice_install Ice_headers_install -------------------------------------------------------------------------------- /cpp/src/Ice/RegisterPluginsInit.cpp: -------------------------------------------------------------------------------- 1 | // ********************************************************************** 2 | // 3 | // Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | // 5 | // This copy of Ice is licensed to you under the terms described in the 6 | // ICE_LICENSE file included in this distribution. 7 | // 8 | // ********************************************************************** 9 | 10 | #include 11 | #include 12 | 13 | using namespace std; 14 | using namespace Ice; 15 | using namespace IceInternal; 16 | 17 | extern "C" 18 | { 19 | 20 | Plugin* createIceUDP(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&); 21 | Plugin* createIceTCP(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&); 22 | 23 | } 24 | 25 | RegisterPluginsInit::RegisterPluginsInit() 26 | { 27 | Ice::registerPluginFactory("IceUDP", createIceUDP, true); 28 | Ice::registerPluginFactory("IceTCP", createIceTCP, true); 29 | } 30 | -------------------------------------------------------------------------------- /cpp/src/IceBox/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceBox lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceBox 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 9 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 10 | LOCAL_SLICE2CPPFLAGS = --ice -Iice/slice --include-dir IceBox --dll-export ICE_BOX_API 11 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 12 | LOCAL_SRCS = $(LOCAL_SRCDIR)/Exception.cpp 13 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 14 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 15 | include $(LIBRARY_RULES) 16 | 17 | # 18 | # IceBox server 19 | # 20 | include $(CLEAR_RULES) 21 | LOCAL_MODULE = icebox 22 | ifeq ($(CPP11),yes) 23 | LOCAL_EXE = icebox++11 24 | endif 25 | LOCAL_PATH = cpp/src/IceBox 26 | LOCAL_DEPENDENT_DYMODULES = IceBox Ice IceUtil 27 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 28 | LOCAL_SRCS = $(LOCAL_SRCDIR)/Service.cpp $(LOCAL_SRCDIR)/ServiceManagerI.o 29 | LOCAL_LDFLAGS = -rdynamic 30 | include $(APPLICATION_RULES) 31 | 32 | # 33 | # IceBox admin 34 | # 35 | 36 | ifneq ($(CPP11),yes) 37 | 38 | include $(CLEAR_RULES) 39 | LOCAL_MODULE = iceboxadmin 40 | LOCAL_PATH = cpp/src/IceBox 41 | LOCAL_DEPENDENT_DYMODULES = IceBox Ice IceUtil 42 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 43 | LOCAL_SRCS = $(LOCAL_SRCDIR)/Admin.o 44 | LOCAL_LDFLAGS = -rdynamic 45 | include $(APPLICATION_RULES) 46 | 47 | endif 48 | 49 | IceBox_slice_install: IceBox 50 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceBox 51 | $(Q)cp ice/slice/IceBox/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceBox 52 | 53 | IceBox_headers_install: IceBox 54 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceBox 55 | $(Q)cp cpp/include/IceBox/*.h $(DESTDIR)$(ice_install_include_dir)/IceBox 56 | 57 | INSTALL_TARGETS := $(INSTALL_TARGETS) IceBox_slice_install IceBox_headers_install -------------------------------------------------------------------------------- /cpp/src/IceDiscovery/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceDiscovery lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceDiscovery 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 10 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 11 | 12 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 13 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 14 | LOCAL_SLICE2CPPFLAGS = --ice --include-dir IceDiscovery 15 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 16 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 17 | 18 | include $(DYNAMICLIBRARY_RULES) -------------------------------------------------------------------------------- /cpp/src/IceGrid/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceGrid 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceGrid 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 10 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 11 | LOCAL_SLICE2CPPFLAGS = --ice --include-dir IceGrid --dll-export ICE_GRID_API 12 | 13 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE)Lib 14 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 15 | LOCAL_DEPENDENT_DYMODULES = Glacier2 Ice IceUtil 16 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 17 | 18 | include $(LIBRARY_RULES) 19 | 20 | IceGrid_slice_install: IceGrid 21 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceGrid 22 | $(Q)cp ice/slice/IceGrid/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceGrid 23 | 24 | IceGrid_headers_install: IceGrid 25 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceGrid 26 | $(Q)cp cpp/include/IceGrid/*.h $(DESTDIR)$(ice_install_include_dir)/IceGrid 27 | 28 | INSTALL_TARGETS := $(INSTALL_TARGETS) IceGrid_slice_install IceGrid_headers_install -------------------------------------------------------------------------------- /cpp/src/IceLocatorDiscovery/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceLocatorDiscovery lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceLocatorDiscovery 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 10 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 11 | 12 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 13 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 14 | LOCAL_SLICE2CPPFLAGS = --ice --include-dir IceLocatorDiscovery 15 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 16 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 17 | 18 | include $(DYNAMICLIBRARY_RULES) 19 | -------------------------------------------------------------------------------- /cpp/src/IceSSL/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceSSL lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceSSL 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 10 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 11 | 12 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 13 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 14 | LOCAL_SLICE2CPPFLAGS = --ice --include-dir IceSSL --dll-export ICE_SSL_API 15 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl -lcrypto 16 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 17 | 18 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 19 | 20 | include $(DYNAMICLIBRARY_RULES) 21 | -------------------------------------------------------------------------------- /cpp/src/IceStorm/Makefile.mk: -------------------------------------------------------------------------------- 1 | ICESTORMADMIN_SRCS = $(LOCAL_SRCDIR)/Admin.cpp \ 2 | $(LOCAL_SRCDIR)/Grammar.cpp \ 3 | $(LOCAL_SRCDIR)/Parser.cpp \ 4 | $(LOCAL_SRCDIR)/Scanner.cpp 5 | 6 | ICESTORMDB_SRCS = $(LOCAL_SRCDIR)/IceStormDB.cpp \ 7 | $(LOCAL_SRCDIR)/LLUMap.cpp \ 8 | $(LOCAL_SRCDIR)/SubscriberMap.cpp 9 | 10 | # 11 | # IceStorm 12 | # 13 | include $(CLEAR_RULES) 14 | 15 | LOCAL_MODULE = IceStorm 16 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 17 | 18 | LOCAL_SLICEDIR = ice/slice/$(LOCAL_MODULE) 19 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 20 | LOCAL_SLICE2CPPFLAGS = --ice -Iice/slice --include-dir IceStorm --dll-export ICE_STORM_API 21 | 22 | LOCAL_DEPENDENT_DYMODULES = Ice IceUtil 23 | 24 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 25 | 26 | include $(LIBRARY_RULES) 27 | 28 | ifneq ($(NOFREEZE),yes) 29 | 30 | # 31 | # IceStormLocalSlice 32 | # 33 | include $(CLEAR_RULES) 34 | LOCAL_MODULE = IceStormServiceLocalSlice 35 | LOCAL_PATH = cpp/src/IceStorm 36 | 37 | LOCAL_SLICEDIR = ice/$(LOCAL_PATH) 38 | LOCAL_SLICES = $(filter-out $(LOCAL_SLICEDIR)/DBTypes.ice \ 39 | $(LOCAL_SLICEDIR)/dummy.ice \ 40 | $(LOCAL_SLICEDIR)/dummy2.ice, \ 41 | $(wildcard $(LOCAL_SLICEDIR)/*.ice)) 42 | 43 | LOCAL_SLICE2CPPFLAGS = --ice -Iice/cpp/src -Iice/cpp/src/IceStorm --include-dir IceStorm 44 | 45 | LOCAL_OBJPREFIX = $(OBJPREFIX)/pic 46 | LOCAL_CPPFLAGS = -fPIC -I$(LOCAL_PATH) 47 | LOCAL_SLICEOUTPUTDIR = cpp/src/IceStorm 48 | 49 | include $(OBJECT_RULES) 50 | ICESTORM_LOCAL_GENOBJS := $(LOCAL_OBJS) 51 | 52 | # 53 | # IceStormService 54 | # 55 | include $(CLEAR_RULES) 56 | LOCAL_MODULE = IceStormService 57 | LOCAL_PATH = cpp/src/IceStorm 58 | 59 | LOCAL_DEPENDENT_DYMODULES = Freeze IceStorm IceGrid Glacier2 IceBox Ice IceUtil 60 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 61 | 62 | LOCAL_FREEZEOUTPUTDIR = $(LOCAL_PATH) 63 | LOCAL_SLICE2FREEZEFLAGS = --ice -Iice/cpp/src --include-dir IceStorm 64 | 65 | LOCAL_FREEZE_CLASS = LLUMap 66 | LOCAL_FREEZE_DICT = IceStorm::LLUMap,string,IceStormElection::LogUpdate LLUMap $(LOCAL_SRCDIR)/LLURecord.ice 67 | LOCAL_FREEZE_DEPS = $(LOCAL_SRCDIR)/LLURecord.ice 68 | include $(FREEZE_RULES) 69 | 70 | LOCAL_FREEZE_CLASS = SubscriberMap 71 | LOCAL_FREEZE_DICT = IceStorm::SubscriberMap,IceStorm::SubscriberRecordKey,IceStorm::SubscriberRecord,sort \ 72 | SubscriberMap $(LOCAL_SRCDIR)/SubscriberRecord.ice 73 | LOCAL_FREEZE_DEPS = $(LOCAL_SRCDIR)/SubscriberRecord.ice ice/slice/Ice/Identity.ice 74 | include $(FREEZE_RULES) 75 | 76 | 77 | LOCAL_FREEZE_CLASS = V32FormatDB 78 | LOCAL_FREEZE_DICT = IceStorm::V32Format,Ice::Identity,IceStorm::LinkRecordSeq \ 79 | V32FormatDB $(LOCAL_SRCDIR)/V32Format.ice 80 | LOCAL_FREEZE_DEPS = $(LOCAL_SRCDIR)/V32Format.ice 81 | include $(FREEZE_RULES) 82 | 83 | LOCAL_FREEZE_CLASS = V31FormatDB 84 | LOCAL_FREEZE_DICT = IceStorm::V31Format,string,IceStorm::LinkRecordDict \ 85 | V31FormatDB $(LOCAL_SRCDIR)/V31Format.ice 86 | LOCAL_FREEZE_DEPS = $(LOCAL_SRCDIR)/V31Format.ice 87 | include $(FREEZE_RULES) 88 | 89 | LOCAL_SRCS = $(filter-out $(ICESTORMADMIN_SRCS) \ 90 | $(ICESTORMDB_SRCS) \ 91 | $(patsubst %.ice,%.cpp,$(wildcard $(LOCAL_SRCDIR)/*.ice)) \ 92 | $(addprefix $(LOCAL_SRCDIR)/, LLUMap.cpp SubscriberMap.cpp V32FormatDB.cpp V31FormatDB.cpp), \ 93 | $(wildcard $(LOCAL_SRCDIR)/*.cpp)) 94 | 95 | LOCAL_OBJS = $(ICESTORM_LOCAL_GENOBJS) 96 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl 97 | LOCAL_LDFLAGS = -rdynamic 98 | 99 | LOCAL_CPPFLAGS = -I$(LOCAL_PATH) 100 | include $(DYNAMICLIBRARY_RULES) 101 | 102 | ifneq ($(CPP11),yes) 103 | # 104 | # icestormadmin 105 | # 106 | include $(CLEAR_RULES) 107 | LOCAL_MODULE = icestormadmin 108 | LOCAL_PATH = cpp/src/IceStorm 109 | 110 | LOCAL_CPPFLAGS = -I$(LOCAL_PATH) 111 | LOCAL_DEPENDENT_DYMODULES = IceStorm Ice IceUtil 112 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 113 | LOCAL_SRCS = $(LOCAL_SRCDIR)/Admin.cpp \ 114 | $(LOCAL_SRCDIR)/Grammar.cpp \ 115 | $(LOCAL_SRCDIR)/Parser.cpp \ 116 | $(LOCAL_SRCDIR)/Scanner.cpp 117 | LOCAL_OBJS = $(ICESTORM_LOCAL_GENOBJS) 118 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl 119 | LOCAL_LDFLAGS = -rdynamic 120 | include $(APPLICATION_RULES) 121 | 122 | # 123 | # icestormdb 124 | # 125 | include $(CLEAR_RULES) 126 | LOCAL_MODULE = icestormdb 127 | LOCAL_PATH = cpp/src/IceStorm 128 | 129 | 130 | LOCAL_SLICEDIR = ice/$(LOCAL_PATH) 131 | LOCAL_SLICES = $(LOCAL_SLICEDIR)/DBTypes.ice 132 | LOCAL_SLICE2CPPFLAGS = --ice -Icpp/src -I$(LOCAL_SLICEDIR) --include-dir IceStorm 133 | 134 | LOCAL_CPPFLAGS = -I$(LOCAL_PATH) 135 | LOCAL_DEPENDENT_DYMODULES = IceStorm Ice IceUtil Freeze 136 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 137 | LOCAL_SRCS = $(LOCAL_SRCDIR)/IceStormDB.cpp \ 138 | $(LOCAL_SRCDIR)/LLUMap.cpp \ 139 | $(LOCAL_SRCDIR)/SubscriberMap.cpp 140 | 141 | LOCAL_OBJS = $(ICESTORM_LOCAL_GENOBJS) 142 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl 143 | LOCAL_LDFLAGS = -rdynamic 144 | 145 | include $(APPLICATION_RULES) 146 | endif 147 | 148 | endif 149 | 150 | IceStorm_slice_install: IceStorm 151 | $(Q)mkdir -p $(DESTDIR)$(ice_install_slice_dir)/IceStorm 152 | $(Q)cp ice/slice/IceStorm/*.ice $(DESTDIR)$(ice_install_slice_dir)/IceStorm 153 | 154 | IceStorm_headers_install: IceStorm 155 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/IceStorm 156 | $(Q)cp cpp/include/IceStorm/*.h $(DESTDIR)$(ice_install_include_dir)/IceStorm 157 | 158 | INSTALL_TARGETS := $(INSTALL_TARGETS) IceStorm_slice_install IceStorm_headers_install 159 | -------------------------------------------------------------------------------- /cpp/src/IceUtil/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceUtil lib 3 | # 4 | include $(CLEAR_RULES) 5 | 6 | LOCAL_MODULE = IceUtil 7 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 8 | 9 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 10 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 11 | LOCAL_LINKWITH = -Wl,-Bdynamic -lcrypt 12 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 13 | 14 | include $(DYNAMICLIBRARY_RULES) 15 | -------------------------------------------------------------------------------- /cpp/src/IceXML/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IceXML lib 3 | # 4 | 5 | ifneq ($(CPP11),yes) 6 | 7 | include $(CLEAR_RULES) 8 | 9 | LOCAL_MODULE = IceXML 10 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 11 | 12 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 13 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 14 | 15 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 16 | LOCAL_DEPENDENT_DYMODULES = IceUtil 17 | 18 | LOCAL_LINKWITH = -Wl,-Bdynamic -lexpat 19 | include $(DYNAMICLIBRARY_RULES) 20 | 21 | $(LOCAL_MODULE): $(LOCAL_MODULE)_dynamiclib 22 | 23 | endif 24 | -------------------------------------------------------------------------------- /cpp/src/Slice/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Slice lib 3 | # 4 | ifneq ($(CPP11),yes) 5 | 6 | include $(CLEAR_RULES) 7 | 8 | LOCAL_MODULE = Slice 9 | LOCAL_PATH = cpp/src/$(LOCAL_MODULE) 10 | LOCAL_DEPENDENT_MODULES = mcpp 11 | LOCAL_SRCDIR = ice/cpp/src/$(LOCAL_MODULE) 12 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 13 | LOCAL_OBJS = $(LIBRARY_OBJS) 14 | LOCAL_HEADERPATH = cpp/include/$(LOCAL_MODULE) 15 | LOCAL_DEPENDENT_DYMODULES = IceUtil 16 | include $(LIBRARY_RULES) 17 | 18 | Slice: Slice_dynamiclib 19 | 20 | Slice_headers_install: Slice 21 | $(Q)mkdir -p $(DESTDIR)$(ice_install_include_dir)/Slice 22 | $(Q)cp cpp/include/Slice/*.h $(DESTDIR)$(ice_install_include_dir)/Slice 23 | 24 | INSTALL_TARGETS := $(INSTALL_TARGETS) Slice_headers_install 25 | 26 | endif 27 | -------------------------------------------------------------------------------- /cpp/src/mcpp/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # mcpp lib 3 | # 4 | ifneq ($(CPP11),yes) 5 | include $(CLEAR_RULES) 6 | LOCAL_MODULE = mcpp 7 | LOCAL_SRCDIR = mcpp 8 | LOCAL_CFLAGS = -fPIC 9 | LOCAL_PATH = cpp/src/mcpp 10 | LOCAL_C_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.c) 11 | include $(STATICLIBRARY_RULES) 12 | endif -------------------------------------------------------------------------------- /cpp/src/slice2cpp/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # slice2cpp 3 | # 4 | ifneq ($(CPP11),yes) 5 | 6 | include $(CLEAR_RULES) 7 | LOCAL_MODULE = slice2cpp 8 | LOCAL_PATH = cpp/src/slice2cpp 9 | LOCAL_DEPENDENT_MODULES = Slice Ice mcpp 10 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 12 | include $(APPLICATION_RULES) 13 | 14 | endif -------------------------------------------------------------------------------- /cpp/src/slice2freeze/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # slice2freeze 3 | # 4 | ifneq ($(CPP11),yes) 5 | 6 | include $(CLEAR_RULES) 7 | LOCAL_MODULE = slice2freeze 8 | LOCAL_PATH = cpp/src/slice2freeze 9 | LOCAL_DEPENDENT_MODULES = Slice Ice mcpp 10 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 12 | include $(APPLICATION_RULES) 13 | 14 | endif -------------------------------------------------------------------------------- /cpp/src/slice2py/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # slice2py 3 | # 4 | ifneq ($(CPP11),yes) 5 | 6 | include $(CLEAR_RULES) 7 | LOCAL_MODULE = slice2py 8 | LOCAL_PATH = cpp/src/slice2py 9 | LOCAL_DEPENDENT_MODULES = Slice Ice mcpp 10 | LOCAL_SRCDIR = ice/$(LOCAL_PATH) 11 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 12 | include $(APPLICATION_RULES) 13 | 14 | endif 15 | -------------------------------------------------------------------------------- /cpp/test/Freeze/complex/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | include $(CLEAR_RULES) 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Freeze/complex 14 | LOCAL_SLICES = Complex.ice 15 | LOCAL_SRCS = Grammar.cpp Scanner.cpp Parser.cpp Client.cpp 16 | LOCAL_RESOURCES = db 17 | LOCAL_DEPENDENT_MODULES = Freeze 18 | 19 | LOCAL_FREEZEOUTPUTDIR = $(LOCAL_PATH) 20 | LOCAL_SLICE2FREEZEFLAGS = -I$(LOCAL_PATH) -Iice/$(LOCAL_PATH) 21 | LOCAL_FREEZE_CLASS = ComplexDict 22 | LOCAL_FREEZE_DICT = Complex::ComplexDict,Complex::Key,Complex::Node ComplexDict ice/$(LOCAL_PATH)/Complex.ice 23 | LOCAL_FREEZE_DEPS = ice/$(LOCAL_PATH)/Complex.ice 24 | include $(FREEZE_RULES) 25 | 26 | include $(TEST_APPLICATION_RULES) 27 | endif 28 | -------------------------------------------------------------------------------- /cpp/test/Freeze/dbmap/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | include $(CLEAR_RULES) 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Freeze/dbmap 14 | LOCAL_SRCS = Client.cpp 15 | LOCAL_RESOURCES = db 16 | LOCAL_DEPENDENT_MODULES = Freeze 17 | 18 | LOCAL_FREEZEOUTPUTDIR = $(LOCAL_PATH) 19 | LOCAL_SLICE2FREEZEFLAGS = -I$(LOCAL_PATH) --ice $(LOCAL_SLICE2CPPFLAGS) 20 | 21 | LOCAL_FREEZE_CLASS = ByteIntMap 22 | LOCAL_FREEZE_DICT = Test::ByteIntMap,byte,int 23 | LOCAL_FREEZE_DICT_INDEX = "Test::ByteIntMap,sort" ByteIntMap 24 | include $(FREEZE_RULES) 25 | 26 | LOCAL_FREEZE_CLASS = IntIdentityMap 27 | LOCAL_FREEZE_DICT = Test::IntIdentityMap,int,Ice::Identity IntIdentityMap ice/slice/Ice/Identity.ice 28 | LOCAL_FREEZE_DEPS = ice/slice/Ice/Identity.ice 29 | include $(FREEZE_RULES) 30 | 31 | LOCAL_FREEZE_CLASS = IntIdentityMapWithIndex 32 | LOCAL_FREEZE_DICT = Test::IntIdentityMapWithIndex,int,Ice::Identity 33 | LOCAL_FREEZE_DICT_INDEX = Test::IntIdentityMapWithIndex,category IntIdentityMapWithIndex ice/slice/Ice/Identity.ice 34 | LOCAL_FREEZE_DEPS = ice/slice/Ice/Identity.ice 35 | include $(FREEZE_RULES) 36 | 37 | LOCAL_FREEZE_CLASS = SortedMap 38 | LOCAL_FREEZE_DICT = Test::SortedMap,int,Ice::Identity,sort SortedMap 39 | LOCAL_FREEZE_DICT_INDEX = "Test::SortedMap,category,sort,std::greater" ice/slice/Ice/Identity.ice 40 | LOCAL_FREEZE_DEPS = ice/slice/Ice/Identity.ice 41 | include $(FREEZE_RULES) 42 | 43 | LOCAL_FREEZE_CLASS = WstringWstringMap 44 | LOCAL_FREEZE_DICT = 'Test::WstringWstringMap,["cpp:type:wstring"]string,["cpp:type:wstring"]string' 45 | LOCAL_FREEZE_DICT_INDEX = Test::WstringWstringMap WstringWstringMap 46 | include $(FREEZE_RULES) 47 | 48 | include $(TEST_APPLICATION_RULES) 49 | endif 50 | -------------------------------------------------------------------------------- /cpp/test/Freeze/evictor/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | include $(CLEAR_RULES) 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Freeze/evictor 14 | LOCAL_SLICES = Test.ice 15 | LOCAL_SRCS = Client.cpp 16 | LOCAL_RESOURCES = db config 17 | include $(TEST_APPLICATION_RULES) 18 | 19 | include $(CLEAR_RULES) 20 | LOCAL_EXE = server 21 | LOCAL_PATH = cpp/test/Freeze/evictor 22 | LOCAL_SLICES = Test.ice 23 | LOCAL_SRCS = Server.cpp TestI.cpp 24 | LOCAL_DEPENDENT_MODULES = Freeze 25 | include $(TEST_APPLICATION_RULES) 26 | endif 27 | -------------------------------------------------------------------------------- /cpp/test/Freeze/fileLock/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | include $(CLEAR_RULES) 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Freeze/fileLock 14 | LOCAL_SRCS = Client.cpp 15 | LOCAL_DEPENDENT_MODULES = Freeze 16 | LOCAL_RESOURCES = db 17 | include $(TEST_APPLICATION_RULES) 18 | 19 | include $(CLEAR_RULES) 20 | LOCAL_EXE = clientFail 21 | LOCAL_PATH = cpp/test/Freeze/fileLock 22 | LOCAL_SRCS = ClientFail.cpp 23 | LOCAL_DEPENDENT_MODULES = Freeze 24 | include $(TEST_APPLICATION_RULES) 25 | endif 26 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/attack/.gitignore: -------------------------------------------------------------------------------- 1 | passwords 2 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/attack/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Glacier2/attack 12 | CLIENT_SLICES = Backend.ice 13 | CLIENT_SRCS = BackendI.cpp \ 14 | Client.cpp 15 | SERVER_SLICES = Backend.ice 16 | SERVER_SRCS = BackendI.cpp \ 17 | Server.cpp 18 | TEST_DEPENDENT_MODULES = Glacier2 19 | 20 | include $(CLIENTSERVERTEST_RULES) 21 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/dynamicFiltering/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Glacier2/dynamicFiltering 12 | CLIENT_SLICES = Test.ice 13 | CLIENT_SRCS = Client.cpp 14 | SERVER_SLICES = Test.ice 15 | SERVER_SRCS = Server.cpp \ 16 | SessionI.cpp \ 17 | BackendI.cpp \ 18 | TestControllerI.cpp 19 | TEST_DEPENDENT_MODULES = Glacier2 20 | include $(CLIENTSERVERTEST_RULES) 21 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/override/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_PATH = cpp/test/Glacier2/override 13 | 14 | CLIENT_SLICES = Callback.ice 15 | 16 | CLIENT_SRCS = CallbackI.cpp \ 17 | Client.cpp 18 | 19 | CLIENT_DEPENDENT_MODULES = Glacier2 20 | 21 | SERVER_SLICES = Callback.ice 22 | 23 | SERVER_SRCS = CallbackI.cpp \ 24 | Server.cpp 25 | 26 | include $(CLIENTSERVERTEST_RULES) 27 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/router/.gitignore: -------------------------------------------------------------------------------- 1 | passwords 2 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/router/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_PATH = cpp/test/Glacier2/router 13 | 14 | CLIENT_SLICES = Callback.ice 15 | 16 | CLIENT_SRCS = CallbackI.cpp \ 17 | Client.cpp 18 | 19 | CLIENT_DEPENDENT_MODULES = Glacier2 20 | 21 | SERVER_SLICES = Callback.ice 22 | 23 | SERVER_SRCS = CallbackI.cpp \ 24 | Server.cpp 25 | 26 | include $(CLIENTSERVERTEST_RULES) 27 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/sessionControl/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_PATH = cpp/test/Glacier2/sessionControl 13 | 14 | CLIENT_SLICES = Session.ice 15 | 16 | CLIENT_SRCS = Client.cpp 17 | 18 | SERVER_SLICES = Session.ice 19 | 20 | SERVER_SRCS = SessionI.cpp \ 21 | Server.cpp 22 | 23 | TEST_DEPENDENT_MODULES = Glacier2 24 | 25 | include $(CLIENTSERVERTEST_RULES) 26 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/sessionHelper/.gitignore: -------------------------------------------------------------------------------- 1 | passwords 2 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/sessionHelper/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_PATH = cpp/test/Glacier2/sessionHelper 13 | 14 | CLIENT_SLICES = Callback.ice 15 | CLIENT_SRCS = Client.cpp 16 | 17 | CLIENT_DEPENDENT_MODULES = Glacier2 18 | 19 | SERVER_SLICES = Callback.ice 20 | SERVER_SRCS = Server.cpp 21 | 22 | include $(CLIENTSERVERTEST_RULES) 23 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/ssl/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Glacier2/ssl 13 | LOCAL_SRCS = Client.cpp 14 | LOCAL_DEPENDENT_MODULES = Glacier2 Ice 15 | include $(TEST_APPLICATION_RULES) 16 | 17 | include $(CLEAR_RULES) 18 | LOCAL_EXE = server 19 | LOCAL_PATH = cpp/test/Glacier2/ssl 20 | LOCAL_SRCS = Server.cpp 21 | LOCAL_DEPENDENT_MODULES = IceSSL Glacier2 Ice 22 | LOCAL_LINKWITH = -Wl,-Bdynamic -lssl 23 | include $(TEST_APPLICATION_RULES) -------------------------------------------------------------------------------- /cpp/test/Glacier2/staticFiltering/.gitignore: -------------------------------------------------------------------------------- 1 | passwords 2 | attack.cfg 3 | router.cfg 4 | server.cfg 5 | -------------------------------------------------------------------------------- /cpp/test/Glacier2/staticFiltering/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Glacier2/staticFiltering 12 | CLIENT_SLICES = Backend.ice 13 | CLIENT_SRCS = BackendI.cpp \ 14 | Client.cpp 15 | SERVER_SLICES = Backend.ice 16 | SERVER_SRCS = BackendI.cpp \ 17 | Server.cpp 18 | TEST_DEPENDENT_MODULES = Glacier2 19 | include $(CLIENTSERVERTEST_RULES) 20 | -------------------------------------------------------------------------------- /cpp/test/Ice/acm/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/acm 12 | include $(CLIENTSERVERTEST_RULES) 13 | -------------------------------------------------------------------------------- /cpp/test/Ice/adapterDeactivation/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/adapterDeactivation 12 | TEST_TARGET_EXT = colloc 13 | SERVER_SRCS_EXT = ServantLocatorI.cpp 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/admin/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/admin 12 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/Ice/ami/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/ami 12 | TEST_TARGET_EXT = colloc 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/binding/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/binding 12 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/Ice/checksum/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Ice/checksum 14 | 15 | LOCAL_SLICES = Test.ice \ 16 | Types.ice 17 | 18 | LOCAL_SRCS = Client.cpp \ 19 | AllTests.cpp 20 | 21 | LOCAL_SLICE2CPPFLAGS = --checksum 22 | 23 | include $(TEST_APPLICATION_RULES) 24 | -------------------------------------------------------------------------------- /cpp/test/Ice/checksum/server/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_EXE = server 13 | LOCAL_PATH = cpp/test/Ice/checksum/server 14 | 15 | LOCAL_SLICES = Test.ice \ 16 | Types.ice 17 | 18 | LOCAL_SRCS = TestI.cpp \ 19 | Server.cpp 20 | 21 | LOCAL_SLICE2CPPFLAGS = --checksum 22 | 23 | include $(TEST_APPLICATION_RULES) 24 | -------------------------------------------------------------------------------- /cpp/test/Ice/custom/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | TEST_CPPFLAGS = -DSTRING_VIEW_IGNORE_STRING_CONVERTER 13 | LOCAL_PATH = cpp/test/Ice/custom 14 | TEST_TARGET_EXT = colloc serveramd 15 | 16 | TEST_SLICES_EXT = Wstring.ice 17 | AMD_SLICES_EXCLUDE = $(TEST_SLICES_EXT) 18 | 19 | TEST_SRCS_EXT = MyByteSeq.cpp \ 20 | StringConverterI.cpp 21 | 22 | SERVER_SRCS_EXT = WstringI.cpp 23 | 24 | AMD_SLICES_EXT = WstringAMD.ice 25 | AMD_SRCS_EXT = WstringAMDI.cpp 26 | 27 | include $(CLIENTSERVERTEST_RULES) 28 | -------------------------------------------------------------------------------- /cpp/test/Ice/defaultServant/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Ice/defaultServant 14 | 15 | LOCAL_SLICES = Test.ice 16 | 17 | LOCAL_SRCS = Client.cpp \ 18 | TestI.cpp \ 19 | AllTests.cpp 20 | 21 | include $(TEST_APPLICATION_RULES) 22 | -------------------------------------------------------------------------------- /cpp/test/Ice/defaultValue/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/Ice/defaultValue 14 | 15 | LOCAL_SLICES = Test.ice 16 | 17 | LOCAL_SRCS = Client.cpp \ 18 | AllTests.cpp 19 | 20 | include $(TEST_APPLICATION_RULES) 21 | -------------------------------------------------------------------------------- /cpp/test/Ice/dispatcher/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/dispatcher 12 | TEST_TARGET_EXT = colloc 13 | TEST_SRCS_EXT = Dispatcher.cpp 14 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/Ice/echo/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = server 12 | LOCAL_PATH = cpp/test/Ice/echo 13 | 14 | LOCAL_SLICES = Test.ice 15 | 16 | LOCAL_SRCS = BlobjectI.cpp \ 17 | Server.cpp 18 | include $(TEST_APPLICATION_RULES) 19 | -------------------------------------------------------------------------------- /cpp/test/Ice/enums/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/enums 12 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/Ice/exceptions/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/exceptions 12 | TEST_TARGET_EXT = colloc serveramd 13 | TEST_SRCS_EXT = ExceptionsI.cpp 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/facets/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/facets 12 | TEST_TARGET_EXT = colloc 13 | include $(CLIENTSERVERTEST_RULES) 14 | 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/faultTolerance/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/faultTolerance 12 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/Ice/gc/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/gc 13 | LOCAL_SLICES = Test.ice 14 | LOCAL_SRCS = Client.cpp 15 | include $(TEST_APPLICATION_RULES) 16 | -------------------------------------------------------------------------------- /cpp/test/Ice/hash/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/hash 13 | LOCAL_SLICES = Test.ice 14 | LOCAL_SRCS = Client.cpp 15 | include $(TEST_APPLICATION_RULES) 16 | -------------------------------------------------------------------------------- /cpp/test/Ice/hold/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/hold 12 | include $(CLIENTSERVERTEST_RULES) 13 | -------------------------------------------------------------------------------- /cpp/test/Ice/info/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/info 12 | TEST_DEPENDENT_MODULES = IceSSL 13 | TEST_LINKWITH = -Wl,-Bdynamic -lssl 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/inheritance/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/inheritance 12 | TEST_TARGET_EXT = colloc 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/interceptor/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/interceptor 13 | LOCAL_SLICES = Test.ice 14 | LOCAL_SRCS = TestI.cpp \ 15 | Client.cpp \ 16 | InterceptorI.cpp \ 17 | AMDInterceptorI.cpp \ 18 | MyObjectI.cpp 19 | include $(TEST_APPLICATION_RULES) 20 | -------------------------------------------------------------------------------- /cpp/test/Ice/invoke/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/invoke 12 | SERVER_SRCS = Server.cpp \ 13 | BlobjectI.cpp 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/location/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/location 12 | SERVER_SRCS_EXT = ServerLocator.cpp 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/logger/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client1 12 | LOCAL_PATH = cpp/test/Ice/logger 13 | LOCAL_SRCS = Client1.cpp 14 | LOCAL_RESOURCES = config.client 15 | include $(TEST_APPLICATION_RULES) 16 | 17 | include $(CLEAR_RULES) 18 | LOCAL_EXE = client2 19 | LOCAL_PATH = cpp/test/Ice/logger 20 | LOCAL_SRCS = Client2.cpp 21 | include $(TEST_APPLICATION_RULES) 22 | 23 | include $(CLEAR_RULES) 24 | LOCAL_EXE = client3 25 | LOCAL_PATH = cpp/test/Ice/logger 26 | LOCAL_SRCS = Client3.cpp 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | include $(CLEAR_RULES) 30 | LOCAL_EXE = client4 31 | LOCAL_PATH = cpp/test/Ice/logger 32 | LOCAL_SRCS = Client4.cpp 33 | include $(TEST_APPLICATION_RULES) 34 | 35 | include $(CLEAR_RULES) 36 | LOCAL_EXE = client5 37 | LOCAL_PATH = cpp/test/Ice/logger 38 | LOCAL_SRCS = Client5.cpp 39 | include $(TEST_APPLICATION_RULES) 40 | -------------------------------------------------------------------------------- /cpp/test/Ice/metrics/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/metrics 12 | TEST_TARGET_EXT = colloc serveramd 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/networkProxy/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/networkProxy 12 | SERVER_SRCS = Server.cpp 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/objects/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_MODULE = TestDerived 13 | LOCAL_PATH = cpp/test/Ice/objects 14 | 15 | LOCAL_SLICES = Derived.ice \ 16 | DerivedEx.ice 17 | 18 | ifeq ($(BUILD_TESTSUITE),static) 19 | include $(TEST_STATICLIBRARY_RULES) 20 | cpp/test/Ice/objects/server: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).a 21 | cpp/test/Ice/objects/client: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).a 22 | cpp/test/Ice/objects/collocated: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).a 23 | else 24 | include $(TEST_DYNAMICLIBRARY_RULES) 25 | cpp/test/Ice/objects/server: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).so 26 | cpp/test/Ice/objects/client: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).so 27 | cpp/test/Ice/objects/collocated: cpp/test/Ice/objects/libTestDerived$(LIBNAME_SUFFIX).so 28 | endif 29 | 30 | include $(CLEAR_RULES) 31 | 32 | LOCAL_PATH = cpp/test/Ice/objects 33 | TEST_LDFLAGS = -L$(LOCAL_PATH) 34 | TEST_LINKWITH = -lTestDerived$(LIBNAME_SUFFIX) 35 | CLIENT_SRCS_EXT = TestI.cpp 36 | SERVER_SRCS_EXT = TestIntfI.cpp 37 | COLLOC_SRCS_EXT = $(SERVER_SRCS_EXT) 38 | TEST_TARGET_EXT = colloc 39 | include $(CLIENTSERVERTEST_RULES) 40 | -------------------------------------------------------------------------------- /cpp/test/Ice/operations/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/operations 12 | TEST_TARGET_EXT = colloc serveramd 13 | CLIENT_SRCS_EXT = Twoways.cpp \ 14 | Oneways.cpp \ 15 | TwowaysAMI.cpp \ 16 | OnewaysAMI.cpp \ 17 | BatchOneways.cpp \ 18 | BatchOnewaysAMI.cpp 19 | include $(CLIENTSERVERTEST_RULES) 20 | -------------------------------------------------------------------------------- /cpp/test/Ice/optional/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/optional 12 | TEST_TARGET_EXT = serveramd 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/plugin/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = client 14 | LOCAL_PATH = cpp/test/Ice/plugin 15 | LOCAL_SRCS = Client.cpp 16 | include $(TEST_APPLICATION_RULES) 17 | 18 | include $(CLEAR_RULES) 19 | LOCAL_MODULE = TestPlugin 20 | LOCAL_PATH = cpp/test/Ice/plugin 21 | LOCAL_LIBDIR = cpp/test/Ice/plugin/plugins 22 | LOCAL_SRCS = Plugin.cpp 23 | include $(TEST_DYNAMICLIBRARY_RULES) 24 | endif 25 | -------------------------------------------------------------------------------- /cpp/test/Ice/properties/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/properties 13 | LOCAL_SRCS = Client.cpp 14 | LOCAL_RESOURCES = config/* 15 | include $(TEST_APPLICATION_RULES) 16 | -------------------------------------------------------------------------------- /cpp/test/Ice/proxy/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/proxy 12 | TEST_TARGET_EXT = colloc serveramd 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/retry/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/retry 12 | TEST_TARGET_EXT = colloc 13 | CLIENT_SRCS_EXT = InstrumentationI.cpp 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/servantLocator/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/servantLocator 12 | TEST_TARGET_EXT = colloc serveramd 13 | TEST_SRCS_EXT = ServantLocatorI.cpp 14 | CLIENT_SRCS_EXCLUDE = $(TEST_SRCS_EXT) 15 | include $(CLIENTSERVERTEST_RULES) 16 | -------------------------------------------------------------------------------- /cpp/test/Ice/services/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/services 13 | LOCAL_SLICES = Test.ice 14 | LOCAL_SRCS = Client.cpp \ 15 | AllTests.cpp 16 | LOCAL_DEPENDENT_MODULES = IceStorm IceGrid Glacier2 17 | include $(TEST_APPLICATION_RULES) 18 | -------------------------------------------------------------------------------- /cpp/test/Ice/slicing/exceptions/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/slicing/exceptions 12 | TEST_TARGET_EXT = serveramd 13 | CLIENT_SLICES_EXT = ClientPrivate.ice 14 | SERVER_SLICES_EXT = ServerPrivate.ice 15 | AMD_SLICES_EXT = ServerPrivateAMD.ice 16 | include $(CLIENTSERVERTEST_RULES) 17 | -------------------------------------------------------------------------------- /cpp/test/Ice/slicing/objects/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/slicing/objects 12 | TEST_TARGET_EXT = serveramd 13 | TEST_SLICES_EXT = Forward.ice 14 | CLIENT_SLICES_EXT = ClientPrivate.ice 15 | SERVER_SLICES_EXT = ServerPrivate.ice 16 | AMD_SLICES_EXT = ServerPrivateAMD.ice 17 | include $(CLIENTSERVERTEST_RULES) 18 | -------------------------------------------------------------------------------- /cpp/test/Ice/stream/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/Ice/stream 13 | LOCAL_SLICES = Test.ice 14 | LOCAL_SRCS = Client.cpp 15 | LOCAL_SLICE2CPPFLAGS = --stream 16 | include $(TEST_APPLICATION_RULES) 17 | -------------------------------------------------------------------------------- /cpp/test/Ice/stringConverter/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/stringConverter 12 | CLIENT_SRCS = Client.cpp 13 | SERVER_SRCS = Server.cpp 14 | include $(CLIENTSERVERTEST_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/Ice/threadPoolPriority/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/threadPoolPriority 12 | include $(CLIENTSERVERTEST_RULES) 13 | 14 | include $(CLEAR_RULES) 15 | LOCAL_EXE = servercustom 16 | LOCAL_PATH = cpp/test/Ice/threadPoolPriority 17 | LOCAL_SLICES = Test.ice 18 | LOCAL_SRCS = ServerCustomThreadPool.cpp \ 19 | TestI.cpp 20 | include $(TEST_APPLICATION_RULES) 21 | -------------------------------------------------------------------------------- /cpp/test/Ice/timeout/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/timeout 12 | CLIENT_SRCS_EXT = TestI.cpp 13 | include $(CLIENTSERVERTEST_RULES) 14 | -------------------------------------------------------------------------------- /cpp/test/Ice/udp/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/Ice/udp 12 | include $(CLIENTSERVERTEST_RULES) 13 | -------------------------------------------------------------------------------- /cpp/test/IceBox/admin/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = client 14 | LOCAL_PATH = cpp/test/IceBox/admin 15 | LOCAL_SLICES = Test.ice 16 | LOCAL_SRCS = Client.cpp AllTests.cpp 17 | include $(TEST_APPLICATION_RULES) 18 | 19 | include $(CLEAR_RULES) 20 | LOCAL_MODULE = TestService 21 | LOCAL_PATH = cpp/test/IceBox/admin 22 | LOCAL_SLICES = Test.ice 23 | LOCAL_SRCS = TestI.cpp Service.cpp 24 | LOCAL_DEPENDENT_DYMODULES = IceBox Ice IceUtil 25 | LOCAL_RESOURCES = config.icebox config.service config.admin 26 | include $(TEST_DYNAMICLIBRARY_RULES) 27 | 28 | endif 29 | -------------------------------------------------------------------------------- /cpp/test/IceBox/configuration/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = client 14 | LOCAL_PATH = cpp/test/IceBox/configuration 15 | LOCAL_SLICES = Test.ice 16 | LOCAL_SRCS = Client.cpp AllTests.cpp 17 | include $(TEST_APPLICATION_RULES) 18 | 19 | include $(CLEAR_RULES) 20 | LOCAL_MODULE = TestService 21 | LOCAL_PATH = cpp/test/IceBox/configuration 22 | LOCAL_SLICES = Test.ice 23 | LOCAL_SRCS = TestI.cpp Service.cpp 24 | LOCAL_DEPENDENT_DYMODULES = IceBox Ice IceUtil 25 | LOCAL_RESOURCES = config.icebox \ 26 | config.icebox2 \ 27 | config.service1 \ 28 | config.service1-2 \ 29 | config.service2 \ 30 | config.service2-2 \ 31 | config.service3 \ 32 | config.service4 33 | include $(TEST_DYNAMICLIBRARY_RULES) 34 | endif -------------------------------------------------------------------------------- /cpp/test/IceDiscovery/simple/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_PATH = cpp/test/IceDiscovery/simple 12 | CLIENT_DEPENDENT_MODULES = IceDiscovery 13 | include $(CLIENTSERVERTEST_RULES) -------------------------------------------------------------------------------- /cpp/test/IceStorm/federation/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/federation 15 | LOCAL_SLICES = Event.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = db 0.db 1.db 2.db 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/federation 24 | LOCAL_SLICES = Event.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | endif 30 | -------------------------------------------------------------------------------- /cpp/test/IceStorm/federation2/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/federation2 15 | LOCAL_SLICES = Event.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = db db2 0.db 0.db2 1.db 1.db2 2.db 2.db2 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/federation2 24 | LOCAL_SLICES = Event.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | endif 30 | -------------------------------------------------------------------------------- /cpp/test/IceStorm/rep1/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/rep1 15 | LOCAL_SLICES = Single.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = 0.db 1.db 2.db 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/rep1 24 | LOCAL_SLICES = Single.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | include $(CLEAR_RULES) 30 | LOCAL_EXE = sub 31 | LOCAL_PATH = cpp/test/IceStorm/rep1 32 | LOCAL_SLICES = Single.ice 33 | LOCAL_SRCS = Sub.cpp 34 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 35 | include $(TEST_APPLICATION_RULES) 36 | 37 | endif 38 | -------------------------------------------------------------------------------- /cpp/test/IceStorm/repstress/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/repstress 15 | LOCAL_SLICES = Single.ice Controller.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = 0.db 1.db 2.db 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/repstress 24 | LOCAL_SLICES = Single.ice Controller.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | include $(CLEAR_RULES) 30 | LOCAL_EXE = control 31 | LOCAL_PATH = cpp/test/IceStorm/repstress 32 | LOCAL_SLICES = Controller.ice 33 | LOCAL_SRCS = Control.cpp 34 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 35 | include $(TEST_APPLICATION_RULES) 36 | 37 | endif 38 | -------------------------------------------------------------------------------- /cpp/test/IceStorm/single/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/single 15 | LOCAL_SLICES = Single.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = db 0.db 1.db 2.db 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/single 24 | LOCAL_SLICES = Single.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | endif 30 | -------------------------------------------------------------------------------- /cpp/test/IceStorm/stress/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | 12 | include $(CLEAR_RULES) 13 | LOCAL_EXE = publisher 14 | LOCAL_PATH = cpp/test/IceStorm/stress 15 | LOCAL_SLICES = Event.ice 16 | LOCAL_SRCS = Publisher.cpp 17 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 18 | LOCAL_RESOURCES = db db2 0.db 0.db2 1.db 1.db2 2.db 2.db2 19 | include $(TEST_APPLICATION_RULES) 20 | 21 | include $(CLEAR_RULES) 22 | LOCAL_EXE = subscriber 23 | LOCAL_PATH = cpp/test/IceStorm/stress 24 | LOCAL_SLICES = Event.ice 25 | LOCAL_SRCS = Subscriber.cpp 26 | LOCAL_DEPENDENT_MODULES = IceStorm Ice IceUtil 27 | include $(TEST_APPLICATION_RULES) 28 | 29 | endif 30 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/condvar/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = workqueue 12 | LOCAL_PATH = cpp/test/IceUtil/condvar 13 | LOCAL_SRCS = WorkQueue.cpp 14 | include $(TEST_APPLICATION_RULES) 15 | 16 | include $(CLEAR_RULES) 17 | LOCAL_EXE = match 18 | LOCAL_PATH = cpp/test/IceUtil/condvar 19 | LOCAL_SRCS = Match.cpp 20 | include $(TEST_APPLICATION_RULES) 21 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/ctrlCHandler/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/ctrlCHandler 13 | LOCAL_SRCS = Client.cpp 14 | include $(TEST_APPLICATION_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/inputUtil/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/inputUtil 13 | LOCAL_SRCS = Client.cpp 14 | include $(TEST_APPLICATION_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/priority/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/priority 13 | LOCAL_SRCS = TestBase.cpp \ 14 | ThreadPriority.cpp \ 15 | TimerPriority.cpp \ 16 | PriorityInversion.cpp \ 17 | TestSuite.cpp \ 18 | Client.cpp 19 | include $(TEST_APPLICATION_RULES) 20 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/sha1/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/sha1 13 | LOCAL_SRCS = Client.cpp 14 | include $(TEST_APPLICATION_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/stacktrace/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | ifeq ($(BUILD_TESTSUITE),dynamic) 11 | include $(CLEAR_RULES) 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/IceUtil/stacktrace 14 | LOCAL_SRCS = Client.cpp 15 | LOCAL_RESOURCES = StackTrace.debug.Linux StackTrace.release.Linux 16 | include $(TEST_APPLICATION_RULES) 17 | endif -------------------------------------------------------------------------------- /cpp/test/IceUtil/thread/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/thread 13 | LOCAL_SRCS = TestBase.cpp \ 14 | CreateTest.cpp \ 15 | AliveTest.cpp \ 16 | StartTest.cpp \ 17 | SleepTest.cpp \ 18 | RecMutexTest.cpp \ 19 | MutexTest.cpp \ 20 | MonitorMutexTest.cpp \ 21 | MonitorRecMutexTest.cpp \ 22 | CountDownLatchTest.cpp \ 23 | TestSuite.cpp \ 24 | Client.cpp 25 | include $(TEST_APPLICATION_RULES) 26 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/timer/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/timer 13 | LOCAL_SRCS = Client.cpp 14 | include $(TEST_APPLICATION_RULES) 15 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/unicode/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | LOCAL_EXE = client 12 | LOCAL_PATH = cpp/test/IceUtil/unicode 13 | LOCAL_SRCS = Client.cpp 14 | LOCAL_RESOURCES = coeur.utf16be \ 15 | coeur.utf16le \ 16 | coeur.utf32be \ 17 | coeur.utf32le \ 18 | coeur.utf8 \ 19 | FDL \ 20 | filename.txt 21 | include $(TEST_APPLICATION_RULES) 22 | -------------------------------------------------------------------------------- /cpp/test/IceUtil/uuid/Makefile.mk: -------------------------------------------------------------------------------- 1 | # ********************************************************************** 2 | # 3 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 4 | # 5 | # This copy of Ice is licensed to you under the terms described in the 6 | # ICE_LICENSE file included in this distribution. 7 | # 8 | # ********************************************************************** 9 | 10 | include $(CLEAR_RULES) 11 | 12 | LOCAL_EXE = client 13 | LOCAL_PATH = cpp/test/IceUtil/uuid 14 | LOCAL_SRCS = Client.cpp 15 | 16 | include $(TEST_APPLICATION_RULES) 17 | -------------------------------------------------------------------------------- /python/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # IcePy 3 | # 4 | ifneq ($(CPP11),yes) 5 | 6 | include $(CLEAR_RULES) 7 | 8 | LOCAL_MODULE = IcePy 9 | LOCAL_PATH = python/python$(PYTHON_BASEVERSION) 10 | 11 | LOCAL_SRCDIR = ice/python/modules/$(LOCAL_MODULE) 12 | LOCAL_SRCS = $(wildcard $(LOCAL_SRCDIR)/*.cpp) 13 | 14 | LOCAL_CPPFLAGS = -I$(LOCAL_SRCDIR) -Icpp/src/Ice -I$(python_include_dir) 15 | LOCAL_DEPENDENT_MODULES = mcpp 16 | LOCAL_DEPENDENT_DYMODULES = IceSSL Ice Slice IceUtil 17 | 18 | LOCAL_LIBDIR = $(LOCAL_PATH) 19 | LOCAL_DYLIBNAME = $(LOCAL_MODULE).so 20 | LOCAL_DYLIBSONAME = $(LOCAL_MODULE).so.$(SOVERSION) 21 | LOCAL_DYLIBFILENAME = $(LOCAL_MODULE).so.$(VERSION) 22 | 23 | LOCAL_INSTALLDIR = $(python_install_dir) 24 | 25 | include $(DYNAMICLIBRARY_RULES) 26 | 27 | METRICS_SLICES = ice/slice/Ice/Metrics.ice ice/slice/Glacier2/Metrics.ice ice/slice/IceStorm/Metrics.ice 28 | 29 | # 30 | # Python Ice module 31 | # 32 | include $(CLEAR_RULES) 33 | LOCAL_PREFIX = Ice_ 34 | LOCAL_SLICEDIR = ice/slice/Ice 35 | LOCAL_SLICES = $(wildcard ice/slice/Ice/*.ice) 36 | include $(ICEE_PYTHON_RULES) 37 | 38 | # 39 | # Python Glacier2 module 40 | # 41 | include $(CLEAR_RULES) 42 | LOCAL_PREFIX = Glacier2_ 43 | LOCAL_SLICEDIR = ice/slice/Glacier2 44 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 45 | include $(ICEE_PYTHON_RULES) 46 | 47 | # 48 | # Python IceBox module 49 | # 50 | include $(CLEAR_RULES) 51 | LOCAL_PACKAGE = IceBox 52 | LOCAL_PREFIX = IceBox_ 53 | LOCAL_SLICEDIR = ice/slice/IceBox 54 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 55 | include $(ICEE_PYTHON_RULES) 56 | 57 | # 58 | # Python IceGrid module 59 | # 60 | include $(CLEAR_RULES) 61 | LOCAL_PACKAGE = IceGrid 62 | LOCAL_PREFIX = IceGrid_ 63 | LOCAL_SLICEDIR = ice/slice/IceGrid 64 | LOCAL_SLICES = $(filter-out $(LOCAL_SLICEDIR)/PluginFacade.ice, $(wildcard $(LOCAL_SLICEDIR)/*.ice)) 65 | include $(ICEE_PYTHON_RULES) 66 | 67 | # 68 | # Python IceStorm module 69 | # 70 | include $(CLEAR_RULES) 71 | LOCAL_PACKAGE = IceStorm 72 | LOCAL_PREFIX = IceStorm_ 73 | LOCAL_SLICEDIR = ice/slice/IceStorm 74 | LOCAL_SLICES = $(wildcard ice/slice/IceStorm/*.ice) 75 | include $(ICEE_PYTHON_RULES) 76 | 77 | # 78 | # Python Ice and Glacier2 79 | # 80 | IcePy: python/python$(PYTHON_BASEVERSION)/Ice.py python/python$(PYTHON_BASEVERSION)/Glacier2.py 81 | 82 | python/python$(PYTHON_BASEVERSION)/Ice.py: 83 | $(E) "Copying Ice package to python/python$(PYTHON_BASEVERSION)/" 84 | $(Q)cp ice/python/python/Ice.py python/python$(PYTHON_BASEVERSION)/ 85 | 86 | python/python$(PYTHON_BASEVERSION)/Glacier2.py: 87 | $(E) "Copying Glacier2 package to python/python$(PYTHON_BASEVERSION)/" 88 | $(Q)cp ice/python/python/Glacier2.py python/python$(PYTHON_BASEVERSION)/ 89 | # 90 | # Python IceMX module 91 | # 92 | IcePy: python/python$(PYTHON_BASEVERSION)/IceMX/__init__.py 93 | 94 | python/python$(PYTHON_BASEVERSION)/IceMX/__init__.py: $(METRICS_SLICES) 95 | $(E) "Generating IceMX package index" 96 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --output-dir python/python$(PYTHON_BASEVERSION) --build-package --ice $(SLICE2PYFLAGS) --prefix Ice_ ice/slice/Ice/Metrics.ice 97 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --output-dir python/python$(PYTHON_BASEVERSION) --build-package --ice $(SLICE2PYFLAGS) --prefix Glacier2_ ice/slice/Glacier2/Metrics.ice 98 | $(Q)LD_LIBRARY_PATH=$(ice_lib_dir):$$LD_LIBRARY_PATH $(SLICE2PY) --output-dir python/python$(PYTHON_BASEVERSION) --build-package --ice $(SLICE2PYFLAGS) --prefix IceStorm_ ice/slice/IceStorm/Metrics.ice 99 | 100 | IceMX_clean: 101 | $(Q)rm -rf python/python$(PYTHON_BASEVERSION)/IceMX 102 | 103 | CLEAN_TARGETS := $(CLEAN_TARGETS) IceMX_clean 104 | 105 | 106 | IcePy_install: IcePy 107 | $(Q)mkdir -p $(DESTDIR)$(python_install_dir) 108 | $(Q)cp -rf python/python$(PYTHON_BASEVERSION)/*.py $(DESTDIR)$(python_install_dir)/ 109 | $(Q)cp -rf python/python$(PYTHON_BASEVERSION)/IceBox $(DESTDIR)$(python_install_dir)/ 110 | $(Q)cp -rf python/python$(PYTHON_BASEVERSION)/IceGrid $(DESTDIR)$(python_install_dir)/ 111 | $(Q)cp -rf python/python$(PYTHON_BASEVERSION)/IceStorm $(DESTDIR)$(python_install_dir)/ 112 | $(Q)cp -rf python/python$(PYTHON_BASEVERSION)/IceMX $(DESTDIR)$(python_install_dir)/ 113 | 114 | INSTALL_TARGETS := $(INSTALL_TARGETS) IcePy_install 115 | 116 | endif -------------------------------------------------------------------------------- /python/allTests.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ********************************************************************** 3 | # 4 | # Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. 5 | # 6 | # This copy of Ice is licensed to you under the terms described in the 7 | # ICE_LICENSE file included in this distribution. 8 | # 9 | # ********************************************************************** 10 | 11 | import os, sys, re, getopt 12 | 13 | path = [ ".", "..", "../..", "../../..", "../../../.." ] 14 | head = os.path.dirname(sys.argv[0]) 15 | if len(head) > 0: 16 | path = [os.path.join(head, p) for p in path] 17 | path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ] 18 | if len(path) == 0: 19 | raise RuntimeError("can't find toplevel directory!") 20 | sys.path.append(os.path.join(path[0], "scripts")) 21 | import TestUtil 22 | 23 | # 24 | # List of all basic tests. 25 | # 26 | tests = [ 27 | ("Slice/keyword", ["once"]), 28 | ("Slice/structure", ["once"]), 29 | ("Slice/macros", ["once"]), 30 | ("Slice/import", ["once"]), 31 | ("Slice/unicodePaths", ["once"]), 32 | ("Ice/adapterDeactivation", ["core"]), 33 | ("Ice/binding", ["core"]), 34 | ("Ice/exceptions", ["core"]), 35 | ("Ice/facets", ["core"]), 36 | ("Ice/faultTolerance", ["core"]), 37 | ("Ice/info", ["core", "noipv6", "nocompress"]), 38 | ("Ice/inheritance", ["core"]), 39 | ("Ice/location", ["core"]), 40 | ("Ice/objects", ["core"]), 41 | ("Ice/proxy", ["core"]), 42 | ("Ice/properties", ["once", "noyocto"]), # This test requires a UTF-8 locale this isn't 43 | # supported with yocto core images. 44 | ("Ice/operations", ["core"]), 45 | ("Ice/slicing/exceptions", ["core"]), 46 | ("Ice/slicing/objects", ["core"]), 47 | ("Ice/custom", ["core"]), 48 | ("Ice/checksum", ["core"]), 49 | ("Ice/timeout", ["core", "nocompress", "nossl"]), # This test relies on the socket send() blocking and 50 | # doesn't work well with old OpenSSL versions. 51 | ("Ice/servantLocator", ["core"]), 52 | ("Ice/blobject", ["core"]), 53 | ("Ice/defaultServant", ["core"]), 54 | ("Ice/defaultValue", ["core"]), 55 | ("Ice/ami", ["core", "nocompress", "nossl"]), # This test relies on the socket send() blocking and 56 | # doesn't work well with old OpenSSL versions. 57 | ("Ice/optional", ["core"]), 58 | ("Ice/enums", ["core"]), 59 | ("Ice/acm", ["core"]) 60 | ] 61 | 62 | if __name__ == "__main__": 63 | TestUtil.run(tests) 64 | -------------------------------------------------------------------------------- /python/test/Slice/import/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Python Ice module 3 | # 4 | ifneq ($(CPP11),yes) 5 | include $(CLEAR_RULES) 6 | LOCAL_PATH = python/test/Slice/import 7 | LOCAL_MODULE = $(subst /,_,$(LOCAL_PATH)) 8 | LOCAL_PACKAGE = Test 9 | LOCAL_SLICEDIR = ice/$(LOCAL_PATH) 10 | LOCAL_SLICE2PYFLAGS = --no-package 11 | LOCAL_SLICES = $(wildcard $(LOCAL_SLICEDIR)/*.ice) 12 | include $(PYTHON_RULES) 13 | 14 | test_compile: $(LOCAL_MODULE) 15 | endif 16 | -------------------------------------------------------------------------------- /python/test/Slice/unicodePaths/Makefile.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Python Ice module 3 | # 4 | ifneq ($(CPP11),yes) 5 | include $(CLEAR_RULES) 6 | LOCAL_PATH = python/test/Slice/unicodePaths 7 | LOCAL_SLICES = 8 | include $(PYTHON_RULES) 9 | 10 | test_compile: $(LOCAL_MODULE) 11 | endif 12 | --------------------------------------------------------------------------------