michael@0: ## Makefile.in for ICU - samples/layout michael@0: ## Copyright (c) 2001-2011, International Business Machines Corporation and michael@0: ## others. All Rights Reserved. michael@0: michael@0: ## Source directory information michael@0: srcdir = @srcdir@ michael@0: top_srcdir = @top_srcdir@ michael@0: michael@0: top_builddir = ../.. michael@0: michael@0: include $(top_builddir)/icudefs.mk michael@0: michael@0: ## Platform-specific setup michael@0: include @platform_make_fragment@ michael@0: michael@0: ## Build directory information michael@0: subdir = samples/layout michael@0: michael@0: ## Extra files to remove for 'make clean' michael@0: CLEANFILES = *~ $(DEPS) michael@0: michael@0: ## Target information michael@0: TARGET = gnomelayout michael@0: CTARGET = cgnomelayout michael@0: michael@0: 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: michael@0: LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) @LIBS@ @LIB_M@ `pkg-config --libs libgnomeui-2.0 freetype2 cairo` michael@0: michael@0: COMMON=cmaps.o UnicodeReader.o GnomeGUISupport.o FontMap.o GnomeFontMap.o ScriptCompositeFontInstance.o GnomeFontInstance.o FontTableCache.o paragraph.o michael@0: michael@0: OBJECTS=gnomelayout.o michael@0: michael@0: COBJECTS=gnomeglue.o pflow.o rsurface.o ucreader.o cgnomelayout.o michael@0: michael@0: DEPS = $(OBJECTS:.o=.d) michael@0: michael@0: ## List of phony targets michael@0: .PHONY : all all-local install install-local clean clean-local \ michael@0: distclean distclean-local dist dist-local check check-local michael@0: michael@0: ## Clear suffix list michael@0: .SUFFIXES : michael@0: michael@0: ## List of standard targets michael@0: all: all-local michael@0: install: install-local michael@0: clean: clean-local michael@0: distclean : distclean-local michael@0: dist: dist-local michael@0: check: all check-local michael@0: c-all: c-all-local michael@0: c-check: c-all c-check-local michael@0: michael@0: all-local: $(TARGET) michael@0: michael@0: c-all-local: $(CTARGET) michael@0: michael@0: install-local: michael@0: michael@0: dist-local: michael@0: michael@0: clean-local: michael@0: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) michael@0: $(RMV) $(COMMON) $(OBJECTS) $(COBJECTS) $(TARGET) michael@0: michael@0: distclean-local: clean-local michael@0: $(RMV) Makefile michael@0: michael@0: check-local: all-local michael@0: $(INVOKE) ./$(TARGET) michael@0: michael@0: c-check-local: c-all-local michael@0: $(INVOKE) ./$(CTARGET) michael@0: michael@0: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status michael@0: cd $(top_builddir) \ michael@0: && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status michael@0: michael@0: # The following two rules make it possible to michael@0: # compile scrptrun.cpp from the extra/scrptrun directory. michael@0: # they were copied from the default rules in mh-linux which michael@0: # is probably OK because this sample will only run on Linux... michael@0: scrptrun.d: $(top_srcdir)/extra/scrptrun/scrptrun.cpp michael@0: $(SHELL) -ec '$(GEN_DEPS.cc) $< \ michael@0: | sed '\''s%\($*\)\.o[ :]*%\1.o $@ : %g'\'' > $@; \ michael@0: [ -s $@ ] || rm -f $@' michael@0: michael@0: scrptrun.o: $(top_srcdir)/extra/scrptrun/scrptrun.cpp michael@0: $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $< michael@0: michael@0: $(TARGET) : $(COMMON) $(OBJECTS) michael@0: $(LINK.cc) -o $@ $^ $(LIBS) michael@0: michael@0: $(CTARGET) : $(COMMON) $(COBJECTS) michael@0: $(LINK.cc) -o $@ $^ $(LIBS) michael@0: michael@0: invoke: michael@0: ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) michael@0: michael@0: ifeq (,$(MAKECMDGOALS)) michael@0: -include $(DEPS) michael@0: else michael@0: ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) michael@0: -include $(DEPS) michael@0: endif michael@0: endif