intl/icu/source/samples/layout/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 ## Makefile.in for ICU - samples/layout
     2 ## Copyright (c) 2001-2011, International Business Machines Corporation and
     3 ## others. All Rights Reserved.
     5 ## Source directory information
     6 srcdir = @srcdir@
     7 top_srcdir = @top_srcdir@
     9 top_builddir = ../..
    11 include $(top_builddir)/icudefs.mk
    13 ## Platform-specific setup
    14 include @platform_make_fragment@
    16 ## Build directory information
    17 subdir = samples/layout
    19 ## Extra files to remove for 'make clean'
    20 CLEANFILES = *~ $(DEPS)
    22 ## Target information
    23 TARGET  = gnomelayout
    24 CTARGET = cgnomelayout
    26 CPPFLAGS += -DLE_USE_CMEMORY `pkg-config --cflags libgnomeui-2.0 freetype2 cairo` -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/layoutex -I$(top_srcdir)/layout -I$(top_srcdir) -g
    28 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) @LIBS@ @LIB_M@ `pkg-config --libs libgnomeui-2.0 freetype2 cairo`
    30 COMMON=cmaps.o UnicodeReader.o GnomeGUISupport.o FontMap.o GnomeFontMap.o ScriptCompositeFontInstance.o GnomeFontInstance.o FontTableCache.o  paragraph.o
    32 OBJECTS=gnomelayout.o
    34 COBJECTS=gnomeglue.o pflow.o rsurface.o ucreader.o cgnomelayout.o
    36 DEPS = $(OBJECTS:.o=.d)
    38 ## List of phony targets
    39 .PHONY : all all-local install install-local clean clean-local	\
    40 distclean distclean-local dist dist-local check check-local
    42 ## Clear suffix list
    43 .SUFFIXES :
    45 ## List of standard targets
    46 all: all-local
    47 install: install-local
    48 clean: clean-local
    49 distclean : distclean-local
    50 dist: dist-local
    51 check: all check-local
    52 c-all: c-all-local
    53 c-check: c-all c-check-local
    55 all-local: $(TARGET)
    57 c-all-local: $(CTARGET)
    59 install-local:
    61 dist-local:
    63 clean-local:
    64 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
    65 	$(RMV) $(COMMON) $(OBJECTS) $(COBJECTS) $(TARGET)
    67 distclean-local: clean-local
    68 	$(RMV) Makefile
    70 check-local: all-local
    71 	$(INVOKE) ./$(TARGET)
    73 c-check-local: c-all-local
    74 	$(INVOKE) ./$(CTARGET)
    76 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
    77 	cd $(top_builddir) \
    78 	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    80 # The following two rules make it possible to
    81 # compile scrptrun.cpp from the extra/scrptrun directory.
    82 # they were copied from the default rules in mh-linux which
    83 # is probably OK because this sample will only run on Linux...
    84 scrptrun.d: $(top_srcdir)/extra/scrptrun/scrptrun.cpp
    85 	$(SHELL) -ec '$(GEN_DEPS.cc) $< \
    86 		| sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \
    87 		[ -s $@ ] || rm -f $@'
    89 scrptrun.o: $(top_srcdir)/extra/scrptrun/scrptrun.cpp
    90 	$(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
    92 $(TARGET) : $(COMMON) $(OBJECTS)
    93 	$(LINK.cc) -o $@ $^ $(LIBS)
    95 $(CTARGET) : $(COMMON) $(COBJECTS)
    96 	$(LINK.cc) -o $@ $^ $(LIBS)
    98 invoke:
    99 	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
   101 ifeq (,$(MAKECMDGOALS))
   102 -include $(DEPS)
   103 else
   104 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   105 -include $(DEPS)
   106 endif
   107 endif

mercurial