]> git.defcon.no Git - rctxduino/blob - tools/jstt/Makefile
Merge branch 'jstt_2'
[rctxduino] / tools / jstt / Makefile
1 #############################################################################
2 # Makefile for building: jstt
3 # Generated by qmake (2.01a) (Qt 4.6.3) on: Mon Sep 5 22:36:29 2011
4 # Project: jstt.pro
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC = gcc
12 CXX = g++
13 DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
17 LINK = g++
18 LFLAGS =
19 LIBS = $(SUBLIBS) -L/usr/lib -lSDL -lQtGui -lQtCore -lpthread
20 AR = ar cqs
21 RANLIB =
22 QMAKE = /usr/bin/qmake-qt4
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 jstt.cpp moc_jstt.cpp
48 OBJECTS = main.o \
49 jstt.o \
50 moc_jstt.o
51 DIST = /usr/share/qt4/mkspecs/common/g++.conf \
52 /usr/share/qt4/mkspecs/common/unix.conf \
53 /usr/share/qt4/mkspecs/common/linux.conf \
54 /usr/share/qt4/mkspecs/qconfig.pri \
55 /usr/share/qt4/mkspecs/features/qt_functions.prf \
56 /usr/share/qt4/mkspecs/features/qt_config.prf \
57 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
58 /usr/share/qt4/mkspecs/features/default_pre.prf \
59 /usr/share/qt4/mkspecs/features/debug.prf \
60 /usr/share/qt4/mkspecs/features/default_post.prf \
61 /usr/share/qt4/mkspecs/features/warn_on.prf \
62 /usr/share/qt4/mkspecs/features/qt.prf \
63 /usr/share/qt4/mkspecs/features/unix/thread.prf \
64 /usr/share/qt4/mkspecs/features/moc.prf \
65 /usr/share/qt4/mkspecs/features/resources.prf \
66 /usr/share/qt4/mkspecs/features/uic.prf \
67 /usr/share/qt4/mkspecs/features/yacc.prf \
68 /usr/share/qt4/mkspecs/features/lex.prf \
69 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
70 jstt.pro
71 QMAKE_TARGET = jstt
72 DESTDIR =
73 TARGET = jstt
74
75 first: all
76 ####### Implicit rules
77
78 .SUFFIXES: .o .c .cpp .cc .cxx .C
79
80 .cpp.o:
81 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
82
83 .cc.o:
84 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
85
86 .cxx.o:
87 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
88
89 .C.o:
90 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91
92 .c.o:
93 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
94
95 ####### Build rules
96
97 all: Makefile $(TARGET)
98
99 $(TARGET): ui_jstt.h $(OBJECTS)
100 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
101
102 Makefile: jstt.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
103 /usr/share/qt4/mkspecs/common/unix.conf \
104 /usr/share/qt4/mkspecs/common/linux.conf \
105 /usr/share/qt4/mkspecs/qconfig.pri \
106 /usr/share/qt4/mkspecs/features/qt_functions.prf \
107 /usr/share/qt4/mkspecs/features/qt_config.prf \
108 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
109 /usr/share/qt4/mkspecs/features/default_pre.prf \
110 /usr/share/qt4/mkspecs/features/debug.prf \
111 /usr/share/qt4/mkspecs/features/default_post.prf \
112 /usr/share/qt4/mkspecs/features/warn_on.prf \
113 /usr/share/qt4/mkspecs/features/qt.prf \
114 /usr/share/qt4/mkspecs/features/unix/thread.prf \
115 /usr/share/qt4/mkspecs/features/moc.prf \
116 /usr/share/qt4/mkspecs/features/resources.prf \
117 /usr/share/qt4/mkspecs/features/uic.prf \
118 /usr/share/qt4/mkspecs/features/yacc.prf \
119 /usr/share/qt4/mkspecs/features/lex.prf \
120 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
121 /usr/lib/libQtGui.prl \
122 /usr/lib/libQtCore.prl
123 $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
124 /usr/share/qt4/mkspecs/common/g++.conf:
125 /usr/share/qt4/mkspecs/common/unix.conf:
126 /usr/share/qt4/mkspecs/common/linux.conf:
127 /usr/share/qt4/mkspecs/qconfig.pri:
128 /usr/share/qt4/mkspecs/features/qt_functions.prf:
129 /usr/share/qt4/mkspecs/features/qt_config.prf:
130 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
131 /usr/share/qt4/mkspecs/features/default_pre.prf:
132 /usr/share/qt4/mkspecs/features/debug.prf:
133 /usr/share/qt4/mkspecs/features/default_post.prf:
134 /usr/share/qt4/mkspecs/features/warn_on.prf:
135 /usr/share/qt4/mkspecs/features/qt.prf:
136 /usr/share/qt4/mkspecs/features/unix/thread.prf:
137 /usr/share/qt4/mkspecs/features/moc.prf:
138 /usr/share/qt4/mkspecs/features/resources.prf:
139 /usr/share/qt4/mkspecs/features/uic.prf:
140 /usr/share/qt4/mkspecs/features/yacc.prf:
141 /usr/share/qt4/mkspecs/features/lex.prf:
142 /usr/share/qt4/mkspecs/features/include_source_dir.prf:
143 /usr/lib/libQtGui.prl:
144 /usr/lib/libQtCore.prl:
145 qmake: FORCE
146 @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile jstt.pro
147
148 dist:
149 @$(CHK_DIR_EXISTS) .tmp/jstt1.0.0 || $(MKDIR) .tmp/jstt1.0.0
150 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/jstt1.0.0/ && $(COPY_FILE) --parents jstt.h .tmp/jstt1.0.0/ && $(COPY_FILE) --parents main.cpp jstt.cpp .tmp/jstt1.0.0/ && $(COPY_FILE) --parents jstt.ui .tmp/jstt1.0.0/ && (cd `dirname .tmp/jstt1.0.0` && $(TAR) jstt1.0.0.tar jstt1.0.0 && $(COMPRESS) jstt1.0.0.tar) && $(MOVE) `dirname .tmp/jstt1.0.0`/jstt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/jstt1.0.0
151
152
153 clean:compiler_clean
154 -$(DEL_FILE) $(OBJECTS)
155 -$(DEL_FILE) *~ core *.core
156
157
158 ####### Sub-libraries
159
160 distclean: clean
161 -$(DEL_FILE) $(TARGET)
162 -$(DEL_FILE) Makefile
163
164
165 check: first
166
167 mocclean: compiler_moc_header_clean compiler_moc_source_clean
168
169 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
170
171 compiler_moc_header_make_all: moc_jstt.cpp
172 compiler_moc_header_clean:
173 -$(DEL_FILE) moc_jstt.cpp
174 moc_jstt.cpp: jstt.h
175 /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) jstt.h -o moc_jstt.cpp
176
177 compiler_rcc_make_all:
178 compiler_rcc_clean:
179 compiler_image_collection_make_all: qmake_image_collection.cpp
180 compiler_image_collection_clean:
181 -$(DEL_FILE) qmake_image_collection.cpp
182 compiler_moc_source_make_all:
183 compiler_moc_source_clean:
184 compiler_uic_make_all: ui_jstt.h
185 compiler_uic_clean:
186 -$(DEL_FILE) ui_jstt.h
187 ui_jstt.h: jstt.ui
188 /usr/bin/uic-qt4 jstt.ui -o ui_jstt.h
189
190 compiler_yacc_decl_make_all:
191 compiler_yacc_decl_clean:
192 compiler_yacc_impl_make_all:
193 compiler_yacc_impl_clean:
194 compiler_lex_make_all:
195 compiler_lex_clean:
196 compiler_clean: compiler_moc_header_clean compiler_uic_clean
197
198 ####### Compile
199
200 main.o: main.cpp jstt.h
201 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
202
203 jstt.o: jstt.cpp jstt.h \
204 ui_jstt.h
205 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o jstt.o jstt.cpp
206
207 moc_jstt.o: moc_jstt.cpp
208 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_jstt.o moc_jstt.cpp
209
210 ####### Install
211
212 install: FORCE
213
214 uninstall: FORCE
215
216 FORCE:
217