c27ba65a7c
X-SVN-Rev: 2801
89 lines
1.9 KiB
Makefile
89 lines
1.9 KiB
Makefile
## Makefile.in for ICU - test/testmap
|
|
## Copyright (c) 1999, International Business Machines Corporation and
|
|
## others. All Rights Reserved.
|
|
|
|
## Source directory information
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/icudefs.mk
|
|
|
|
## Platform-specific setup
|
|
include @platform_make_fragment@
|
|
|
|
## Build directory information
|
|
subdir = test/testmap
|
|
|
|
## Extra files to remove for 'make clean'
|
|
CLEANFILES = *~ $(DEPS)
|
|
|
|
## Target information
|
|
TARGET = testmap
|
|
|
|
DEFS = @DEFS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/common
|
|
|
|
# Data packaging options are set at configure time with --with-data-packaging.
|
|
CPPFLAGS += @DATA_PACKAGING_CPPFLAGS@
|
|
|
|
@MAPPED_DLL_TRUE@CPPFLAGS += -DUDATA_MAP_DLL
|
|
@MAPPED_DLL_FALSE@
|
|
|
|
@MAPPED_DLL_TRUE@LIBICUDATA= -L$(top_srcdir)/../data -licudata
|
|
|
|
CFLAGS = @CFLAGS@
|
|
CXXFLAGS = @CXXFLAGS@
|
|
ENABLE_RPATH = @ENABLE_RPATH@
|
|
LDFLAGS = @LDFLAGS@
|
|
INVOKE = $(LDLIBRARYPATH_ENVVAR)=$(top_builddir)/common:$(top_builddir)/data:$$$(LDLIBRARYPATH_ENVVAR)
|
|
LIBS = $(LIBICUUC) @LIBS@ @LIB_M@ $(LIBICUDATA)
|
|
|
|
OBJECTS = testmap.o
|
|
|
|
DEPS = $(OBJECTS:.o=.d)
|
|
|
|
## List of phony targets
|
|
.PHONY : all all-local install install-local clean clean-local \
|
|
distclean distclean-local dist dist-local check check-local
|
|
|
|
## Clear suffix list
|
|
.SUFFIXES :
|
|
|
|
## List of standard targets
|
|
all: all-local
|
|
install: install-local
|
|
clean: clean-local
|
|
distclean : distclean-local
|
|
dist: dist-local
|
|
check: all check-local
|
|
|
|
all-local: $(TARGET)
|
|
|
|
install-local:
|
|
|
|
dist-local:
|
|
|
|
clean-local:
|
|
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
|
$(RMV) $(OBJECTS) $(TARGET)
|
|
|
|
distclean-local: clean-local
|
|
$(RMV) Makefile
|
|
|
|
check-local: all-local
|
|
ICU_DATA=NOTHING $(INVOKE) ./$(TARGET)
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(TARGET) : $(OBJECTS)
|
|
$(LINK.c) -o $@ $^ $(LIBS)
|
|
|
|
ifneq ($(MAKECMDGOALS),distclean)
|
|
-include $(DEPS)
|
|
endif
|