# Generated automatically from Makefile.in by configure.
#
# Copyright 2003,2004 The Apache Software Foundation.
# 
# Licensed 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.
#
#
#
# $Log$
# Revision 1.5  2005/04/05 09:21:56  gareth
# Fix for jira 1397. *Much* nicer make output. Thanks to Axel Weib.
#
# Revision 1.4  2004/09/08 13:56:07  peiyongz
# Apache License Version 2.0
#
# Revision 1.3  2004/08/11 18:40:04  peiyongz
# XSValue
#
# Revision 1.2  2004/07/09 16:11:32  peiyongz
# Build on HP-Itanium, aCC A.05.52
#
# Revision 1.1  2003/09/16 14:33:36  neilg
# PSVI/schema component model classes, with Makefile/configuration changes necessary to build them
#

PLATFORM = LINUX
CC  = gcc
CXX = g++
CXXVER = 
GCC = yes
GXX = yes
CXXFLAGS =   -g -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET  
CFLAGS =   -g -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET   
PREFIX = /home/gmf/build/dbxml-2.3.11/dbxml-2.3.10/install
PREFIX_INCLUDE = ${PREFIX}/include/xercesc
LDFLAGS =    
LIBS =   -lpthread 
OSVER = 
USELIBWWW = 
MESSAGELOADER = INMEM
TRANSCODER = NATIVE
THREADS = pthread

include ../../Makefile.incl

MODULE = framework
SUBMODULE = psvi

PSVI_CPP_PUBHEADERS = \
	PSVIAttribute.hpp \
	PSVIAttributeList.hpp \
	PSVIElement.hpp \
	PSVIHandler.hpp \
	PSVIItem.hpp \
	XSAnnotation.hpp \
	XSAttributeDeclaration.hpp \
	XSAttributeGroupDefinition.hpp \
	XSAttributeUse.hpp \
	XSComplexTypeDefinition.hpp \
	XSConstants.hpp \
	XSElementDeclaration.hpp \
	XSFacet.hpp \
	XSIDCDefinition.hpp \
	XSModel.hpp \
	XSModelGroup.hpp \
	XSModelGroupDefinition.hpp \
	XSMultiValueFacet.hpp \
	XSNamedMap.hpp \
	XSNamespaceItem.hpp \
	XSNotationDeclaration.hpp \
	XSObject.hpp \
	XSParticle.hpp \
	XSSimpleTypeDefinition.hpp \
	XSTypeDefinition.hpp \
	XSValue.hpp \
	XSWildcard.hpp 

PSVI_C_FILES = \
	XSNamedMap.c

PSVI_CPP_OBJECTS = \
	PSVIAttribute.$(TO) \
	PSVIAttributeList.$(TO) \
	PSVIElement.$(TO) \
	PSVIItem.$(TO) \
	XSAnnotation.$(TO) \
	XSAttributeDeclaration.$(TO) \
	XSAttributeGroupDefinition.$(TO) \
	XSAttributeUse.$(TO) \
	XSComplexTypeDefinition.$(TO) \
	XSIDCDefinition.$(TO) \
	XSElementDeclaration.$(TO) \
	XSFacet.$(TO) \
	XSModel.$(TO) \
	XSModelGroup.$(TO) \
	XSModelGroupDefinition.$(TO) \
	XSMultiValueFacet.$(TO) \
	XSNamespaceItem.$(TO) \
	XSNotationDeclaration.$(TO) \
	XSObject.$(TO) \
	XSParticle.$(TO) \
	XSSimpleTypeDefinition.$(TO) \
	XSTypeDefinition.$(TO) \
	XSValue.$(TO) \
	XSWildcard.$(TO) 

all::	includes $(PSVI_CPP_OBJECTS)

includes::	pubheaders $(PSVI_C_FILES)

pubheaders::
	$Qmkdir -p $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)
	@echo "  (CP)  $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)"
	$Q$(CP) $(PSVI_CPP_PUBHEADERS) $(PSVI_C_FILES) $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)

# 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)/$(SUBMODULE) ..."
	$(RM2) $(addprefix $(XML_OBJ_DIR)/,$(PSVI_CPP_OBJECTS))

distclean::	clean
	$(RM) Makefile $(DEPFILE)
	@echo "Removing all $(MODULE)/$(SUBMODULE) header files ..."
	$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)/,$(PSVI_CPP_PUBHEADERS))
	$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)/,$(PSVI_C_FILES))

install::
	-mkdir -p $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)/$(SUBMODULE)
	$(CP) $(PSVI_CPP_PUBHEADERS) $(PSVI_C_FILES) $(DESTDIR)$(PREFIX_INCLUDE)/$(MODULE)/$(SUBMODULE)
