2001-02-28 23:28:27 -05:00
|
|
|
################################################################
|
|
|
|
# Process this file with top-level configure script to produce Makefile
|
|
|
|
#
|
|
|
|
# Copyright 2000 Clark Cooper
|
|
|
|
#
|
|
|
|
# This file is part of EXPAT.
|
|
|
|
#
|
|
|
|
# EXPAT is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the License (based on the MIT/X license) contained
|
|
|
|
# in the file COPYING that comes with this distribution.
|
|
|
|
#
|
|
|
|
# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
|
|
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
|
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
|
|
|
|
#
|
|
|
|
|
2001-07-25 11:23:08 -04:00
|
|
|
bindir = @bindir@
|
|
|
|
|
2000-09-18 12:26:23 -04:00
|
|
|
LIBDIR= ../lib/.libs
|
|
|
|
INCDIR= ../lib
|
|
|
|
|
2001-02-28 23:28:27 -05:00
|
|
|
LDFLAGS= @LDFLAGS@ -static
|
2000-09-18 12:26:23 -04:00
|
|
|
CFLAGS= @CFLAGS@ -I$(INCDIR)
|
2001-07-25 13:51:40 -04:00
|
|
|
CC = @CC@
|
2000-09-18 12:26:23 -04:00
|
|
|
|
|
|
|
FILEMAP_OBJ= @FILEMAP_OBJ@
|
|
|
|
OBJS= xmlwf.o xmlfile.o codepage.o $(FILEMAP_OBJ)
|
|
|
|
LIBS= -L$(LIBDIR) -lexpat
|
|
|
|
|
2001-07-25 11:23:08 -04:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = ${INSTALL}
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
|
|
|
|
|
2001-02-28 23:28:27 -05:00
|
|
|
srcdir = @srcdir@
|
2001-07-25 11:23:08 -04:00
|
|
|
top_builddir = ..
|
2001-02-28 23:28:27 -05:00
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
2001-07-25 11:23:08 -04:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2001-02-28 23:28:27 -05:00
|
|
|
|
|
|
|
|
2000-09-18 12:26:23 -04:00
|
|
|
xmlwf: $(OBJS)
|
2000-09-28 15:47:35 -04:00
|
|
|
$(CC) -o xmlwf $(LDFLAGS) $(OBJS) $(LIBS)
|
|
|
|
|
2001-07-25 11:23:08 -04:00
|
|
|
install: xmlwf
|
|
|
|
$(mkinstalldirs) $(bindir)
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf $(bindir)/xmlwf
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
$(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf
|
|
|
|
|
2001-07-24 23:05:22 -04:00
|
|
|
check: $(SUBDIRS)
|
|
|
|
@echo
|
|
|
|
@echo This package does not yet have a regression test.
|
|
|
|
@echo
|
|
|
|
|
2000-09-28 15:47:35 -04:00
|
|
|
clean:
|
2001-02-28 23:28:27 -05:00
|
|
|
rm -f xmlwf core *.o
|
2001-07-24 23:05:22 -04:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|