home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / samples / XMLConverter / Makefile < prev    next >
Encoding:
Makefile  |  1999-11-11  |  3.7 KB  |  159 lines

  1. # Generated automatically from Makefile.in by configure.
  2. ## Makefile.in for ICU - samples/XMLConverter
  3. ## Madhu Katragadda
  4.  
  5. ## Shell to use
  6. SHELL = /bin/sh
  7.  
  8. ## Install directory information
  9. srcdir = .
  10. top_srcdir = ../..
  11. prefix = GG:
  12. exec_prefix = ${prefix}
  13.  
  14. bindir = GG:bin
  15. sbindir = GG:bin
  16. datadir = GG:share
  17. libdir = /GG/lib
  18. includedir = GG:include
  19.  
  20. pkgdatadir = $(datadir)/icu
  21. pkglibdir = $(libdir)/icu
  22. pkgincludedir = $(includedir)/icu
  23.  
  24. ## Install program information
  25. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  26.  
  27. INSTALL = /bin/install -c
  28. INSTALL_PROGRAM = ${INSTALL}
  29. INSTALL_DATA = ${INSTALL} -m 644
  30.  
  31. ## Compiler/tools information
  32. CC = gcc
  33. CXX = c++
  34. PACKAGE = icu
  35. VERSION = 1.3.1
  36.  
  37. ## Platform-specific setup
  38.  
  39. ## -*-makefile-*-
  40. ## AmigaOS-specific setup using gcc
  41.  
  42. ## Commands to generate dependency files
  43. GEN_DEPS.c=    $(CC) -E -MM $(DEFS) $(CPPFLAGS)
  44. GEN_DEPS.cc=    $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
  45.  
  46. ## Commands to compile
  47. COMPILE.c=    $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
  48. COMPILE.cc=    $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
  49.  
  50. ## Commands to link
  51. #LINK.c=        $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
  52. LINK.c=        $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
  53. LINK.cc=    $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
  54.  
  55. ## Commands to make a shared library
  56. #SHLIB.c=    $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -G
  57. #SHLIB.cc=    $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -G
  58. SHLIB.c=    ${top_srcdir}/makelib
  59. SHLIB.cc=    ${top_srcdir}/makelib
  60.  
  61. ## Compiler switch to embed a runtime search path
  62. LD_RPATH=    
  63. LD_RPATH_PRE=    $(subst =, ,=-L)
  64.  
  65. ## Shared object suffix
  66. SO=        a
  67.  
  68. ## Link commands to link to ICU libs
  69. LIBICU-UC=     -L$(top_builddir)/common -licu-uc
  70. LIBICU-I18N=     -L$(top_builddir)/i18n -licu-i18n
  71. LIBCTESTFW=     -L$(top_builddir)/tools/ctestfw -lctestfw
  72.  
  73. ## Compilation rules
  74. %.o : $(srcdir)/%.c
  75.     $(COMPILE.c) -o $@ $<
  76.  
  77. %.o : $(srcdir)/%.cpp
  78.     $(COMPILE.cc) -o $@ $<
  79.  
  80. ## Dependency rules
  81. %.d : $(srcdir)/%.c
  82.     @echo "Generating dependency information for $<"
  83.     @$(SHELL) -ec '$(GEN_DEPS.c) $< \
  84.         | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \
  85.         [ -s $@ ] || rm -f $@'
  86.  
  87. %.d : $(srcdir)/%.cpp
  88.     @echo "Generating dependency information for $<"
  89.     @$(SHELL) -ec '$(GEN_DEPS.cc) $< \
  90.         | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; \
  91.         [ -s $@ ] || rm -f $@'
  92.  
  93. ## End AmigaOS-specific setup
  94.  
  95. ## Build directory information
  96. top_builddir = ../..
  97. subdir = samples/XMLConverter
  98. ## Extra files to remove for 'make clean'
  99. CLEANFILES = *~
  100.  
  101. ## Target information
  102. TARGET = XMLConverter
  103.  
  104. DEFS = -DHAVE_CONFIG_H
  105. CPPFLAGS =  -I$(top_srcdir)/common 
  106. CFLAGS = -O0 -fomit-frame-pointer -m68000 -msoft-float -DAPP_NO_THREADS
  107. CXXFLAGS = -O0 -fomit-frame-pointer -m68000 -msoft-float -DAPP_NO_THREADS
  108. LDFLAGS = -noixemul -s -m68000 -msoft-float \
  109. $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)$(LD_RPATH_PRE)$(top_builddir)/common
  110. LIBS = $(LIBICU-UC) -lm -lw 
  111.  
  112. OBJECTS = XMLConverter.o
  113.  
  114. DEPS = $(OBJECTS:.o=.d)
  115.  
  116. ##Headers files to install
  117. HEADERS = XMLConverter.hpp
  118.  
  119. ## List of phony targets
  120. .PHONY : all all-local install install-local clean clean-local \
  121. distclean distclean-local dist dist-local check check-local
  122.  
  123. ## Clear suffix list
  124. .SUFFIXES :
  125.  
  126. ## List of standard targets
  127. all: all-local
  128. install: install-local
  129. clean: clean-local
  130. distclean : distclean-local
  131. dist: dist-local
  132. check: check-local
  133.  
  134. all-local: $(TARGET)
  135.  
  136. install-local: all-local
  137.  
  138. dist-local:
  139.  
  140. clean-local:
  141.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  142.     rm -f $(OBJECTS) $(TARGET)
  143.  
  144. distclean-local: clean-local
  145.     rm -f Makefile $(DEPS)
  146.  
  147. check-local:
  148.  
  149. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  150.     cd $(top_builddir) \
  151.      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  152.  
  153. $(TARGET) : $(OBJECTS)
  154.     $(LINK.c) -o $@ $^ $(LIBS)
  155.  
  156. ifneq ($(MAKECMDGOALS),distclean)
  157. -include $(DEPS)
  158. endif
  159.