Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Side by Side Diff: icu52/source/samples/rules.mk

Issue 245383002: Add the original mk (make) files for ICU 52 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu52/source/samples/defs.mk ('k') | icu52/source/samples/ufortune/fortunedefs.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 # Copyright (c) 2002-2012 IBM, Inc. and others
2 # sample code rules for a single-target simple sample
3
4 # list of targets that aren't actually created
5 .PHONY: all clean distclean check report
6
7 all: $(ALL_SUBDIR) $(RESTARGET) $(TARGET)
8
9 $(TARGET): $(OBJECTS)
10 $(LINK.cc) $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS) -licui18n -licuuc
11
12 $(RESTARGET): $(RESFILES)
13 $(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST)
14
15 res-install: $(RESTARGET)
16 $(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST) --install $(shell icu-config --libdir)
17
18 # clean out files
19 distclean clean: $(CLEAN_SUBDIR)
20 -test -z "$(CLEANFILES)" || rm -rf $(CLEANFILES)
21 -rm -rf $(OBJECTS) $(TARGET) $(RESTARGET) $(RESFILES)
22
23 # Make check: simply runs the sample, logged to a file
24 check: $(ALL_SUBDIR) $(RESTARGET) $(TARGET)
25 $(INVOKE) $(CHECK_VARS) ./$(TARGET) $(CHECK_ARGS) | tee $(TARGET).out
26
27 ## resources
28 %.res: %.txt
29 @echo "generating $@"
30 $(GENRB) $(GENRBOPT) $^
31
32 $(RESNAME)/%.res: %.txt
33 @echo "generating $@"
34 $(GENRB) $(GENRBOPT) $^
35
36 ## Some platforms don't have .cpp as a default suffix, so add the rule here
37 %.o: %.cpp
38 $(COMPILE.cc) $< $(OUTPUT_OPTION)
OLDNEW
« no previous file with comments | « icu52/source/samples/defs.mk ('k') | icu52/source/samples/ufortune/fortunedefs.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698