-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.am
More file actions
121 lines (108 loc) · 5.23 KB
/
Makefile.am
File metadata and controls
121 lines (108 loc) · 5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
ACLOCAL_AMFLAGS = -I m4
AM_DEFAULT_SOURCE_EXT = .cpp
AM_LDFLAGS = -pthread
AM_CXXFLAGS = -Wall -Wcast-qual -fvisibility=hidden -I${top_srcdir}/include -I${top_srcdir}/src
AM_CFLAGS = ${AM_CXXFLAGS}
lib_LTLIBRARIES = libderpkit.la
noinst_LTLIBRARIES = libantlr3c.la libsha1.la libb64.la
noinst_PROGRAMS = derptest domtest
TESTS = test/dom
if BUILD_TESTS
check_PROGRAMS = ${TESTS}
endif
#TODO: Remove srcdir define (used for inspector file include)
libderpkit_la_CXXFLAGS = ${AM_CXXFLAGS} -Dsrcdir=\"${top_srcdir}\" -I${top_builddir}/src/css/parser -I${top_srcdir}/vendor/antlr3/include -I${top_srcdir}/vendor/sha1/include -I${top_srcdir}/vendor/b64/include ${json_CFLAGS} ${freetype_CFLAGS}
libderpkit_la_CFLAGS = ${libderpkit_la_CXXFLAGS} -Wno-unused
libderpkit_la_LIBADD = libantlr3c.la libsha1.la libb64.la ${freetype_LIBS} -ljpeg -lGL -lGLU
libderpkit_la_SOURCES = \
include/derpkit/export.hpp \
include/derpkit/forward.hpp \
src/derpkit.cpp include/derpkit/derpkit.hpp \
src/css/parser/css3.g \
src/css/parser/css3Parser.c src/css/parser/css3Parser.h \
src/css/parser/css3Lexer.c src/css/parser/css3Lexer.h \
src/css/css.cpp src/css/css.hpp \
src/css/colors.cpp src/css/colors.hpp \
include/derpkit/css/datatype.hpp src/css/datatype.cpp \
include/derpkit/css/state.hpp \
src/css/expression.cpp src/css/expression.hpp \
src/css/parsers.cpp src/css/parsers.hpp \
src/css/property.cpp src/css/property.hpp \
src/css/rule.cpp src/css/rule.hpp \
src/css/selector.cpp src/css/selector.hpp \
src/css/specificity.cpp src/css/specificity.hpp \
src/css/datatype/position.cpp \
include/derpkit/render/rendertarget.hpp src/render/rendertarget.cpp \
include/derpkit/render/shader.hpp src/render/shader.cpp \
include/derpkit/render/math.hpp src/render/math.cpp \
include/derpkit/render/utils.hpp src/render/utils.cpp \
include/derpkit/render/draw.hpp src/render/draw.cpp \
include/derpkit/render/texture.hpp src/render/texture.cpp \
src/render/impl.hpp src/render/gl/impl.cpp \
src/render/font.cpp src/render/font.hpp \
src/render/text.cpp src/render/text.hpp \
src/render/freetype/font.cpp \
src/render/freetype/text.cpp \
src/render/gl/shader.cpp \
src/render/gl/fbo.cpp \
src/render/gl/texture.cpp \
src/ffs_compat.cpp src/ffs_compat.hpp \
src/dom/inspector.cpp include/derpkit/dom/inspector.hpp \
include/derpkit/dom/document.hpp src/dom/document.cpp \
include/derpkit/dom/node.hpp src/dom/node.cpp \
include/derpkit/utils/utils.hpp src/utils/utils.cpp \
include/derpkit/utils/logging.hpp src/utils/logging.cpp \
include/derpkit/utils/base64.hpp src/utils/base64.cpp \
include/derpkit/utils/file.hpp src/utils/file.cpp \
include/derpkit/utils/string.hpp src/utils/string.cpp \
include/derpkit/utils/string_utils.hpp src/utils/string_utils.cpp \
include/derpkit/utils/network/socket.hpp src/utils/network/socket.cpp \
include/derpkit/utils/network/websocket.hpp src/utils/network/websocket.cpp \
gen/shaderdefs.cpp gen/shaderdefs.hpp \
src/version.cpp include/derpkit/version.hpp
libantlr3c_la_CFLAGS = -fvisibility=hidden -w -I${top_srcdir}/vendor/antlr3/include
libantlr3c_la_SOURCES = \
vendor/antlr3/src/antlr3baserecognizer.c \
vendor/antlr3/src/antlr3basetree.c \
vendor/antlr3/src/antlr3basetreeadaptor.c \
vendor/antlr3/src/antlr3bitset.c \
vendor/antlr3/src/antlr3collections.c \
vendor/antlr3/src/antlr3commontoken.c \
vendor/antlr3/src/antlr3commontree.c \
vendor/antlr3/src/antlr3commontreeadaptor.c \
vendor/antlr3/src/antlr3commontreenodestream.c \
vendor/antlr3/src/antlr3convertutf.c \
vendor/antlr3/src/antlr3cyclicdfa.c \
vendor/antlr3/src/antlr3debughandlers.c \
vendor/antlr3/src/antlr3encodings.c \
vendor/antlr3/src/antlr3exception.c \
vendor/antlr3/src/antlr3filestream.c \
vendor/antlr3/src/antlr3inputstream.c \
vendor/antlr3/src/antlr3intstream.c \
vendor/antlr3/src/antlr3lexer.c \
vendor/antlr3/src/antlr3parser.c \
vendor/antlr3/src/antlr3rewritestreams.c \
vendor/antlr3/src/antlr3string.c \
vendor/antlr3/src/antlr3tokenstream.c \
vendor/antlr3/src/antlr3treeparser.c
libsha1_la_CXXFLAGS = -I${top_srcdir}/vendor/sha1/include
libsha1_la_SOURCES = vendor/sha1/src/sha1.cpp vendor/sha1/include/sha1.h
libb64_la_CXXFLAGS =
libb64_la_CFLAGS = ${VENDOR_CFLAGS} -I${top_srcdir}/vendor/b64/include
libb64_la_SOURCES = vendor/b64/src/cdecode.c vendor/b64/src/cencode.c vendor/b64/include/b64/cdecode.h vendor/b64/include/b64/cencode.h
derptest_CXXFLAGS = ${AM_CXXFLAGS} -I${top_srcdir}/include
derptest_LDADD = libderpkit.la ${json_LIBS} -lSDL -lGLEW -lGL
derptest_SOURCES = src/test/window.cpp src/test/main.cpp
domtest_CXXFLAGS = ${AM_CXXFLAGS} -I${top_srcdir}/include -I${top_srcdir}/src
domtest_LDADD = libderpkit.la ${json_LIBS} -lGL
domtest_SOURCES = src/dom/test.cpp
test_dom_CXXFLAGS = ${AM_CXXFLAGS} $(CPPUNIT_CFLAGS)
test_dom_LDADD = libderpkit.la $(CPPUNIT_LIBS)
${top_srcdir}/src/css/parser/css3Parser.c: src/css/parser/css3Lexer.c
${top_srcdir}/src/css/parser/css3Parser.h: src/css/parser/css3Lexer.c
${top_srcdir}/src/css/parser/css3Lexer.h: src/css/parser/css3Lexer.c
${top_srcdir}/src/css/parser/css3Lexer.c: src/css/parser/css3.g
@test -e ${top_srcdir}/src/css/parser || mkdir -p ${top_srcdir}/src/css/parser
$(AM_V_GEN)antlr3 -make -fo ${top_srcdir}/src/css/parser $<
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libderpkit.pc