defs.mk revision c73f511526464f8e56c242df80552e9b0d94ae3d
16e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# Copyright (c) 2002-2012 IBM, Inc. and others
26e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# Sample code makefile definitions 
36e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)
46e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CLEANFILES=*~ $(TARGET).out
56e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)####################################################################
66e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# Load ICU information. You can copy this to other makefiles #######
76e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)####################################################################
86e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CC=$(shell icu-config --cc)
96e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CXX=$(shell icu-config --cxx)
106e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CPPFLAGS=$(shell icu-config --cppflags)
116e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CFLAGS=$(shell icu-config --cflags)
126e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)CXXFLAGS=$(shell icu-config --cxxflags)
136e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)LDFLAGS =$^ $(shell icu-config --ldflags)
146e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio)
156e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)INVOKE=$(shell icu-config --invoke)
166e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)GENRB=$(shell icu-config --invoke=genrb)
176e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)GENRBOPT=
186e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)PKGDATA=$(shell icu-config --invoke=pkgdata)
196e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)SO=$(shell icu-config --so)
206e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)PKGDATAOPTS=-r $(shell icu-config --version) -w -v -d .
216e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)# default - resources in same mode as ICU
226e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)RESMODE=$(shell icu-config --icudata-mode)
236e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)
246e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)####################################################################
256e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)### Project independent things (common) 
266e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)### We depend on gmake for the bulk of the work 
276e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)
286e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)RMV=rm -rf
296e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)