fontservices/textshaperplugin/test/letest/Makefile.in
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 ## Makefile.in for ICU - test/letest
       
     2 ## Copyright (c) 2001-2003, 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 CPPFLAGS += -DLE_USE_CMEMORY -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/layout -I$(top_srcdir)
       
    27 LIBS = $(LIBICULE) $(LIBICUUC) @LIBS@ @LIB_M@
       
    28 
       
    29 COMMONOBJECTS = cmaps.o FontTableCache.o PortableFontInstance.o
       
    30 TESTOBJECTS   = testdata.o letest.o
       
    31 GENOBJECTS    = gendata.o
       
    32 
       
    33 OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
       
    34 
       
    35 DEPS = $(OBJECTS:.o=.d)
       
    36 
       
    37 ## List of phony targets
       
    38 .PHONY : all all-local install install-local clean clean-local	\
       
    39 distclean distclean-local dist dist-local check check-local
       
    40 
       
    41 ## Clear suffix list
       
    42 .SUFFIXES :
       
    43 
       
    44 ## List of standard targets
       
    45 all: all-local
       
    46 install: install-local
       
    47 clean: clean-local
       
    48 distclean : distclean-local
       
    49 dist: dist-local
       
    50 check: all check-local
       
    51 
       
    52 all-local: $(TESTTARGET)
       
    53 
       
    54 install-local:
       
    55 
       
    56 dist-local:
       
    57 
       
    58 clean-local:
       
    59 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
       
    60 	$(RMV) $(OBJECTS) $(TARGET)
       
    61 
       
    62 distclean-local: clean-local
       
    63 	$(RMV) Makefile
       
    64 
       
    65 check-local: all-local
       
    66 	$(INVOKE) ./$(TESTTARGET)
       
    67 
       
    68 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
       
    69 	cd $(top_builddir) \
       
    70 	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
       
    71 
       
    72 $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS)
       
    73 	$(LINK.cc) -o $@ $^ $(LIBS)
       
    74 
       
    75 $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
       
    76 	$(LINK.cc) -o $@ $^ $(LIBS)
       
    77 
       
    78 invoke:
       
    79 	ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)
       
    80 
       
    81 ifeq (,$(MAKECMDGOALS))
       
    82 -include $(DEPS)
       
    83 else
       
    84 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
       
    85 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
       
    86 -include $(DEPS)
       
    87 endif
       
    88 endif
       
    89 endif