blob: 99d8b359787916adac541bd22a3df0ce3c670029 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
#
# $Id: Makefile.in 570129 2007-08-27 14:10:51Z amassari $
#
PLATFORM = @platform@
CC = @cc@
CXX = @cxx@
CXXVER = @cxxver@
GCC = @GCC@
GXX = @GXX@
CXXFLAGS = @cxxflags@
CFLAGS = @cflags@
PREFIX = @prefix@
PREFIX_INCLUDE = @prefix_include@
LDFLAGS = @ldflags@
LIBS = @libs@
OSVER = @osver@
USELIBWWW = @uselibwww@
MESSAGELOADER = @messageloader@
TRANSCODER = @transcoder@
THREADS = @threads@
LIBTYPE = @libtype@
ARCH = @host_cpu@
include ../Makefile.incl
MODULE = parsers
PARSERS_CPP_PUBHEADERS = \
AbstractDOMParser.hpp \
DOMBuilderImpl.hpp \
XercesDOMParser.hpp \
SAXParser.hpp \
SAX2XMLReaderImpl.hpp \
SAX2XMLFilterImpl.hpp
PARSERS_CPP_PRIVHEADERS =
PARSERS_C_FILES =
PARSERS_CPP_OBJECTS = \
AbstractDOMParser.$(TO) \
DOMBuilderImpl.$(TO) \
XercesDOMParser.$(TO) \
SAXParser.$(TO) \
SAX2XMLReaderImpl.$(TO) \
SAX2XMLFilterImpl.$(TO)
XML_INCL := $(XML_INCL) -I$(XERCESCROOT)/src
all:: includes $(PARSERS_CPP_OBJECTS)
includes:: pubheaders $(PARSERS_C_FILES)
pubheaders::
$Qmkdir -p $(XML_INC_DIR)/$(MODULE)
@echo " (CP) $(XML_INC_DIR)/$(MODULE)"
$Q$(CP) $(PARSERS_CPP_PUBHEADERS) $(PARSERS_C_FILES) $(XML_INC_DIR)/$(MODULE)
# this may generate unnecessary dependencies, but it makes life easier
depend:: includes
@echo " (DEP)"
$Q$(MAKE_DEPEND) $(XML_INCL) *.cpp > $(DEPFILE)
clean::
@echo "Making clean in $(MODULE) ..."
$(RM2) $(addprefix $(XML_OBJ_DIR)/,$(PARSERS_CPP_OBJECTS))
distclean:: clean
$(RM) Makefile $(DEPFILE)
@echo "Removing all $(MODULE) header files ..."
$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/,$(PARSERS_CPP_PUBHEADERS))
install::
-mkdir -p $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)
$(CP) $(PARSERS_CPP_PUBHEADERS) $(PARSERS_C_FILES) $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)