ccimake.c 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $TOG: ccimake.c /main/16 1998/02/06 11:02:20 kaleb $ */
  24. /*
  25. Copyright (c) 1993, 1994, 1998 The Open Group
  26. All Rights Reserved.
  27. The above copyright notice and this permission notice shall be included in
  28. all copies or substantial portions of the Software.
  29. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  30. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  31. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  32. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  33. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  34. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  35. Except as contained in this notice, the name of the The Open Group shall not be
  36. used in advertising or otherwise to promote the sale, use or other dealings
  37. in this Software without prior written authorization from The Open Group .
  38. */
  39. /*
  40. * Warning: This file must be kept as simple as posible so that it can
  41. * compile without any special flags on all systems. Do not touch it unless
  42. * you *really* know what you're doing. Make changes in imakemdep.h, not here.
  43. */
  44. #define CCIMAKE /* only get imake_ccflags definitions */
  45. #include "imakemdep.h" /* things to set when porting imake */
  46. #ifndef imake_ccflags
  47. #define imake_ccflags "-O"
  48. #endif
  49. #include <stdlib.h>
  50. #include <unistd.h>
  51. int main(void)
  52. {
  53. ssize_t ret = write(1, imake_ccflags, sizeof(imake_ccflags) - 1);
  54. return EXIT_SUCCESS;
  55. }