updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / chrontel-wetab-rpm / Makefile
blob41e89cd17191c1dab80af5105f55dd6248f221ee
1 #############################################################################
2 # Makefile for building: tiitoo-hdmi-daemon
3 # Generated by qmake, patched by untitaker
4 # Project: tiitoo-hdmi-daemon.pro
5 # Template: app
6 # Command: /usr/bin/qmake -o Makefile tiitoo-hdmi-daemon.pro
7 #############################################################################
9 ####### Compiler, tools and options
11 CC = gcc
12 CXX = g++
13 DEFINES = -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include -I.
17 LINK = g++
18 LFLAGS = -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,-O1
19 LIBS = $(SUBLIBS) -L/usr/lib -lX11 -lXrandr -lQtDBus -lQtCore -lpthread -lXext
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
40 ####### Output directory
42 OBJECTS_DIR = ./
44 ####### Files
46 SOURCES = src/xrr_utils.cpp \
47 src/GenTableCH7036.cpp \
48 src/ediddata.cpp \
49 src/edid_utils.cpp \
50 src/ch7036control.cpp \
51 src/ch7036_monitor.cpp \
52 src/ch7036_access.cpp \
53 src/main.cpp \
54 src/ch7036dbusadaptor.cpp moc_ediddata.cpp \
55 moc_ch7036control.cpp \
56 moc_ch7036dbusadaptor.cpp
57 OBJECTS = xrr_utils.o \
58 GenTableCH7036.o \
59 ediddata.o \
60 edid_utils.o \
61 ch7036control.o \
62 ch7036_monitor.o \
63 ch7036_access.o \
64 main.o \
65 ch7036dbusadaptor.o \
66 moc_ediddata.o \
67 moc_ch7036control.o \
68 moc_ch7036dbusadaptor.o
69 DIST = /usr/share/qt/mkspecs/common/unix.conf \
70 /usr/share/qt/mkspecs/common/linux.conf \
71 /usr/share/qt/mkspecs/common/gcc-base.conf \
72 /usr/share/qt/mkspecs/common/gcc-base-unix.conf \
73 /usr/share/qt/mkspecs/common/g++-base.conf \
74 /usr/share/qt/mkspecs/common/g++-unix.conf \
75 /usr/share/qt/mkspecs/qconfig.pri \
76 /usr/share/qt/mkspecs/features/qt_functions.prf \
77 /usr/share/qt/mkspecs/features/qt_config.prf \
78 /usr/share/qt/mkspecs/features/exclusive_builds.prf \
79 /usr/share/qt/mkspecs/features/default_pre.prf \
80 /usr/share/qt/mkspecs/features/release.prf \
81 /usr/share/qt/mkspecs/features/default_post.prf \
82 /usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf \
83 /usr/share/qt/mkspecs/features/warn_on.prf \
84 /usr/share/qt/mkspecs/features/qt.prf \
85 /usr/share/qt/mkspecs/features/moc.prf \
86 /usr/share/qt/mkspecs/features/dbusinterfaces.prf \
87 /usr/share/qt/mkspecs/features/dbusadaptors.prf \
88 /usr/share/qt/mkspecs/features/unix/thread.prf \
89 /usr/share/qt/mkspecs/features/resources.prf \
90 /usr/share/qt/mkspecs/features/uic.prf \
91 /usr/share/qt/mkspecs/features/yacc.prf \
92 /usr/share/qt/mkspecs/features/lex.prf \
93 /usr/share/qt/mkspecs/features/include_source_dir.prf \
94 tiitoo-hdmi-daemon.pro
95 QMAKE_TARGET = tiitoo-hdmi-daemon
96 DESTDIR =
97 TARGET = tiitoo-hdmi-daemon
99 first: all
100 ####### Implicit rules
102 .SUFFIXES: .o .c .cpp .cc .cxx .C
104 .cpp.o:
105 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107 .cc.o:
108 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
110 .cxx.o:
111 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113 .C.o:
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116 .c.o:
117 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
119 ####### Build rules
121 all: Makefile $(TARGET)
123 $(TARGET): $(OBJECTS)
124 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
126 Makefile: tiitoo-hdmi-daemon.pro /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/share/qt/mkspecs/common/unix.conf \
127 /usr/share/qt/mkspecs/common/linux.conf \
128 /usr/share/qt/mkspecs/common/gcc-base.conf \
129 /usr/share/qt/mkspecs/common/gcc-base-unix.conf \
130 /usr/share/qt/mkspecs/common/g++-base.conf \
131 /usr/share/qt/mkspecs/common/g++-unix.conf \
132 /usr/share/qt/mkspecs/qconfig.pri \
133 /usr/share/qt/mkspecs/features/qt_functions.prf \
134 /usr/share/qt/mkspecs/features/qt_config.prf \
135 /usr/share/qt/mkspecs/features/exclusive_builds.prf \
136 /usr/share/qt/mkspecs/features/default_pre.prf \
137 /usr/share/qt/mkspecs/features/release.prf \
138 /usr/share/qt/mkspecs/features/default_post.prf \
139 /usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf \
140 /usr/share/qt/mkspecs/features/warn_on.prf \
141 /usr/share/qt/mkspecs/features/qt.prf \
142 /usr/share/qt/mkspecs/features/moc.prf \
143 /usr/share/qt/mkspecs/features/dbusinterfaces.prf \
144 /usr/share/qt/mkspecs/features/dbusadaptors.prf \
145 /usr/share/qt/mkspecs/features/unix/thread.prf \
146 /usr/share/qt/mkspecs/features/resources.prf \
147 /usr/share/qt/mkspecs/features/uic.prf \
148 /usr/share/qt/mkspecs/features/yacc.prf \
149 /usr/share/qt/mkspecs/features/lex.prf \
150 /usr/share/qt/mkspecs/features/include_source_dir.prf \
151 /usr/lib/libQtDBus.prl \
152 /usr/lib/libQtCore.prl
153 $(QMAKE) -o Makefile tiitoo-hdmi-daemon.pro
154 /usr/share/qt/mkspecs/common/unix.conf:
155 /usr/share/qt/mkspecs/common/linux.conf:
156 /usr/share/qt/mkspecs/common/gcc-base.conf:
157 /usr/share/qt/mkspecs/common/gcc-base-unix.conf:
158 /usr/share/qt/mkspecs/common/g++-base.conf:
159 /usr/share/qt/mkspecs/common/g++-unix.conf:
160 /usr/share/qt/mkspecs/qconfig.pri:
161 /usr/share/qt/mkspecs/features/qt_functions.prf:
162 /usr/share/qt/mkspecs/features/qt_config.prf:
163 /usr/share/qt/mkspecs/features/exclusive_builds.prf:
164 /usr/share/qt/mkspecs/features/default_pre.prf:
165 /usr/share/qt/mkspecs/features/release.prf:
166 /usr/share/qt/mkspecs/features/default_post.prf:
167 /usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf:
168 /usr/share/qt/mkspecs/features/warn_on.prf:
169 /usr/share/qt/mkspecs/features/qt.prf:
170 /usr/share/qt/mkspecs/features/moc.prf:
171 /usr/share/qt/mkspecs/features/dbusinterfaces.prf:
172 /usr/share/qt/mkspecs/features/dbusadaptors.prf:
173 /usr/share/qt/mkspecs/features/unix/thread.prf:
174 /usr/share/qt/mkspecs/features/resources.prf:
175 /usr/share/qt/mkspecs/features/uic.prf:
176 /usr/share/qt/mkspecs/features/yacc.prf:
177 /usr/share/qt/mkspecs/features/lex.prf:
178 /usr/share/qt/mkspecs/features/include_source_dir.prf:
179 /usr/lib/libQtDBus.prl:
180 /usr/lib/libQtCore.prl:
181 qmake: FORCE
182 @$(QMAKE) -o Makefile tiitoo-hdmi-daemon.pro
184 dist:
185 @$(CHK_DIR_EXISTS) .tmp/tiitoo-hdmi-daemon1.0.0 || $(MKDIR) .tmp/tiitoo-hdmi-daemon1.0.0
186 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/tiitoo-hdmi-daemon1.0.0/ && $(COPY_FILE) --parents src/xrr_utils.h src/GenTableCH7036.h src/ediddata.h src/edid_utils.h src/ch7036control.h src/ch7036.h src/ch7036_monitor.h src/ch7036dbusadaptor.h .tmp/tiitoo-hdmi-daemon1.0.0/ && $(COPY_FILE) --parents src/xrr_utils.cpp src/GenTableCH7036.cpp src/ediddata.cpp src/edid_utils.cpp src/ch7036control.cpp src/ch7036_monitor.cpp src/ch7036_access.cpp src/main.cpp src/ch7036dbusadaptor.cpp .tmp/tiitoo-hdmi-daemon1.0.0/ && (cd `dirname .tmp/tiitoo-hdmi-daemon1.0.0` && $(TAR) tiitoo-hdmi-daemon1.0.0.tar tiitoo-hdmi-daemon1.0.0 && $(COMPRESS) tiitoo-hdmi-daemon1.0.0.tar) && $(MOVE) `dirname .tmp/tiitoo-hdmi-daemon1.0.0`/tiitoo-hdmi-daemon1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/tiitoo-hdmi-daemon1.0.0
189 clean:compiler_clean
190 -$(DEL_FILE) $(OBJECTS)
191 -$(DEL_FILE) *~ core *.core
194 ####### Sub-libraries
196 distclean: clean
197 -$(DEL_FILE) $(TARGET)
198 -$(DEL_FILE) Makefile
201 check: first
203 mocclean: compiler_moc_header_clean compiler_moc_source_clean
205 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
207 compiler_moc_header_make_all: moc_ediddata.cpp moc_ch7036control.cpp moc_ch7036dbusadaptor.cpp
208 compiler_moc_header_clean:
209 -$(DEL_FILE) moc_ediddata.cpp moc_ch7036control.cpp moc_ch7036dbusadaptor.cpp
210 moc_ediddata.cpp: src/edid_utils.h \
211 src/ediddata.h
212 /usr/bin/moc $(DEFINES) $(INCPATH) src/ediddata.h -o moc_ediddata.cpp
214 moc_ch7036control.cpp: src/ediddata.h \
215 src/edid_utils.h \
216 src/ch7036_monitor.h \
217 src/ch7036.h \
218 src/GenTableCH7036.h \
219 src/xrr_utils.h \
220 src/ch7036control.h
221 /usr/bin/moc $(DEFINES) $(INCPATH) src/ch7036control.h -o moc_ch7036control.cpp
223 moc_ch7036dbusadaptor.cpp: src/ch7036control.h \
224 src/ediddata.h \
225 src/edid_utils.h \
226 src/ch7036_monitor.h \
227 src/ch7036.h \
228 src/GenTableCH7036.h \
229 src/xrr_utils.h \
230 src/ch7036dbusadaptor.h
231 /usr/bin/moc $(DEFINES) $(INCPATH) src/ch7036dbusadaptor.h -o moc_ch7036dbusadaptor.cpp
233 compiler_dbus_interface_source_make_all:
234 compiler_dbus_interface_source_clean:
235 compiler_dbus_adaptor_source_make_all:
236 compiler_dbus_adaptor_source_clean:
237 compiler_rcc_make_all:
238 compiler_rcc_clean:
239 compiler_image_collection_make_all: qmake_image_collection.cpp
240 compiler_image_collection_clean:
241 -$(DEL_FILE) qmake_image_collection.cpp
242 compiler_moc_source_make_all:
243 compiler_moc_source_clean:
244 compiler_dbus_interface_header_make_all:
245 compiler_dbus_interface_header_clean:
246 compiler_dbus_interface_moc_make_all:
247 compiler_dbus_interface_moc_clean:
248 compiler_dbus_adaptor_header_make_all:
249 compiler_dbus_adaptor_header_clean:
250 compiler_dbus_adaptor_moc_make_all:
251 compiler_dbus_adaptor_moc_clean:
252 compiler_uic_make_all:
253 compiler_uic_clean:
254 compiler_yacc_decl_make_all:
255 compiler_yacc_decl_clean:
256 compiler_yacc_impl_make_all:
257 compiler_yacc_impl_clean:
258 compiler_lex_make_all:
259 compiler_lex_clean:
260 compiler_clean: compiler_moc_header_clean
262 ####### Compile
264 xrr_utils.o: src/xrr_utils.cpp src/xrr_utils.h
265 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xrr_utils.o src/xrr_utils.cpp
267 GenTableCH7036.o: src/GenTableCH7036.cpp src/GenTableCH7036.h
268 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o GenTableCH7036.o src/GenTableCH7036.cpp
270 ediddata.o: src/ediddata.cpp src/ediddata.h \
271 src/edid_utils.h
272 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ediddata.o src/ediddata.cpp
274 edid_utils.o: src/edid_utils.cpp src/edid_utils.h
275 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o edid_utils.o src/edid_utils.cpp
277 ch7036control.o: src/ch7036control.cpp src/ch7036control.h \
278 src/ediddata.h \
279 src/edid_utils.h \
280 src/ch7036_monitor.h \
281 src/ch7036.h \
282 src/GenTableCH7036.h \
283 src/xrr_utils.h
284 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ch7036control.o src/ch7036control.cpp
286 ch7036_monitor.o: src/ch7036_monitor.cpp src/ch7036_monitor.h \
287 src/ch7036.h \
288 src/GenTableCH7036.h \
289 src/edid_utils.h \
290 src/xrr_utils.h
291 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ch7036_monitor.o src/ch7036_monitor.cpp
293 ch7036_access.o: src/ch7036_access.cpp src/ch7036.h \
294 src/GenTableCH7036.h
295 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ch7036_access.o src/ch7036_access.cpp
297 main.o: src/main.cpp src/ch7036dbusadaptor.h \
298 src/ch7036control.h \
299 src/ediddata.h \
300 src/edid_utils.h \
301 src/ch7036_monitor.h \
302 src/ch7036.h \
303 src/GenTableCH7036.h \
304 src/xrr_utils.h
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o src/main.cpp
307 ch7036dbusadaptor.o: src/ch7036dbusadaptor.cpp src/ch7036dbusadaptor.h \
308 src/ch7036control.h \
309 src/ediddata.h \
310 src/edid_utils.h \
311 src/ch7036_monitor.h \
312 src/ch7036.h \
313 src/GenTableCH7036.h \
314 src/xrr_utils.h
315 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ch7036dbusadaptor.o src/ch7036dbusadaptor.cpp
317 moc_ediddata.o: moc_ediddata.cpp
318 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ediddata.o moc_ediddata.cpp
320 moc_ch7036control.o: moc_ch7036control.cpp
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ch7036control.o moc_ch7036control.cpp
323 moc_ch7036dbusadaptor.o: moc_ch7036dbusadaptor.cpp
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_ch7036dbusadaptor.o moc_ch7036dbusadaptor.cpp
326 ####### Install
328 install: FORCE
330 uninstall: FORCE
332 FORCE: