OLD | NEW |
(Empty) | |
| 1 ## Makefile.in for ICU - test/letest |
| 2 ## Copyright (c) 2001-2007, International Business Machines Corporation and |
| 3 ## others. All Rights Reserved. |
| 4 |
| 5 ## Source directory information |
| 6 srcdir = @srcdir@ |
| 7 top_srcdir = @top_srcdir@ |
| 8 |
| 9 top_builddir = ../.. |
| 10 |
| 11 include $(top_builddir)/icudefs.mk |
| 12 |
| 13 ## Platform-specific setup |
| 14 include @platform_make_fragment@ |
| 15 |
| 16 ## Build directory information |
| 17 subdir = test/letest |
| 18 |
| 19 ## Extra files to remove for 'make clean' |
| 20 CLEANFILES = *~ $(DEPS) |
| 21 |
| 22 ## Target information |
| 23 TESTTARGET = letest |
| 24 GENTARGET = gendata |
| 25 |
| 26 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ |
| 27 # Simplify the path for Unix |
| 28 BUILDDIR := $(BUILDDIR:test/cintltst/../../=) |
| 29 # Simplify the path for Windows |
| 30 BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) |
| 31 # Simplify the path for Windows 98 |
| 32 BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) |
| 33 |
| 34 ifneq ($(top_builddir),$(top_srcdir)) |
| 35 CPPFLAGS += -I$(top_builddir)/common |
| 36 endif |
| 37 |
| 38 CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
-I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/la
yout -I$(top_srcdir)/layoutex -I$(top_srcdir) |
| 39 DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' |
| 40 LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUT
OOLUTIL) @LIBS@ @LIB_M@ |
| 41 |
| 42 COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o Portabl
eFontInstance.o |
| 43 TESTOBJECTS = letest.o |
| 44 CTESTOBJECTS = cfonts.o xmlreader.o cletest.o |
| 45 GENOBJECTS = gendata.o |
| 46 |
| 47 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) |
| 48 |
| 49 DEPS = $(OBJECTS:.o=.d) |
| 50 |
| 51 ## List of phony targets |
| 52 .PHONY : all all-local install install-local clean clean-local \ |
| 53 distclean distclean-local dist dist-local check check-local |
| 54 |
| 55 ## Clear suffix list |
| 56 .SUFFIXES : |
| 57 |
| 58 ## List of standard targets |
| 59 all: all-local |
| 60 install: install-local |
| 61 clean: clean-local |
| 62 distclean : distclean-local |
| 63 dist: dist-local |
| 64 check: all check-local |
| 65 |
| 66 all-local: $(TESTTARGET) |
| 67 |
| 68 install-local: |
| 69 |
| 70 dist-local: |
| 71 |
| 72 clean-local: |
| 73 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
| 74 $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(T
ARGET) |
| 75 |
| 76 distclean-local: clean-local |
| 77 $(RMV) Makefile |
| 78 |
| 79 check-local: all-local |
| 80 $(INVOKE) ./$(TESTTARGET) |
| 81 |
| 82 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 83 cd $(top_builddir) \ |
| 84 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 85 |
| 86 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) |
| 87 $(LINK.cc) -o $@ $^ $(LIBS) |
| 88 $(POST_BUILD_STEP) |
| 89 |
| 90 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) |
| 91 $(LINK.cc) -o $@ $^ $(LIBS) |
| 92 $(POST_BUILD_STEP) |
| 93 |
| 94 invoke: |
| 95 ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVO
CATION) |
| 96 |
| 97 ifeq (,$(MAKECMDGOALS)) |
| 98 -include $(DEPS) |
| 99 else |
| 100 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) |
| 101 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) |
| 102 -include $(DEPS) |
| 103 endif |
| 104 endif |
| 105 endif |
OLD | NEW |