blob: 0379a74a82f8b5f2d286f9a14ce098835ba1377f (
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
INCLUDEPATH += ../libembroidery
msvc {
QMAKE_CFLAGS += /Za #equivalent of -pedantic-errors
}
!msvc {
#Ensure anything that does not strictly adhere to C89 is treated as an error
QMAKE_CFLAGS += -std=c89 -pedantic-errors
QMAKE_CFLAGS += -fvisibility=hidden #Check exported symbols using: nm -C -D libembroidery.so | grep ' T '
#Ensure all implicit function declarations are errors rather than warnings
QMAKE_CFLAGS_WARN_ON += -Werror=implicit-function-declaration
}
#Uncomment line below to consider all warnings as errors
#QMAKE_CFLAGS_WARN_ON += -Werror
#Uncomment lines below to hide various warnings
#QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
#QMAKE_CFLAGS_WARN_ON += -Wno-unused-but-set-variable
#QMAKE_CFLAGS_WARN_ON += -Wno-unused-variable
SOURCES += \
../libembroidery/compound-file.c \
../libembroidery/compound-file-difat.c \
../libembroidery/compound-file-directory.c \
../libembroidery/compound-file-fat.c \
../libembroidery/compound-file-header.c \
../libembroidery/emb-arc.c \
../libembroidery/emb-circle.c \
../libembroidery/emb-compress.c \
../libembroidery/emb-color.c \
../libembroidery/emb-ellipse.c \
../libembroidery/emb-file.c \
../libembroidery/emb-flag.c \
../libembroidery/emb-format.c \
../libembroidery/emb-hash.c \
../libembroidery/emb-hoop.c \
../libembroidery/emb-layer.c \
../libembroidery/emb-line.c \
../libembroidery/emb-logging.c \
../libembroidery/emb-path.c \
../libembroidery/emb-pattern.c \
../libembroidery/emb-point.c \
../libembroidery/emb-polygon.c \
../libembroidery/emb-polyline.c \
../libembroidery/emb-reader-writer.c \
../libembroidery/emb-rect.c \
../libembroidery/emb-satin-line.c \
../libembroidery/emb-settings.c \
../libembroidery/emb-spline.c \
../libembroidery/emb-stitch.c \
../libembroidery/emb-thread.c \
../libembroidery/emb-time.c \
../libembroidery/emb-vector.c \
../libembroidery/hashtable.c \
../libembroidery/helpers-binary.c \
../libembroidery/helpers-misc.c \
../libembroidery/thread-color.c \
../libembroidery/format-10o.c \
../libembroidery/format-100.c \
../libembroidery/format-art.c \
../libembroidery/format-bmc.c \
../libembroidery/format-bro.c \
../libembroidery/format-cnd.c \
../libembroidery/format-col.c \
../libembroidery/format-csd.c \
../libembroidery/format-csv.c \
../libembroidery/format-dat.c \
../libembroidery/format-dem.c \
../libembroidery/format-dsb.c \
../libembroidery/format-dst.c \
../libembroidery/format-dsz.c \
../libembroidery/format-dxf.c \
../libembroidery/format-edr.c \
../libembroidery/format-emd.c \
../libembroidery/format-exp.c \
../libembroidery/format-exy.c \
../libembroidery/format-eys.c \
../libembroidery/format-fxy.c \
../libembroidery/format-gc.c \
../libembroidery/format-gnc.c \
../libembroidery/format-gt.c \
../libembroidery/format-hus.c \
../libembroidery/format-inb.c \
../libembroidery/format-inf.c \
../libembroidery/format-jef.c \
../libembroidery/format-ksm.c \
../libembroidery/format-max.c \
../libembroidery/format-mit.c \
../libembroidery/format-new.c \
../libembroidery/format-ofm.c \
../libembroidery/format-pcd.c \
../libembroidery/format-pcm.c \
../libembroidery/format-pcq.c \
../libembroidery/format-pcs.c \
../libembroidery/format-pec.c \
../libembroidery/format-pel.c \
../libembroidery/format-pem.c \
../libembroidery/format-pes.c \
../libembroidery/format-phb.c \
../libembroidery/format-phc.c \
../libembroidery/format-plt.c \
../libembroidery/format-rgb.c \
../libembroidery/format-sew.c \
../libembroidery/format-shv.c \
../libembroidery/format-sst.c \
../libembroidery/format-stx.c \
../libembroidery/format-svg.c \
../libembroidery/format-t01.c \
../libembroidery/format-t09.c \
../libembroidery/format-tap.c \
../libembroidery/format-thr.c \
../libembroidery/format-txt.c \
../libembroidery/format-u00.c \
../libembroidery/format-u01.c \
../libembroidery/format-vip.c \
../libembroidery/format-vp3.c \
../libembroidery/format-xxx.c \
../libembroidery/format-zsk.c \
HEADERS += \
../libembroidery/api-start.h \
../libembroidery/api-stop.h \
../libembroidery/compound-file.h \
../libembroidery/compound-file-common.h \
../libembroidery/compound-file-difat.h \
../libembroidery/compound-file-directory.h \
../libembroidery/compound-file-fat.h \
../libembroidery/compound-file-header.h \
../libembroidery/emb-arc.h \
../libembroidery/emb-circle.h \
../libembroidery/emb-compress.h \
../libembroidery/emb-color.h \
../libembroidery/emb-ellipse.h \
../libembroidery/emb-file.h \
../libembroidery/emb-flag.h \
../libembroidery/emb-format.h \
../libembroidery/emb-hash.h \
../libembroidery/emb-hoop.h \
../libembroidery/emb-layer.h \
../libembroidery/emb-line.h \
../libembroidery/emb-logging.h \
../libembroidery/emb-path.h \
../libembroidery/emb-pattern.h \
../libembroidery/emb-point.h \
../libembroidery/emb-polygon.h \
../libembroidery/emb-polyline.h \
../libembroidery/emb-reader-writer.h \
../libembroidery/emb-rect.h \
../libembroidery/emb-satin-line.h \
../libembroidery/emb-settings.h \
../libembroidery/emb-spline.h \
../libembroidery/emb-stitch.h \
../libembroidery/emb-thread.h \
../libembroidery/emb-time.h \
../libembroidery/emb-vector.h \
../libembroidery/hashtable.h \
../libembroidery/helpers-binary.h \
../libembroidery/helpers-misc.h \
../libembroidery/helpers-unused.h \
../libembroidery/thread-color.h \
../libembroidery/formats.h \
../libembroidery/format-10o.h \
../libembroidery/format-100.h \
../libembroidery/format-art.h \
../libembroidery/format-bmc.h \
../libembroidery/format-bro.h \
../libembroidery/format-cnd.h \
../libembroidery/format-col.h \
../libembroidery/format-csd.h \
../libembroidery/format-csv.h \
../libembroidery/format-dat.h \
../libembroidery/format-dem.h \
../libembroidery/format-dsb.h \
../libembroidery/format-dst.h \
../libembroidery/format-dsz.h \
../libembroidery/format-dxf.h \
../libembroidery/format-edr.h \
../libembroidery/format-emd.h \
../libembroidery/format-exp.h \
../libembroidery/format-exy.h \
../libembroidery/format-eys.h \
../libembroidery/format-fxy.h \
../libembroidery/format-gc.h \
../libembroidery/format-gnc.h \
../libembroidery/format-gt.h \
../libembroidery/format-hus.h \
../libembroidery/format-inb.h \
../libembroidery/format-inf.h \
../libembroidery/format-jef.h \
../libembroidery/format-ksm.h \
../libembroidery/format-max.h \
../libembroidery/format-mit.h \
../libembroidery/format-new.h \
../libembroidery/format-ofm.h \
../libembroidery/format-pcd.h \
../libembroidery/format-pcm.h \
../libembroidery/format-pcq.h \
../libembroidery/format-pcs.h \
../libembroidery/format-pec.h \
../libembroidery/format-pel.h \
../libembroidery/format-pem.h \
../libembroidery/format-pes.h \
../libembroidery/format-phb.h \
../libembroidery/format-phc.h \
../libembroidery/format-plt.h \
../libembroidery/format-rgb.h \
../libembroidery/format-sew.h \
../libembroidery/format-shv.h \
../libembroidery/format-sst.h \
../libembroidery/format-stx.h \
../libembroidery/format-svg.h \
../libembroidery/format-t01.h \
../libembroidery/format-t09.h \
../libembroidery/format-tap.h \
../libembroidery/format-thr.h \
../libembroidery/format-txt.h \
../libembroidery/format-u00.h \
../libembroidery/format-u01.h \
../libembroidery/format-vip.h \
../libembroidery/format-vp3.h \
../libembroidery/format-xxx.h \
../libembroidery/format-zsk.h \
# TODO: merge the computational geometry code into libembroidery structs
SOURCES += \
../libembroidery/geom-arc.c \
../libembroidery/geom-line.c \
HEADERS += \
../libembroidery/geom-arc.h \
../libembroidery/geom-line.h \
|