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

Side by Side Diff: Makefile

Issue 16099014: enable shared lib support in linux for lua (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: change lua extension lib build to be seperate target Created 7 years, 6 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 | « no previous file | gyp/common.gypi » ('j') | gyp/images.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Makefile that wraps the Gyp and build steps for Unix and Mac (but not Windows) 1 # Makefile that wraps the Gyp and build steps for Unix and Mac (but not Windows)
2 # Uses "make" to build on Unix, and "xcodebuild" to build on Mac. 2 # Uses "make" to build on Unix, and "xcodebuild" to build on Mac.
3 # 3 #
4 # Some usage examples (tested on both Linux and Mac): 4 # Some usage examples (tested on both Linux and Mac):
5 # 5 #
6 # # Clean everything 6 # # Clean everything
7 # make clean 7 # make clean
8 # 8 #
9 # # Build and run tests (in Debug mode) 9 # # Build and run tests (in Debug mode)
10 # make tests 10 # make tests
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 gm \ 43 gm \
44 most \ 44 most \
45 pathops_unittest \ 45 pathops_unittest \
46 pdfviewer \ 46 pdfviewer \
47 SampleApp \ 47 SampleApp \
48 skhello \ 48 skhello \
49 SkiaAndroidApp \ 49 SkiaAndroidApp \
50 skia_lib \ 50 skia_lib \
51 tests \ 51 tests \
52 tools \ 52 tools \
53 skpdiff 53 skpdiff \
54 sklua
54 55
55 # Default target. This must be listed before all other targets. 56 # Default target. This must be listed before all other targets.
56 .PHONY: default 57 .PHONY: default
57 default: most 58 default: most
58 59
59 # As noted in http://code.google.com/p/skia/issues/detail?id=330 , building 60 # As noted in http://code.google.com/p/skia/issues/detail?id=330 , building
60 # multiple targets in parallel was failing. The special .NOTPARALLEL target 61 # multiple targets in parallel was failing. The special .NOTPARALLEL target
61 # tells gnu make not to run targets within _this_ Makefile in parallel, but the 62 # tells gnu make not to run targets within _this_ Makefile in parallel, but the
62 # recursively invoked Makefile within out/ _is_ allowed to run in parallel 63 # recursively invoked Makefile within out/ _is_ allowed to run in parallel
63 # (so you can still get some speedup that way). 64 # (so you can still get some speedup that way).
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 else ifneq (,$(findstring make, $(GYP_GENERATORS))) 121 else ifneq (,$(findstring make, $(GYP_GENERATORS)))
121 $(MAKE) -C $(SKIA_OUT) $@ BUILDTYPE=$(BUILDTYPE) 122 $(MAKE) -C $(SKIA_OUT) $@ BUILDTYPE=$(BUILDTYPE)
122 else ifneq (,$(findstring Darwin, $(uname))) 123 else ifneq (,$(findstring Darwin, $(uname)))
123 rm -f out/$(BUILDTYPE) || if test -d out/$(BUILDTYPE); then echo "run 'm ake clean' or otherwise delete out/$(BUILDTYPE)"; exit 1; fi 124 rm -f out/$(BUILDTYPE) || if test -d out/$(BUILDTYPE); then echo "run 'm ake clean' or otherwise delete out/$(BUILDTYPE)"; exit 1; fi
124 xcodebuild -project out/gyp/$@.xcodeproj -configuration $(BUILDTYPE) 125 xcodebuild -project out/gyp/$@.xcodeproj -configuration $(BUILDTYPE)
125 ln -s $(CWD)/xcodebuild/$(BUILDTYPE) out/$(BUILDTYPE) 126 ln -s $(CWD)/xcodebuild/$(BUILDTYPE) out/$(BUILDTYPE)
126 else 127 else
127 echo "unknown platform $(uname)" 128 echo "unknown platform $(uname)"
128 exit 1 129 exit 1
129 endif 130 endif
OLDNEW
« no previous file with comments | « no previous file | gyp/common.gypi » ('j') | gyp/images.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698