Newer
Older
monitord / xmlParser / makefile
  1. # *
  2. # ****************************************************************************
  3. # * <P> XML.c - implementation file for basic XML parser written in ANSI C++
  4. # * for portability.
  5. # * It works by using recursion and a node tree for breaking down the elements
  6. # * of an XML document. </P>
  7. # *
  8. # * @version V2.23
  9. # *
  10. # * @author Frank Vanden Berghen
  11. # * based on original implementation by Martyn C Brown
  12. # *
  13. # * BSD license:
  14. # * Copyright (c) 2002, Frank Vanden Berghen
  15. # * All rights reserved.
  16. # * Redistribution and use in source and binary forms, with or without
  17. # * modification, are permitted provided that the following conditions are met:
  18. # *
  19. # * * Redistributions of source code must retain the above copyright
  20. # * notice, this list of conditions and the following disclaimer.
  21. # * * Redistributions in binary form must reproduce the above copyright
  22. # * notice, this list of conditions and the following disclaimer in the
  23. # * documentation and/or other materials provided with the distribution.
  24. # * * Neither the name of the Frank Vanden Berghen nor the
  25. # * names of its contributors may be used to endorse or promote products
  26. # * derived from this software without specific prior written permission.
  27. # *
  28. # * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
  29. # * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  30. # * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  31. # * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
  32. # * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  33. # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  34. # * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  35. # * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  36. # * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  37. # * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. # *
  39. # ****************************************************************************
  40. #
  41. #makefile for the xmlParser library
  42. #
  43. all : xmlEasyTest xmlTest xmlTestUnicode
  44.  
  45. #GPP=/opt/intel/cc/9.1.039/bin/icpc
  46. GPP=g++
  47.  
  48. xmlEasyTest : xmlParser.cpp xmlParser.h xmlTest.cpp
  49. $(GPP) -g -Wall -DXML_NO_WIDE_CHAR -o xmlEasyTest \
  50. xmlParser.cpp xmlTest.cpp
  51. xmlTest : xmlParser.cpp xmlParser.h xmlTest.cpp
  52. $(GPP) -g -Wall -o xmlTest \
  53. xmlParser.cpp xmlTest.cpp
  54. xmlTestUnicode : xmlParser.cpp xmlParser.h xmlTestUnicode.cpp
  55. $(GPP) -g -Wall -D_UNICODE -DUNICODE -o xmlTestUnicode \
  56. xmlParser.cpp xmlTestUnicode.cpp
  57.  
  58. clean:
  59. -@rm xmlEasyTest >/dev/null 2>/dev/null
  60. -@rm xmlTest >/dev/null 2>/dev/null
  61. -@rm xmlTestUnicode >/dev/null 2>/dev/null
  62. -@rm test.xml >/dev/null 2>/dev/null
  63. -@rm testUnicode.xml >/dev/null 2>/dev/null
  64. -@rm outputTestUTF8.xml >/dev/null 2>/dev/null
  65. -@rm *~ >/dev/null 2>/dev/null
  66. @echo "Clean OK."