Makefile.in 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. ################################################################
  2. # Process this file with top-level configure script to produce Makefile
  3. #
  4. # Copyright 2000 Clark Cooper
  5. #
  6. # This file is part of EXPAT.
  7. #
  8. # EXPAT is free software; you can redistribute it and/or modify it
  9. # under the terms of the License (based on the MIT/X license) contained
  10. # in the file COPYING that comes with this distribution.
  11. #
  12. # EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  15. # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  16. # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  17. # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  18. # SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
  19. #
  20. SHELL = @SHELL@
  21. srcdir = @srcdir@
  22. top_srcdir = @top_srcdir@
  23. VPATH = @srcdir@
  24. prefix = @prefix@
  25. exec_prefix = @exec_prefix@
  26. blddir = @blddir@/lib
  27. bindir = @bindir@
  28. sbindir = @sbindir@
  29. libexecdir = @libexecdir@
  30. datadir = @datadir@
  31. sysconfdir = @sysconfdir@
  32. sharedstatedir = @sharedstatedir@
  33. localstatedir = @localstatedir@
  34. libdir = @libdir@
  35. infodir = @infodir@
  36. mandir = @mandir@
  37. includedir = @includedir@
  38. oldincludedir = /usr/include
  39. subdir = lib
  40. top_builddir = ..
  41. INSTALL = @INSTALL@
  42. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  43. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  44. INSTALL_DATA = @INSTALL_DATA@
  45. host_alias = @host_alias@
  46. host_triplet = @host@
  47. AS = @AS@
  48. CC = @CC@
  49. DLLTOOL = @DLLTOOL@
  50. LIBTOOL = @LIBTOOL@
  51. LN_S = @LN_S@
  52. OBJDUMP = @OBJDUMP@
  53. PACKAGE = @PACKAGE@
  54. RANLIB = @RANLIB@
  55. VERSION = @VERSION@
  56. LIBRARY = libexpat.la
  57. SOURCES = xmlparse.c xmltok.c xmlrole.c
  58. OBJECTS = $(SOURCES:.c=.o)
  59. LTOBJECTS = $(SOURCES:.c=.lo)
  60. TEMPLATES = xmltok_impl.c xmltok_ns.c
  61. APIHEADER = expat.h
  62. HEADERS = ascii.h iasciitab.h utf8tab.h xmltok.h asciitab.h latin1tab.h \
  63. nametab.h xmldef.h xmlrole.h xmltok_impl.h
  64. mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
  65. CONFIG_HEADER = ../config.h
  66. CONFIG_CLEAN_FILES =
  67. INCLUDES = -I$(srcdir) -I.. -I$(blddir)
  68. DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"'
  69. CPPFLAGS = @CPPFLAGS@
  70. LDFLAGS = @LDFLAGS@
  71. LIBS = @LIBS@
  72. CFLAGS = @CFLAGS@
  73. LIBREVISION = @LIBREVISION@
  74. LIBCURRENT = @LIBCURRENT@
  75. LIBAGE = @LIBAGE@
  76. COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  77. LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  78. CCLD = $(CC)
  79. LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@
  80. DIST_COMMON = Makefile.in
  81. DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS)
  82. TAR = gtar
  83. GZIP_ENV = --best
  84. all: $(LIBRARY)
  85. .SUFFIXES: .c .lo .o
  86. .PHONY: all clean distclean maintainer-clean
  87. .c.o:
  88. $(COMPILE) -c $<
  89. .c.lo:
  90. $(LTCOMPILE) -c $<
  91. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  92. cd $(top_builddir) \
  93. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  94. $(top_builddir)/config.status: $(top_builddir)/configure
  95. cd $(top_builddir) && $(MAKE) config.status
  96. $(top_builddir)/config.h: $(top_builddir)/config.h.in
  97. cd $(top_builddir) && $(MAKE) config.h
  98. clean:
  99. rm -f $(LIBRARY) *.o *.lo *~
  100. rm -rf .libs _libs
  101. distclean: clean
  102. rm -f Makefile expat.h
  103. maintainer-clean: distclean
  104. install: $(LIBRARY) $(APIHEADER)
  105. $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
  106. $(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(DESTDIR)$(libdir)/$(LIBRARY)
  107. $(INSTALL_DATA) $(APIHEADER) $(DESTDIR)$(includedir)
  108. uninstall:
  109. $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(LIBRARY);
  110. rm -f $(DESTDIR)$(libdir)/$(APIHEADER)
  111. $(LIBRARY): $(LTOBJECTS)
  112. $(LINK) -rpath $(libdir) $(LDFLAGS) $(LTOBJECTS)
  113. xmlparse.o \
  114. xmlparse.lo: xmlparse.c expat.h xmlrole.h xmltok.h $(top_builddir)/config.h
  115. xmlrole.o \
  116. xmlrole.lo: xmlrole.c ascii.h xmlrole.h $(top_builddir)/config.h
  117. xmltok.o \
  118. xmltok.lo: xmltok.c xmltok_impl.c xmltok_ns.c \
  119. ascii.h asciitab.h iasciitab.h latin1tab.h nametab.h utf8tab.h \
  120. xmltok.h xmltok_impl.h $(top_builddir)/config.h