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

  1. ## Makefile.in for ICU - tools/makeconv
  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/makeconv
  42.  
  43. ## Extra files to remove for 'make clean'
  44. CLEANFILES = *~
  45.  
  46. ## Target information
  47. TARGET = makeconv
  48.  
  49. DEFS = @DEFS@
  50. CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/common
  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
  55. LIBS = $(LIBICU-UC) @LIBS@ @LIB_M@
  56.  
  57. OBJECTS = makeconv.o
  58.  
  59. DEPS = $(OBJECTS:.o=.d)
  60.  
  61. ## List of converter tables to build
  62. UCM_SOURCE = ibm-1038.ucm ibm-1047.ucm ibm-1089.ucm ibm-1123.ucm    \
  63. ibm-1140.ucm ibm-1141.ucm ibm-1142.ucm ibm-1143.ucm ibm-1144.ucm    \
  64. ibm-1145.ucm ibm-1146.ucm ibm-1147.ucm ibm-1148.ucm ibm-1149.ucm    \
  65. ibm-1153.ucm ibm-1154.ucm ibm-1155.ucm ibm-1156.ucm ibm-1157.ucm    \
  66. ibm-1158.ucm ibm-1159.ucm ibm-1160.ucm ibm-1164.ucm ibm-1252.ucm    \
  67. ibm-12712.ucm ibm-1275.ucm ibm-1276.ucm ibm-1277.ucm ibm-1280.ucm    \
  68. ibm-1281.ucm ibm-1282.ucm ibm-1283.ucm ibm-1361.ucm ibm-1362.ucm    \
  69. ibm-1363.ucm ibm-1364.ucm ibm-1370.ucm ibm-1371.ucm ibm-1383.ucm    \
  70. ibm-1386.ucm ibm-1390.ucm ibm-1399.ucm ibm-16684.ucm ibm-16804.ucm    \
  71. ibm-17248.ucm ibm-21427.ucm ibm-420.ucm ibm-424.ucm ibm-437.ucm        \
  72. ibm-4899.ucm ibm-4909.ucm ibm-4930.ucm ibm-4971.ucm ibm-5104.ucm    \
  73. ibm-5123.ucm ibm-5210.ucm ibm-5346.ucm ibm-5347.ucm ibm-5349.ucm    \
  74. ibm-5350.ucm ibm-5351.ucm ibm-5352.ucm ibm-5353.ucm ibm-5354.ucm    \
  75. ibm-803.ucm ibm-808.ucm ibm-813.ucm ibm-834.ucm ibm-848.ucm        \
  76. ibm-8482.ucm ibm-849.ucm ibm-852.ucm ibm-855.ucm ibm-856.ucm        \
  77. ibm-857.ucm ibm-858.ucm ibm-859.ucm ibm-860.ucm ibm-861.ucm        \
  78. ibm-863.ucm ibm-864.ucm ibm-865.ucm ibm-866.ucm ibm-867.ucm        \
  79. ibm-868.ucm ibm-869.ucm ibm-872.ucm ibm-874.ucm ibm-878.ucm        \
  80. ibm-901.ucm ibm-902.ucm ibm-9027.ucm ibm-9044.ucm ibm-9049.ucm        \
  81. ibm-9061.ucm ibm-912.ucm ibm-913.ucm ibm-914.ucm ibm-915.ucm        \
  82. ibm-916.ucm ibm-920.ucm ibm-921.ucm ibm-922.ucm ibm-923.ucm        \
  83. ibm-9238.ucm ibm-924.ucm ibm-933.ucm ibm-935.ucm ibm-942.ucm        \
  84. ibm-943.ucm ibm-949.ucm ibm-970.ucm ibm-1258.ucm ibm-273.ucm        \
  85. ibm-277.ucm ibm-278.ucm ibm-280.ucm ibm-284.ucm ibm-285.ucm        \
  86. ibm-297.ucm ibm-37.ucm ibm-500.ucm ibm-871.ucm ibm-937.ucm     \
  87. ibm-930.ucm ibm-1257.ucm ibm-1256.ucm ibm-1255.ucm ibm-1254.ucm ibm-1253.ucm ibm-1251.ucm        \
  88. ibm-1250.ucm ibm-862.ucm ibm-850.ucm ibm-950.ucm
  89.  
  90.  
  91.  
  92. UCM_FILES = $(UCM_SOURCE:%=$(top_srcdir)/../data/%)
  93. CNV_FILES = $(UCM_FILES:.ucm=.cnv)
  94.  
  95. ## List of phony targets
  96. .PHONY : all all-local install install-local clean clean-local        \
  97. distclean distclean-local target-clean-local dist dist-local check    \
  98. check-local
  99.  
  100. ## Clear suffix list
  101. .SUFFIXES :
  102.  
  103. ## List of standard targets
  104. all: all-local
  105. install: install-local
  106. clean: clean-local
  107. distclean : distclean-local
  108. dist: dist-local
  109. check: check-local
  110.  
  111. all-local: $(TARGET) $(CNV_FILES)
  112.  
  113. install-local: target-clean-local all-local
  114.     $(mkinstalldirs) $(sbindir)
  115.     $(INSTALL) $(TARGET) $(sbindir)/$(TARGET)
  116.     $(mkinstalldirs) $(pkgdatadir)/$(VERSION)
  117.     @list='$(notdir $(CNV_FILES)) convrtrs.txt'; for file in $$list; do \
  118.         echo $(INSTALL_DATA) $(top_srcdir)/../data/$$file $(pkgdatadir)/$(VERSION)/$$file; \
  119.         $(INSTALL_DATA) $(top_srcdir)/../data/$$file $(pkgdatadir)/$(VERSION)/$$file; \
  120.     done
  121.  
  122. dist-local:
  123.  
  124. target-clean-local:
  125.     rm -f $(TARGET)
  126.  
  127. clean-local: target-clean-local
  128.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  129.     rm -f $(OBJECTS)
  130.  
  131. distclean-local: clean-local
  132.     rm -f Makefile $(DEPS) $(CNV_FILES)
  133.  
  134. check-local:
  135.  
  136. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  137.     cd $(top_builddir) \
  138.      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  139.  
  140. $(TARGET) : $(OBJECTS)
  141.     $(LINK.c) -o $@ $^ $(LIBS)
  142.  
  143. ## Rule to build a compiled cnv file
  144. %.cnv : %.ucm
  145.     @echo "Creating .cnv file for $<"
  146.     @echo -n $(subst ../,/,$(top_builddir)/../data/) >ENV:ICU_DATA
  147.     @./makeconv $(subst ../,/,$<) > /dev/null 2>&1
  148.     @rm ENV:ICU_DATA
  149.  
  150. ifneq ($(MAKECMDGOALS),distclean)
  151. -include $(DEPS)
  152. endif
  153.  
  154.  
  155.  
  156.