summaryrefslogtreecommitdiff
path: root/ACEXML/common/Makefile.XML_Common
blob: 1ea2e0d262a35635aa0825c007344d277e7a8871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#----------------------------------------------------------------------------
#       GNU Makefile
#----------------------------------------------------------------------------
MAKEFILE        = Makefile.XML_Common
DEPENDENCY_FILE = .depend.Makefile.XML_Common
LIB_UNCHECKED   = libACEXML.a
SHLIB_UNCHECKED = libACEXML.$(SOEXT)



FILES = \
  SAXExceptions \
  Attributes_Def_Builder \
  AttributesImpl \
  Transcode \
  Mem_Map_Stream \
  Validator \
  Exception \
  CharStream \
  XMLFilterImpl \
  InputSource \
  LocatorImpl \
  NamespaceSupport \
  URL_Addr \
  StrCharStream \
  DTD_Manager \
  DefaultHandler \
  Env \
  FileCharStream \
  Element_Def_Builder \
  StreamFactory \
  HttpCharStream \
  ZipCharStream \
  Encoding \
  XML_Codecs
#----------------------------------------------------------------------------
#       Include macros and targets
#----------------------------------------------------------------------------

LIB   = $(LIB_UNCHECKED)
SHLIB = $(SHLIB_UNCHECKED)

include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
LSRC   = $(addsuffix .cpp, $(FILES))
ACELIB = -lACE

include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU

CPPFLAGS     += -I../..
ifeq ($(shared_libs),1)
  ifneq ($(SHLIB),)
    CPPFLAGS += -DACEXML_BUILD
  endif
endif
ifeq ($(static_libs),1)
  ifneq ($(LIB),)
    CPPFLAGS += -DACE_AS_STATIC_LIBS
  endif
endif


LDFLAGS      += -L../../ace

ACE_SHLIBS  = -lz -lzzip $(ACELIB)

#----------------------------------------------------------------------------
#       Local targets
#----------------------------------------------------------------------------

realclean: clean