scuffed-code/icu4c/source/samples/defs.mk
George Rhoten 264d88b4b3 ICU-4501 Update samples to use the current data building procedure and fix a few other problems found along the way.
This helps with debugging some of the cause of the data loading problems.

X-SVN-Rev: 17550
2005-05-04 05:07:52 +00:00

29 lines
1021 B
Makefile

# Copyright (c) 2002-2004 IBM, Inc. and others
# Sample code makefile definitions
CLEANFILES=*~ $(TARGET).out
####################################################################
# Load ICU information. You can copy this to other makefiles #######
####################################################################
CC=$(shell icu-config --cc)
CXX=$(shell icu-config --cxx)
CPPFLAGS=$(shell icu-config --cppflags)
CFLAGS=$(shell icu-config --cflags)
CXXFLAGS=$(shell icu-config --cxxflags)
LDFLAGS =$(shell icu-config --ldflags)
LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
INVOKE=$(shell icu-config --invoke)
GENRB=$(shell icu-config --invoke=genrb)
GENRBOPT=
PKGDATA=$(shell icu-config --invoke=pkgdata)
SO=$(shell icu-config --so)
PKGDATAOPTS=-v -d .
# default - resources in same mode as ICU
RESMODE=$(shell icu-config --icudata-mode)
####################################################################
### Project independent things (common)
### We depend on gmake for the bulk of the work
RMV=rm -rf