blob: cb6069f662e35e837c45c36ba49e70e3defe78d9 [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 = sax2
SAX2_CPP_PUBHEADERS = \
Attributes.hpp \
ContentHandler.hpp \
DefaultHandler.hpp \
LexicalHandler.hpp \
DeclHandler.hpp \
SAX2XMLReader.hpp \
SAX2XMLFilter.hpp \
XMLReaderFactory.hpp
SAX2_CPP_PRIVHEADERS =
SAX2_C_FILES =
SAX2_CPP_OBJECTS = \
sax2Dummy.$(TO)
all:: includes $(SAX2_CPP_OBJECTS)
includes:: pubheaders $(SAX2_C_FILES)
pubheaders::
$Qmkdir -p $(XML_INC_DIR)/$(MODULE)
@echo " (CP) $(XML_INC_DIR)/$(MODULE)"
$(CP) $(SAX2_CPP_PUBHEADERS) $(SAX2_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)/,$(SAX2_CPP_OBJECTS))
distclean:: clean
$(RM) Makefile $(DEPFILE)
@echo "Removing all $(MODULE) header files ..."
$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/,$(SAX2_CPP_PUBHEADERS))
install::
-mkdir -p $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)
$(CP) $(SAX2_CPP_PUBHEADERS) $(SAX2_C_FILES) $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)