home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / tools / gencol / Makefile.in < prev   
Encoding:
Makefile  |  1999-11-11  |  2.5 KB  |  118 lines

  1. ## Makefile.in for ICU - tools/gencol
  2. ## Stephen F. Booth
  3.  
  4. ## Shell to use
  5. SHELL = @SHELL@
  6.  
  7. ## Install directory information
  8. srcdir = @srcdir@
  9. top_srcdir = @top_srcdir@
  10. prefix = @prefix@
  11. exec_prefix = @exec_prefix@
  12.  
  13. bindir = @bindir@
  14. sbindir = @sbindir@
  15. datadir = @datadir@
  16. libdir = @libdir@
  17. includedir = @includedir@
  18.  
  19. pkgdatadir = $(datadir)/@PACKAGE@
  20. pkglibdir = $(libdir)/@PACKAGE@
  21. pkgincludedir = $(includedir)/@PACKAGE@
  22.  
  23. ## Install program information
  24. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  25.  
  26. INSTALL = @INSTALL@
  27. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  28. INSTALL_DATA = @INSTALL_DATA@
  29.  
  30. ## Compiler/tools information
  31. CC = @CC@
  32. CXX = @CXX@
  33. PACKAGE = @PACKAGE@
  34. VERSION = @VERSION@
  35.  
  36. ## Platform-specific setup
  37. @host_frag@
  38.  
  39. ## Build directory information
  40. top_builddir = ../..
  41. subdir = tools/gencol
  42.  
  43. ## Extra files to remove for 'make clean'
  44. CLEANFILES = *~
  45.  
  46. ## Target information
  47. TARGET = gencol
  48.  
  49. DEFS = @DEFS@
  50. CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/common -I$(top_srcdir)/i18n
  51. CFLAGS = @CFLAGS@
  52. CXXFLAGS = @CXXFLAGS@
  53. LDFLAGS = @LDFLAGS@ \
  54. $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/common@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/i18n
  55. LIBS = $(LIBICU-I18N) $(LIBICU-UC) @LIBS@ @LIB_M@
  56.  
  57. OBJECTS = gencol.o
  58.  
  59. DEPS = $(OBJECTS:.o=.d)
  60.  
  61. ## List of phony targets
  62. .PHONY : all all-local install install-local clean clean-local        \
  63. distclean distclean-local target-clean-local dist dist-local check    \
  64. check-local
  65.  
  66. ## Clear suffix list
  67. .SUFFIXES :
  68.  
  69. ## List of standard targets
  70. all: all-local
  71. install: install-local
  72. clean: clean-local
  73. distclean : distclean-local
  74. dist: dist-local
  75. check: check-local
  76.  
  77. all-local: $(TARGET)
  78.     @echo "Creating binary collation files (may take a while)"
  79.     @echo -n $(subst ../,/,$(top_builddir)/../data/) >ENV:ICU_DATA
  80.     @./$(TARGET) > /dev/null 2>&1
  81.     @rm ENV:ICU_DATA
  82.  
  83. install-local: target-clean-local all-local
  84. #    $(mkinstalldirs) $(sbindir)
  85. #    $(INSTALL) $(TARGET) $(sbindir)/$(TARGET)
  86.     $(mkinstalldirs) $(pkgdatadir)/$(VERSION)
  87.     cp $(top_srcdir)/../data/*.col $(pkgdatadir)/$(VERSION)
  88.  
  89. dist-local:
  90.  
  91. target-clean-local:
  92.     rm -f $(TARGET)
  93.  
  94. clean-local: target-clean-local
  95.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  96.     rm -f $(OBJECTS)
  97.  
  98. distclean-local: clean-local
  99.     rm -f Makefile $(DEPS) $(CNV_FILES)
  100.     rm -f $(top_srcdir)/../data/*.col
  101.  
  102. check-local:
  103.  
  104. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  105.     cd $(top_builddir) \
  106.      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  107.  
  108. $(TARGET) : $(OBJECTS)
  109.     $(LINK.c) -o $@ $^ $(LIBS)
  110.  
  111. ifneq ($(MAKECMDGOALS),distclean)
  112. -include $(DEPS)
  113. endif
  114.  
  115.  
  116.  
  117.  
  118.