OLD | NEW |
1 # Simple makefile for skia library and test apps | 1 # Simple makefile for skia library and test apps |
2 # | 2 # |
3 # This is the handmade Makefile that we *used* to use before changing over | 3 # This is the handmade Makefile that we *used* to use before changing over |
4 # to gyp. Keeping it around for now in case some folks need to use it... | 4 # to gyp. Keeping it around for now in case some folks need to use it... |
5 # but please contact epoger@google.com about anything you're still using in | 5 # but please contact epoger@google.com about anything you're still using in |
6 # here, so we can provide equivalent functionality in the gyp build. | 6 # here, so we can provide equivalent functionality in the gyp build. |
7 | 7 |
8 # setup our defaults | 8 # setup our defaults |
9 CC := gcc | 9 CC := gcc |
10 GPP := g++ | 10 GPP := g++ |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 SRC_LIST += src/images/SkScaledBitmapSampler.cpp | 125 SRC_LIST += src/images/SkScaledBitmapSampler.cpp |
126 | 126 |
127 ifeq ($(SKIA_MESA),true) | 127 ifeq ($(SKIA_MESA),true) |
128 SRC_LIST += gpu/src/mesa/GrGLDefaultInterface_mesa.cpp | 128 SRC_LIST += gpu/src/mesa/GrGLDefaultInterface_mesa.cpp |
129 else | 129 else |
130 SRC_LIST += gpu/src/mac/GrGLDefaultInterface_mac.cpp | 130 SRC_LIST += gpu/src/mac/GrGLDefaultInterface_mac.cpp |
131 endif | 131 endif |
132 | 132 |
133 else | 133 else |
134 LINKER_OPTS += -lpng -lfreetype -lrt | 134 LINKER_OPTS += -lpng -lfreetype -lrt |
135 » DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG -DGR_LINUX_BUILD=1 | 135 » DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG |
136 ifeq ($(SKIA_MESA),true) | 136 ifeq ($(SKIA_MESA),true) |
137 LINKER_OPTS += -lOSMesa -lGLU | 137 LINKER_OPTS += -lOSMesa -lGLU |
138 DEFINES += -DSK_MESA | 138 DEFINES += -DSK_MESA |
139 else | 139 else |
140 LINKER_OPTS += -lGL -lGLU -lX11 | 140 LINKER_OPTS += -lGL -lGLU -lX11 |
141 endif | 141 endif |
142 | 142 |
143 #Assume the color order for now. | 143 #Assume the color order for now. |
144 DEFINES += -DSK_SAMPLES_FOR_X | 144 DEFINES += -DSK_SAMPLES_FOR_X |
145 | 145 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 @echo " clean: removes entire out/ directory" | 318 @echo " clean: removes entire out/ directory" |
319 @echo " help: this text" | 319 @echo " help: this text" |
320 @echo "Options: (after make, or in bash shell)" | 320 @echo "Options: (after make, or in bash shell)" |
321 @echo " SKIA_DEBUG=true for debug build" | 321 @echo " SKIA_DEBUG=true for debug build" |
322 @echo " SKIA_SHARED=true for shared-object libskia build" | 322 @echo " SKIA_SHARED=true for shared-object libskia build" |
323 @echo " SKIA_SCALAR=fixed for fixed-point build" | 323 @echo " SKIA_SCALAR=fixed for fixed-point build" |
324 @echo " SKIA_BUILD_FOR=mac for mac build (e.g. CG for image decoding)
" | 324 @echo " SKIA_BUILD_FOR=mac for mac build (e.g. CG for image decoding)
" |
325 @echo " SKIA_PDF_SUPPORT=false to disable the pdf generation backend" | 325 @echo " SKIA_PDF_SUPPORT=false to disable the pdf generation backend" |
326 @echo " SKIA_MESA=true to build with osmesa instead of native GL. | 326 @echo " SKIA_MESA=true to build with osmesa instead of native GL. |
327 @echo "" | 327 @echo "" |
OLD | NEW |