summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: cf5ab5a49bbad2cc5f14078eefe088d991a0e18e (plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
NULL =

lib_LTLIBRARIES=libcroco-0.6.la

if PLATFORM_WIN32
no_undefined = -no-undefined
endif

#Headers files to be distributed
crocoincdir = $(includedir)/$(PACKAGE)-$(LIBCROCO_MAJOR_VERSION).$(LIBCROCO_MINOR_VERSION)/libcroco
crocoinc_HEADERS = \
libcroco.h \
cr-additional-sel.h \
cr-attr-sel.h \
cr-cascade.h \
cr-declaration.h \
cr-doc-handler.h \
cr-enc-handler.h \
cr-input.h \
cr-num.h \
cr-om-parser.h \
cr-parser.h \
cr-pseudo.h \
cr-rgb.h \
cr-selector.h \
cr-simple-sel.h \
cr-statement.h \
cr-stylesheet.h \
cr-term.h \
cr-tknzr.h \
cr-token.h \
cr-utils.h \
cr-fonts.h \
cr-sel-eng.h \
cr-style.h \
cr-prop-list.h \
cr-parsing-location.h \
cr-string.h \
libcroco-config.h \
$(NULL)

libcroco_0_6_la_SOURCES = \
cr-utils.c \
cr-utils.h \
cr-input.c \
cr-input.h \
cr-enc-handler.c \
cr-enc-handler.h \
cr-num.c \
cr-num.h \
cr-rgb.c \
cr-rgb.h \
cr-token.c \
cr-token.h \
cr-tknzr.c \
cr-tknzr.h \
cr-term.c \
cr-term.h \
cr-attr-sel.c \
cr-attr-sel.h \
cr-pseudo.c \
cr-pseudo.h \
cr-additional-sel.c \
cr-additional-sel.h \
cr-simple-sel.c \
cr-simple-sel.h \
cr-selector.c \
cr-selector.h \
cr-doc-handler.c \
cr-doc-handler.h \
cr-parser.c \
cr-parser.h \
cr-declaration.c \
cr-declaration.h \
cr-statement.c \
cr-statement.h \
cr-stylesheet.c \
cr-stylesheet.h \
cr-cascade.c \
cr-cascade.h \
cr-om-parser.c \
cr-om-parser.h \
cr-style.c \
cr-style.h \
cr-sel-eng.c \
cr-sel-eng.h \
cr-fonts.c \
cr-fonts.h \
cr-prop-list.c \
cr-prop-list.h \
cr-parsing-location.c \
cr-parsing-location.h \
cr-string.c \
cr-string.h \
$(NULL)

libcroco_0_6_la_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/intl \
	-I $(top_builddir)/src \
	$(AM_CPPFLAGS)

libcroco_0_6_la_CFLAGS = \
	$(CROCO_CFLAGS) \
	$(AM_CFLAGS)

libcroco_0_6_la_LDFLAGS = \
	-version-info @LIBCROCO_VERSION_INFO@ \
	$(no_undefined) \
	$(BSYMBOLIC_LDFLAG) \
	$(AM_LDFLAGS)

libcroco_0_6_la_LIBADD = \
	$(CROCO_LIBS)

EXTRA_DIST = libcroco.symbols

dist-hook: ../build/win32/vs9/croco.vcproj ../build/win32/vs10/croco.vcxproj ../build/win32/vs10/croco.vcxproj.filters

../build/win32/vs9/croco.vcproj: $(top_srcdir)/build/win32/vs9/croco.vcprojin
	for F in $(libcroco_0_6_la_SOURCES); do \
		case $$F in \
		*.c) echo '   <File RelativePath="..\..\..\src\'$$F'" />' \
		     ;; \
		esac; \
	done >libcroco.sourcefiles
	$(CPP) -P - <$(top_srcdir)/build/win32/vs9/croco.vcprojin >$@
	rm libcroco.sourcefiles

../build/win32/vs10/croco.vcxproj: $(top_srcdir)/build/win32/vs10/croco.vcxprojin
	for F in $(libcroco_0_6_la_SOURCES); do \
		case $$F in \
		*.c) echo '    <ClCompile Include="..\..\..\src\'$$F'" />' \
		     ;; \
		esac; \
	done >libcroco.vs10.sourcefiles
	$(CPP) -P - <$(top_srcdir)/build/win32/vs10/croco.vcxprojin >$@
	rm libcroco.vs10.sourcefiles

../build/win32/vs10/croco.vcxproj.filters: $(top_srcdir)/build/win32/vs10/croco.vcxproj.filtersin
	for F in $(libcroco_0_6_la_SOURCES); do \
		case $$F in \
		*.c) echo '    <ClCompile Include="..\..\..\src\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
		     ;; \
		esac; \
	done >libcroco.vs10.sourcefiles.filters
	$(CPP) -P - <$(top_srcdir)/build/win32/vs10/croco.vcxproj.filtersin >$@
	rm libcroco.vs10.sourcefiles.filters