1 |
5 |
maiden |
#############################################################################
|
2 |
|
|
# Makefile for building: fonter
|
3 |
|
|
# Generated by qmake (2.01a) (Qt 4.8.1) on: Tue May 29 15:13:13 2012
|
4 |
|
|
# Project: fonter.pro
|
5 |
|
|
# Template: app
|
6 |
|
|
# Command: /usr/bin/qmake -o Makefile fonter.pro
|
7 |
|
|
#############################################################################
|
8 |
|
|
|
9 |
|
|
####### Compiler, tools and options
|
10 |
|
|
|
11 |
|
|
CC = gcc
|
12 |
|
|
CXX = g++
|
13 |
|
|
DEFINES = -DQT_WEBKIT
|
14 |
|
|
CFLAGS = -m64 -pipe -O2 -Wall -W $(DEFINES)
|
15 |
|
|
CXXFLAGS = -m64 -pipe -O2 -Wall -W $(DEFINES)
|
16 |
|
|
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2
|
17 |
|
|
LINK = g++
|
18 |
|
|
LFLAGS = -m64 -Wl,-O1
|
19 |
|
|
LIBS = $(SUBLIBS) `freetype-config --libs` -lfreetype
|
20 |
|
|
AR = ar cqs
|
21 |
|
|
RANLIB =
|
22 |
|
|
QMAKE = /usr/bin/qmake
|
23 |
|
|
TAR = tar -cf
|
24 |
|
|
COMPRESS = gzip -9f
|
25 |
|
|
COPY = cp -f
|
26 |
|
|
SED = sed
|
27 |
|
|
COPY_FILE = $(COPY)
|
28 |
|
|
COPY_DIR = $(COPY) -r
|
29 |
|
|
STRIP = strip
|
30 |
|
|
INSTALL_FILE = install -m 644 -p
|
31 |
|
|
INSTALL_DIR = $(COPY_DIR)
|
32 |
|
|
INSTALL_PROGRAM = install -m 755 -p
|
33 |
|
|
DEL_FILE = rm -f
|
34 |
|
|
SYMLINK = ln -f -s
|
35 |
|
|
DEL_DIR = rmdir
|
36 |
|
|
MOVE = mv -f
|
37 |
|
|
CHK_DIR_EXISTS= test -d
|
38 |
|
|
MKDIR = mkdir -p
|
39 |
|
|
|
40 |
|
|
####### Output directory
|
41 |
|
|
|
42 |
|
|
OBJECTS_DIR = ./
|
43 |
|
|
|
44 |
|
|
####### Files
|
45 |
|
|
|
46 |
|
|
SOURCES = main.cpp \
|
47 |
|
|
ttfpoint.cpp \
|
48 |
|
|
poly2tri/sweep/sweep_context.cc \
|
49 |
|
|
poly2tri/sweep/sweep.cc \
|
50 |
|
|
poly2tri/sweep/cdt.cc \
|
51 |
|
|
poly2tri/sweep/advancing_front.cc \
|
52 |
|
|
poly2tri/common/shapes.cc
|
53 |
|
|
OBJECTS = main.o \
|
54 |
|
|
ttfpoint.o \
|
55 |
|
|
sweep_context.o \
|
56 |
|
|
sweep.o \
|
57 |
|
|
cdt.o \
|
58 |
|
|
advancing_front.o \
|
59 |
|
|
shapes.o
|
60 |
|
|
DIST = /usr/share/qt4/mkspecs/common/unix.conf \
|
61 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
62 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
63 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
64 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
65 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
66 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
67 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
68 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
69 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
70 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
71 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
72 |
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
73 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
74 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
75 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
76 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
77 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
78 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
79 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
80 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
81 |
|
|
fonter.pro
|
82 |
|
|
QMAKE_TARGET = fonter
|
83 |
|
|
DESTDIR =
|
84 |
|
|
TARGET = fonter
|
85 |
|
|
|
86 |
|
|
first: all
|
87 |
|
|
####### Implicit rules
|
88 |
|
|
|
89 |
|
|
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
90 |
|
|
|
91 |
|
|
.cpp.o:
|
92 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
93 |
|
|
|
94 |
|
|
.cc.o:
|
95 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
96 |
|
|
|
97 |
|
|
.cxx.o:
|
98 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
99 |
|
|
|
100 |
|
|
.C.o:
|
101 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
102 |
|
|
|
103 |
|
|
.c.o:
|
104 |
|
|
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
105 |
|
|
|
106 |
|
|
####### Build rules
|
107 |
|
|
|
108 |
|
|
all: Makefile $(TARGET)
|
109 |
|
|
|
110 |
|
|
$(TARGET): $(OBJECTS)
|
111 |
|
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
112 |
|
|
|
113 |
|
|
Makefile: fonter.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
|
114 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
115 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
116 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
117 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
118 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
119 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
120 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
121 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
122 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
123 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
124 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
125 |
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
126 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
127 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
128 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
129 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
130 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
131 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
132 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
133 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf
|
134 |
|
|
$(QMAKE) -o Makefile fonter.pro
|
135 |
|
|
/usr/share/qt4/mkspecs/common/unix.conf:
|
136 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf:
|
137 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf:
|
138 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
|
139 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf:
|
140 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf:
|
141 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri:
|
142 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
|
143 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
144 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf:
|
145 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
146 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf:
|
147 |
|
|
/usr/share/qt4/mkspecs/features/release.prf:
|
148 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf:
|
149 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
|
150 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf:
|
151 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf:
|
152 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf:
|
153 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf:
|
154 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf:
|
155 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
156 |
|
|
qmake: FORCE
|
157 |
|
|
@$(QMAKE) -o Makefile fonter.pro
|
158 |
|
|
|
159 |
|
|
dist:
|
160 |
|
|
@$(CHK_DIR_EXISTS) .tmp/fonter1.0.0 || $(MKDIR) .tmp/fonter1.0.0
|
161 |
|
|
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/fonter1.0.0/ && (cd `dirname .tmp/fonter1.0.0` && $(TAR) fonter1.0.0.tar fonter1.0.0 && $(COMPRESS) fonter1.0.0.tar) && $(MOVE) `dirname .tmp/fonter1.0.0`/fonter1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/fonter1.0.0
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
clean:compiler_clean
|
165 |
|
|
-$(DEL_FILE) $(OBJECTS)
|
166 |
|
|
-$(DEL_FILE) *~ core *.core
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
####### Sub-libraries
|
170 |
|
|
|
171 |
|
|
distclean: clean
|
172 |
|
|
-$(DEL_FILE) $(TARGET)
|
173 |
|
|
-$(DEL_FILE) Makefile
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
check: first
|
177 |
|
|
|
178 |
|
|
compiler_rcc_make_all:
|
179 |
|
|
compiler_rcc_clean:
|
180 |
|
|
compiler_uic_make_all:
|
181 |
|
|
compiler_uic_clean:
|
182 |
|
|
compiler_image_collection_make_all: qmake_image_collection.cpp
|
183 |
|
|
compiler_image_collection_clean:
|
184 |
|
|
-$(DEL_FILE) qmake_image_collection.cpp
|
185 |
|
|
compiler_yacc_decl_make_all:
|
186 |
|
|
compiler_yacc_decl_clean:
|
187 |
|
|
compiler_yacc_impl_make_all:
|
188 |
|
|
compiler_yacc_impl_clean:
|
189 |
|
|
compiler_lex_make_all:
|
190 |
|
|
compiler_lex_clean:
|
191 |
|
|
compiler_clean:
|
192 |
|
|
|
193 |
|
|
####### Compile
|
194 |
|
|
|
195 |
|
|
main.o: main.cpp ttfpoint.h \
|
196 |
|
|
poly2tri/poly2tri.h \
|
197 |
|
|
poly2tri/common/shapes.h \
|
198 |
|
|
poly2tri/sweep/cdt.h \
|
199 |
|
|
poly2tri/sweep/advancing_front.h \
|
200 |
|
|
poly2tri/sweep/sweep_context.h \
|
201 |
|
|
poly2tri/sweep/sweep.h
|
202 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
203 |
|
|
|
204 |
|
|
ttfpoint.o: ttfpoint.cpp ttfpoint.h \
|
205 |
|
|
poly2tri/poly2tri.h \
|
206 |
|
|
poly2tri/common/shapes.h \
|
207 |
|
|
poly2tri/sweep/cdt.h \
|
208 |
|
|
poly2tri/sweep/advancing_front.h \
|
209 |
|
|
poly2tri/sweep/sweep_context.h \
|
210 |
|
|
poly2tri/sweep/sweep.h
|
211 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o ttfpoint.o ttfpoint.cpp
|
212 |
|
|
|
213 |
|
|
sweep_context.o: poly2tri/sweep/sweep_context.cc poly2tri/sweep/sweep_context.h \
|
214 |
|
|
poly2tri/sweep/advancing_front.h \
|
215 |
|
|
poly2tri/common/shapes.h
|
216 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o sweep_context.o poly2tri/sweep/sweep_context.cc
|
217 |
|
|
|
218 |
|
|
sweep.o: poly2tri/sweep/sweep.cc poly2tri/sweep/sweep.h \
|
219 |
|
|
poly2tri/sweep/sweep_context.h \
|
220 |
|
|
poly2tri/sweep/advancing_front.h \
|
221 |
|
|
poly2tri/common/shapes.h \
|
222 |
|
|
poly2tri/common/utils.h
|
223 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o sweep.o poly2tri/sweep/sweep.cc
|
224 |
|
|
|
225 |
|
|
cdt.o: poly2tri/sweep/cdt.cc poly2tri/sweep/cdt.h \
|
226 |
|
|
poly2tri/sweep/advancing_front.h \
|
227 |
|
|
poly2tri/common/shapes.h \
|
228 |
|
|
poly2tri/sweep/sweep_context.h \
|
229 |
|
|
poly2tri/sweep/sweep.h
|
230 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o cdt.o poly2tri/sweep/cdt.cc
|
231 |
|
|
|
232 |
|
|
advancing_front.o: poly2tri/sweep/advancing_front.cc poly2tri/sweep/advancing_front.h \
|
233 |
|
|
poly2tri/common/shapes.h
|
234 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o advancing_front.o poly2tri/sweep/advancing_front.cc
|
235 |
|
|
|
236 |
|
|
shapes.o: poly2tri/common/shapes.cc poly2tri/common/shapes.h
|
237 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o shapes.o poly2tri/common/shapes.cc
|
238 |
|
|
|
239 |
|
|
####### Install
|
240 |
|
|
|
241 |
|
|
install: FORCE
|
242 |
|
|
|
243 |
|
|
uninstall: FORCE
|
244 |
|
|
|
245 |
|
|
FORCE:
|
246 |
|
|
|