summaryrefslogtreecommitdiff
path: root/xmlwf/Makefile.in
blob: fa002355877882f5dc003a87dc755828eb095c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
################################################################
# 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.
#

bindir = @bindir@

LIBDIR= ../lib/.libs
INCDIR= ../lib

LDFLAGS= @LDFLAGS@ -static
CFLAGS= @CFLAGS@ -I$(INCDIR)
CC = @CC@

FILEMAP_OBJ= @FILEMAP_OBJ@
OBJS= xmlwf.o xmlfile.o codepage.o $(FILEMAP_OBJ)
LIBS= -L$(LIBDIR) -lexpat

INSTALL = @INSTALL@
INSTALL_PROGRAM = ${INSTALL}
LIBTOOL = @LIBTOOL@
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs

srcdir = @srcdir@
top_builddir = ..
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@


xmlwf: $(OBJS)
	$(CC) -o xmlwf $(LDFLAGS) $(OBJS) $(LIBS)

install: xmlwf
	$(mkinstalldirs) $(bindir)
	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf $(bindir)/xmlwf

uninstall:
	$(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf

check:	$(SUBDIRS)
	@echo
	@echo This package does not yet have a regression test.
	@echo

clean:
	rm -f xmlwf core *.o

distclean: clean
	rm -f Makefile

maintainer-clean: distclean