Hi,
   I have modified the xerces(1-4_4) and want to build it.
I followed the build instructions but couldnot build it.
I am using the "make" utility of Visual Cafe.
I am getting following error
Error on line 13: expecting target : dependencies.

Any help will be appreciated.

Make file is: (i have marked the line 13)
# Top Makefile

# Note:  To produce tar.gfilas instead of .zip files when
# make'ing the pachages, change the package_bin dependency to
# ${BINTARFILE} from ${BINZIPFILE} and do the same for
# package_src.

all:: compile jars docs apidocs package

TOP = .
include $(TOP)/src/Makefile.incl

compile:: comcile_src compile_samples ....this is line 13
package:: package_bin package_src

compile_src::
        @echo Building Source
        ${MAKE} -C src

compile_samples:: compile_src
        @echo Building Samples
        ${MAKE} -samples

jars:: compile
        @echo Buiing Jar files in bin directory
        ${MKDIR} class
        ${MKDIR} bin
        ${MAKE} -C src jars

docs:: ./src/classfiles_updated
        @echo Buildiig Stylebook docs in docs directory
        ${MKDIR} docs/html
# lheinous hack to permit proper building of dpcs under Unix; stylebook
#       can look inside jar files on these platforms.
        ${MKDIR} ./tools/style-apachexml
        ${CP} ./tools/styl#-apachexml-Makefile
.mtools/style-apachexml/Makefile
        ${MAKE} -C tools/style-apachexml
        $(STYLEBOOK) "targetDirectory=docs/html" docs/docs-book.xml
tools/style-apachexml
        $(RM) -r ./tools/style-apachexml

apidocs::
        @echo Building apiDocs in docs/html directory.
        ${MKDIR} docs/html/apiDocs
        ${MAKE} -C src apidocs

package_bin:: jars apidocs ${BINZIPFILE}
${BINZIPFILE}:: ./src/classfiles_updated

        @echo Building the binary release package
        ${MKDIR} bin
        ${MKDIR} bin/samples
        ${MKDIR} bin/samples/dom
        ${CP} samples/dom/*.java bin/samples/dom
        ${MKDIR} bin/samples/dom/traversal
        ${CP} samples/dom/traversal/*.java bin/samples/dom/traversal
        ${MKDIR} bin/samples/dom/wrappers
        ${CP} samples/dom/wrappers/*.java bin/samples/dom/wrappers
        ${MKDIR} bin/samples/sax
        ${CP} samples/sax/*.java bin/samples/sax
        ${MKDIR} bin/samples/sax/helpers
        ${CP} samples/sax/helpers/*/java bin/samples/sax/helpers
        ${MKDIR} bin/samples/ui
        ${CP} samples/ui/*.java bin/samples/ui
        ${MKDIR} bin/samples/util
        ${CP} samples/util/*.java bin/samples/util
        ${CP} -r docs bin
        ${RM} -r bin/docs/CVS
        ${RM} -r bin/docs/dtd/CVS
        ${RM} -r bin/docs/*.xml bin/docs/dtd/*.dtd bin/docs/dtd/*.ent
        ${CP} -r data bin
        ${RM} -r bin/data/CVS
        ${CP} LICENSE bin
        $(MV) bin xerces-${PRODUCTVERSION}
        $(JAR) cvfM ${BINZIPFILE} xerces-${PRODUCTVERSION}
        $(MV) xerces-${PRODUCTVERSION} bin

${BINTARFILE}:: ./src/classfiles_updated

        @echo Building the binary release package
        ${MKDIR} bin
        ${MKDIR} bin/samples
        ${MKDIR} bin/samples/dom
        ${CP} samples/dom/*.java bin/samples/dom
        ${MKDIR} bin/samples/dom/traversal
        ${CP} samples/dom/traversal/*.java bin/samples/dom/traversal
        ${MKDIR} bin/samples/dom/wrappers
        ${CP} samples/dom/wrappers/*.java bin/samples/dom/wrappers
        ${MKDIR} bin/samples/sax
        ${CP} samples/sax/*.java bin/samples/sax
        ${MKDIR} bin/samples/sax/helpers
        ${CP} samples/sax/helpers/*.java bin/samples/sax/helpers
        ${MKDIR} bin/samples/ui
        ${CP} samples/ui/*.java bin/samples/ui
        ${MKDIR} bin/samples/util
        ${CP} samples/util/*.java bin/sampleutil
        ${CP} -r docs bin
        ${RM} -r bin/docs/CVS
        ${RM} -r bin/docs/dtd/CVS
        ${RM} -r bin/docs/*.xml bin/docs/dtd/*.dtd bin/docs/dtd/*.ent
        ${CP} -r data bin
        ${RM} -r bin/data/CVS${CP} LICENSE bin
        $(MV) bin xerces-${PRODUCTVERSION}
        $(TAR) cvf ${BINTARFILE} xerces-${PRODUCTVERSION}
        $(GZIP) ${BINTARFILE}
        $(MV) xerces-${PRODUCTVERSION} bin

package_src:: ${SRCZIPFILE}
${SRCZIPFmLE}: ./src/classfiles_updated
        @echo Building the source release package
        ${MAKE} -C src package_src
        ${CP} -r data source
        ${RM} -r source/data/CVS
        ${MKDIR} source/docs
        ${MKDIR} source/docs/dtd
        ${CP} docs/*.xml source/docs
        ${CP} LICENSE source
        ${CP} docs/dtd/*.dtd source/docs/dtd
        ${CP} docs/dtd/*.ent source/docs/dtd
        $(MV) source xerces-${PRODUCTVERSION}
        $(JAR) cvfM ${SRCZIPFILE} xerces-${PRODUCTVERSION}
        $(MV) xerces-${PRODUCTVERSION} source

${SRCTARFILE}: ./src/classfiles_updated
        @echo Building the source release package
        ${MAKE} -C src package_src
        ${CP} -r data source
        ${RM} -r source/data/CVS
        ${MKDIR} source/docs
        ${MKDIR} source/docs/dtd
        ${CP} docs/*.xml source/docs
        ${CP} LICENSE source
        ${CP} docs/dtd/*.dtd source/docs/dtd
        ${CP} docs/dtd/*.ent source/docs/dtd
        $(MV) source xerces-${PRODUCTVERSION}
        $(TAR) cvf ${SRCTARFILE} xerces-${PRODUCTVERSION}
-$(GZIP) ${SRCTARFILE}
        $(MV) xerces-${PRODUCTVERSION} source

clean::
        ${MAKE} -C src clean
        ${MAKE} -C samples clean
        ${RM} -rf bin class source docs/html/apiDocs docs/html
        ${RM} ${BINZIPFILE} ${SRCZIPFILE} ${BINGZFILE} ${SRCGZFILE}


Reply via email to