scroggo | b7e9aee | 2011-03-15 15:15:15 +0000 | [diff] [blame^] | 1 | # Build the unix test app |
| 2 | |
| 3 | C_INCLUDES := -I../include/core \ |
| 4 | -I../include/config \ |
| 5 | -I../include/effects \ |
| 6 | -I../include/images \ |
| 7 | -I../include/utils \ |
| 8 | -I../include/views \ |
| 9 | -I../include/xml \ |
| 10 | -I../include/gpu \ |
| 11 | -I../gpu/include \ |
| 12 | -I../include/utils/unix \ |
| 13 | -I../samplecode |
| 14 | |
| 15 | VPATH = libs:../src/ports:../samplecode:../src/core:../out:../src/utils/unix |
| 16 | |
| 17 | #generate debugging info |
| 18 | CFLAGS = -g |
| 19 | |
| 20 | SRC_LIST := main.cpp SkOSWindow_Unix.cpp SkXMLParser_empty.cpp SkDebug.cpp keysym2ucs.c |
| 21 | |
| 22 | #views files |
| 23 | include ../src/views/views_files.mk |
| 24 | SRC_LIST += $(addprefix ../src/views/, $(SOURCE)) |
| 25 | |
| 26 | #xml |
| 27 | include ../src/xml/xml_files.mk |
| 28 | SRC_LIST += $(addprefix ../src/xml/, $(SOURCE)) |
| 29 | |
| 30 | #include the samples |
| 31 | include ../samplecode/samplecode_files.mk |
| 32 | SRC_LIST += $(addprefix ../samplecode/, $(SOURCE)) |
| 33 | |
| 34 | output: $(SRC_LIST) -lX11 -lskia -lpthread -lz -lfreetype -lGL -lpng |
| 35 | g++ $(C_INCLUDES) $(CFLAGS) $^ -o $@ |
| 36 | |