1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/samples/layout/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,107 @@ 1.4 +## Makefile.in for ICU - samples/layout 1.5 +## Copyright (c) 2001-2011, International Business Machines Corporation and 1.6 +## others. All Rights Reserved. 1.7 + 1.8 +## Source directory information 1.9 +srcdir = @srcdir@ 1.10 +top_srcdir = @top_srcdir@ 1.11 + 1.12 +top_builddir = ../.. 1.13 + 1.14 +include $(top_builddir)/icudefs.mk 1.15 + 1.16 +## Platform-specific setup 1.17 +include @platform_make_fragment@ 1.18 + 1.19 +## Build directory information 1.20 +subdir = samples/layout 1.21 + 1.22 +## Extra files to remove for 'make clean' 1.23 +CLEANFILES = *~ $(DEPS) 1.24 + 1.25 +## Target information 1.26 +TARGET = gnomelayout 1.27 +CTARGET = cgnomelayout 1.28 + 1.29 +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 1.30 + 1.31 +LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) @LIBS@ @LIB_M@ `pkg-config --libs libgnomeui-2.0 freetype2 cairo` 1.32 + 1.33 +COMMON=cmaps.o UnicodeReader.o GnomeGUISupport.o FontMap.o GnomeFontMap.o ScriptCompositeFontInstance.o GnomeFontInstance.o FontTableCache.o paragraph.o 1.34 + 1.35 +OBJECTS=gnomelayout.o 1.36 + 1.37 +COBJECTS=gnomeglue.o pflow.o rsurface.o ucreader.o cgnomelayout.o 1.38 + 1.39 +DEPS = $(OBJECTS:.o=.d) 1.40 + 1.41 +## List of phony targets 1.42 +.PHONY : all all-local install install-local clean clean-local \ 1.43 +distclean distclean-local dist dist-local check check-local 1.44 + 1.45 +## Clear suffix list 1.46 +.SUFFIXES : 1.47 + 1.48 +## List of standard targets 1.49 +all: all-local 1.50 +install: install-local 1.51 +clean: clean-local 1.52 +distclean : distclean-local 1.53 +dist: dist-local 1.54 +check: all check-local 1.55 +c-all: c-all-local 1.56 +c-check: c-all c-check-local 1.57 + 1.58 +all-local: $(TARGET) 1.59 + 1.60 +c-all-local: $(CTARGET) 1.61 + 1.62 +install-local: 1.63 + 1.64 +dist-local: 1.65 + 1.66 +clean-local: 1.67 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.68 + $(RMV) $(COMMON) $(OBJECTS) $(COBJECTS) $(TARGET) 1.69 + 1.70 +distclean-local: clean-local 1.71 + $(RMV) Makefile 1.72 + 1.73 +check-local: all-local 1.74 + $(INVOKE) ./$(TARGET) 1.75 + 1.76 +c-check-local: c-all-local 1.77 + $(INVOKE) ./$(CTARGET) 1.78 + 1.79 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.80 + cd $(top_builddir) \ 1.81 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.82 + 1.83 +# The following two rules make it possible to 1.84 +# compile scrptrun.cpp from the extra/scrptrun directory. 1.85 +# they were copied from the default rules in mh-linux which 1.86 +# is probably OK because this sample will only run on Linux... 1.87 +scrptrun.d: $(top_srcdir)/extra/scrptrun/scrptrun.cpp 1.88 + $(SHELL) -ec '$(GEN_DEPS.cc) $< \ 1.89 + | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \ 1.90 + [ -s $@ ] || rm -f $@' 1.91 + 1.92 +scrptrun.o: $(top_srcdir)/extra/scrptrun/scrptrun.cpp 1.93 + $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $< 1.94 + 1.95 +$(TARGET) : $(COMMON) $(OBJECTS) 1.96 + $(LINK.cc) -o $@ $^ $(LIBS) 1.97 + 1.98 +$(CTARGET) : $(COMMON) $(COBJECTS) 1.99 + $(LINK.cc) -o $@ $^ $(LIBS) 1.100 + 1.101 +invoke: 1.102 + ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) 1.103 + 1.104 +ifeq (,$(MAKECMDGOALS)) 1.105 +-include $(DEPS) 1.106 +else 1.107 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.108 +-include $(DEPS) 1.109 +endif 1.110 +endif