Project:
Gnash
Code Location:
git://git.savannah.gnu.org/gnash.gitmaster
pch.am
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
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
# # Copyright (C) 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # # PCH is precompiled headers, which can spead up builds. # if ENABLE_PCH BUILT_SOURCES += all-includes.h.gch PCHHEADERS = \ $(top_srcdir)/libcore/asobj/Global_as.h \ $(top_srcdir)/libcore/builtin_function.h \ $(top_srcdir)/libcore/NativeFunction.h \ $(top_srcdir)/libcore/Shape.h \ $(top_srcdir)/libcore/SWFStream.h \ $(top_srcdir)/libcore/ObjectURI.h \ $(top_srcdir)/libcore/PropertyList.h \ $(top_srcdir)/libcore/movie_root.h \ $(top_srcdir)/libcore/SWFRect.h \ $(top_srcdir)/libcore/MovieClip.h \ $(top_srcdir)/libcore/SWFMatrix.h \ $(top_srcdir)/libcore/DisplayList.h \ $(top_srcdir)/libcore/DynamicShape.h \ $(top_srcdir)/libcore/Geometry.h \ $(top_srcdir)/libbase/SimpleBuffer.h \ $(top_srcdir)/libbase/GnashNumeric.h \ $(top_srcdir)/libbase/tu_file.h \ $(top_srcdir)/libbase/GnashAlgorithm.h \ $(top_srcdir)/libbase/smart_ptr.h \ $(top_srcdir)/libbase/GC.h \ $(top_srcdir)/libbase/log.h \ $(top_srcdir)/libbase/rc.h \ $(top_srcdir)/libbase/URL.h \ $(top_srcdir)/libbase/snappingrange.h \ $(top_srcdir)/libbase/GnashImage.h \ $(NULL) PCHFLAGS = \ -I$(top_builddir) \ -I$(srcdir) \ -I$(top_srcdir) \ -I$(top_srcdir)/libamf \ -I$(top_srcdir)/libnet \ -I$(top_srcdir)/libcore \ -I$(top_srcdir)/libcore/parser \ -I$(top_srcdir)/libcore/swf \ -I$(top_srcdir)/libcore/vm \ -I$(top_srcdir)/libbase \ -I$(top_srcdir)/backend \ -I$(top_srcdir)/libcore/abc \ -I$(top_srcdir)/libcore/asobj \ -I$(top_srcdir)/libcore/asobj/flash \ -I$(top_srcdir)/libltdl \ -I$(top_srcdir)/libcore/vm \ -I$(top_srcdir)/libmedia \ -I$(top_srcdir)/libsound \ $(PTHREAD_CFLAGS) \ $(NULL) all-includes.h.gch: $(PCHHEADERS) for i in $(PCHHEADERS); do \ file=`basename $$i`; \ echo "#include \"$$file\"" >> all-includes.h ; \ done; \ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -fPIC -DPIC \ $(PCHFLAGS) -x c++-header -c -o all-includes.h.gch all-includes.h; \ rm all-includes.h; $(PCHHEADERS): all-includes.h.gch CLEANFILES += all-includes.h.gch endif
