Introduce TinyHttp server
[lcapit-junk-code.git] / qt-course / helloworld / Makefile
blob80cffebb7c3c7602fc2cdac4cafbc0149e9974cc
1 #############################################################################
2 # Makefile for building: helloworld
3 # Generated by qmake (2.01a) (Qt 4.4.0) on: qui jul 10 20:23:19 2008
4 # Project: helloworld.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile helloworld.pro
7 #############################################################################
9 ####### Compiler, tools and options
11 CC = gcc
12 CXX = g++
13 DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -I.
17 LINK = g++
18 LFLAGS =
19 LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -L/usr/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
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 INSTALL_FILE = install -m 644 -p
30 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_PROGRAM = install -m 755 -p
32 DEL_FILE = rm -f
33 SYMLINK = ln -sf
34 DEL_DIR = rmdir
35 MOVE = mv -f
36 CHK_DIR_EXISTS= test -d
37 MKDIR = mkdir -p
39 ####### Output directory
41 OBJECTS_DIR = ./
43 ####### Files
45 SOURCES = helloworld.cpp
46 OBJECTS = helloworld.o
47 DIST = /usr/lib/qt4/mkspecs/common/g++.conf \
48 /usr/lib/qt4/mkspecs/common/unix.conf \
49 /usr/lib/qt4/mkspecs/common/linux.conf \
50 /usr/lib/qt4/mkspecs/qconfig.pri \
51 /usr/lib/qt4/mkspecs/features/qt_functions.prf \
52 /usr/lib/qt4/mkspecs/features/qt_config.prf \
53 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
54 /usr/lib/qt4/mkspecs/features/default_pre.prf \
55 /usr/lib/qt4/mkspecs/features/release.prf \
56 /usr/lib/qt4/mkspecs/features/default_post.prf \
57 /usr/lib/qt4/mkspecs/features/warn_on.prf \
58 /usr/lib/qt4/mkspecs/features/qt.prf \
59 /usr/lib/qt4/mkspecs/features/unix/thread.prf \
60 /usr/lib/qt4/mkspecs/features/moc.prf \
61 /usr/lib/qt4/mkspecs/features/resources.prf \
62 /usr/lib/qt4/mkspecs/features/uic.prf \
63 /usr/lib/qt4/mkspecs/features/yacc.prf \
64 /usr/lib/qt4/mkspecs/features/lex.prf \
65 helloworld.pro
66 QMAKE_TARGET = helloworld
67 DESTDIR =
68 TARGET = helloworld
70 first: all
71 ####### Implicit rules
73 .SUFFIXES: .o .c .cpp .cc .cxx .C
75 .cpp.o:
76 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
78 .cc.o:
79 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
81 .cxx.o:
82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
84 .C.o:
85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
87 .c.o:
88 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
90 ####### Build rules
92 all: Makefile $(TARGET)
94 $(TARGET): $(OBJECTS)
95 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
97 Makefile: helloworld.pro /usr/lib/qt4/mkspecs/linux-g++/qmake.conf /usr/lib/qt4/mkspecs/common/g++.conf \
98 /usr/lib/qt4/mkspecs/common/unix.conf \
99 /usr/lib/qt4/mkspecs/common/linux.conf \
100 /usr/lib/qt4/mkspecs/qconfig.pri \
101 /usr/lib/qt4/mkspecs/features/qt_functions.prf \
102 /usr/lib/qt4/mkspecs/features/qt_config.prf \
103 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
104 /usr/lib/qt4/mkspecs/features/default_pre.prf \
105 /usr/lib/qt4/mkspecs/features/release.prf \
106 /usr/lib/qt4/mkspecs/features/default_post.prf \
107 /usr/lib/qt4/mkspecs/features/warn_on.prf \
108 /usr/lib/qt4/mkspecs/features/qt.prf \
109 /usr/lib/qt4/mkspecs/features/unix/thread.prf \
110 /usr/lib/qt4/mkspecs/features/moc.prf \
111 /usr/lib/qt4/mkspecs/features/resources.prf \
112 /usr/lib/qt4/mkspecs/features/uic.prf \
113 /usr/lib/qt4/mkspecs/features/yacc.prf \
114 /usr/lib/qt4/mkspecs/features/lex.prf \
115 /usr/lib/libQtGui.prl \
116 /usr/lib/libQtCore.prl
117 $(QMAKE) -unix -o Makefile helloworld.pro
118 /usr/lib/qt4/mkspecs/common/g++.conf:
119 /usr/lib/qt4/mkspecs/common/unix.conf:
120 /usr/lib/qt4/mkspecs/common/linux.conf:
121 /usr/lib/qt4/mkspecs/qconfig.pri:
122 /usr/lib/qt4/mkspecs/features/qt_functions.prf:
123 /usr/lib/qt4/mkspecs/features/qt_config.prf:
124 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf:
125 /usr/lib/qt4/mkspecs/features/default_pre.prf:
126 /usr/lib/qt4/mkspecs/features/release.prf:
127 /usr/lib/qt4/mkspecs/features/default_post.prf:
128 /usr/lib/qt4/mkspecs/features/warn_on.prf:
129 /usr/lib/qt4/mkspecs/features/qt.prf:
130 /usr/lib/qt4/mkspecs/features/unix/thread.prf:
131 /usr/lib/qt4/mkspecs/features/moc.prf:
132 /usr/lib/qt4/mkspecs/features/resources.prf:
133 /usr/lib/qt4/mkspecs/features/uic.prf:
134 /usr/lib/qt4/mkspecs/features/yacc.prf:
135 /usr/lib/qt4/mkspecs/features/lex.prf:
136 /usr/lib/libQtGui.prl:
137 /usr/lib/libQtCore.prl:
138 qmake: FORCE
139 @$(QMAKE) -unix -o Makefile helloworld.pro
141 dist:
142 @$(CHK_DIR_EXISTS) .tmp/helloworld1.0.0 || $(MKDIR) .tmp/helloworld1.0.0
143 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/helloworld1.0.0/ && $(COPY_FILE) --parents helloworld.cpp .tmp/helloworld1.0.0/ && (cd `dirname .tmp/helloworld1.0.0` && $(TAR) helloworld1.0.0.tar helloworld1.0.0 && $(COMPRESS) helloworld1.0.0.tar) && $(MOVE) `dirname .tmp/helloworld1.0.0`/helloworld1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/helloworld1.0.0
146 clean:compiler_clean
147 -$(DEL_FILE) $(OBJECTS)
148 -$(DEL_FILE) *~ core *.core
151 ####### Sub-libraries
153 distclean: clean
154 -$(DEL_FILE) $(TARGET)
155 -$(DEL_FILE) Makefile
158 mocclean: compiler_moc_header_clean compiler_moc_source_clean
160 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
162 compiler_moc_header_make_all:
163 compiler_moc_header_clean:
164 compiler_rcc_make_all:
165 compiler_rcc_clean:
166 compiler_image_collection_make_all: qmake_image_collection.cpp
167 compiler_image_collection_clean:
168 -$(DEL_FILE) qmake_image_collection.cpp
169 compiler_moc_source_make_all:
170 compiler_moc_source_clean:
171 compiler_uic_make_all:
172 compiler_uic_clean:
173 compiler_yacc_decl_make_all:
174 compiler_yacc_decl_clean:
175 compiler_yacc_impl_make_all:
176 compiler_yacc_impl_clean:
177 compiler_lex_make_all:
178 compiler_lex_clean:
179 compiler_clean:
181 ####### Compile
183 helloworld.o: helloworld.cpp
184 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o helloworld.o helloworld.cpp
186 ####### Install
188 install: FORCE
190 uninstall: FORCE
192 FORCE: