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