]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
1c63a41fb7c33bc60d596b1ba53a0ef416f46830
[bacula/bacula] / bacula / src / qt-console / Makefile
1 #############################################################################
2 # Makefile for building: qt-console
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Jan 26 15:30:33 2007
4 # Project:  qt-console.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile qt-console.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 LEX           = flex
14 YACC          = yacc
15 DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
16 CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT  $(DEFINES)
17 CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT  $(DEFINES)
18 LEXFLAGS      = 
19 YACCFLAGS     = -d
20 INCPATH       = -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I.
21 LINK          = g++
22 LFLAGS        = 
23 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
24 AR            = ar cqs
25 RANLIB        = 
26 QMAKE         = /usr/bin/qmake
27 TAR           = tar -cf
28 COMPRESS      = gzip -9f
29 COPY          = cp -f
30 COPY_FILE     = $(COPY)
31 COPY_DIR      = $(COPY) -r
32 INSTALL_FILE  = install -m 644 -p
33 INSTALL_DIR   = $(COPY_DIR)
34 INSTALL_PROGRAM = install -m 755 -p
35 DEL_FILE      = rm -f
36 SYMLINK       = ln -sf
37 DEL_DIR       = rmdir
38 MOVE          = mv -f
39 CHK_DIR_EXISTS= test -d
40 MKDIR         = mkdir -p
41
42 ####### Output directory
43
44 OBJECTS_DIR   = ./
45
46 ####### Files
47
48 SOURCES       = main.cpp \
49                 mainwindow.cpp moc_mainwindow.cpp \
50                 qrc_main.cpp
51 OBJECTS       = main.o \
52                 mainwindow.o \
53                 moc_mainwindow.o \
54                 qrc_main.o
55 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
56                 /usr/share/qt4/mkspecs/common/g++.conf \
57                 /usr/share/qt4/mkspecs/common/linux.conf \
58                 /usr/share/qt4/mkspecs/qconfig.pri \
59                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
60                 /usr/share/qt4/mkspecs/features/qt_config.prf \
61                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
62                 /usr/share/qt4/mkspecs/features/default_pre.prf \
63                 /usr/share/qt4/mkspecs/features/release.prf \
64                 /usr/share/qt4/mkspecs/features/default_post.prf \
65                 /usr/share/qt4/mkspecs/features/warn_on.prf \
66                 /usr/share/qt4/mkspecs/features/qt.prf \
67                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
68                 /usr/share/qt4/mkspecs/features/moc.prf \
69                 /usr/share/qt4/mkspecs/features/resources.prf \
70                 /usr/share/qt4/mkspecs/features/uic.prf \
71                 qt-console.pro
72 QMAKE_TARGET  = qt-console
73 DESTDIR       = 
74 TARGET        = qt-console
75
76 first: all
77 ####### Implicit rules
78
79 .SUFFIXES: .o .c .cpp .cc .cxx .C
80
81 .cpp.o:
82         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83
84 .cc.o:
85         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86
87 .cxx.o:
88         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90 .C.o:
91         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
93 .c.o:
94         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
95
96 ####### Build rules
97
98 all: Makefile $(TARGET)
99
100 $(TARGET): ui_main.h $(OBJECTS)  
101         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
102
103 Makefile: qt-console.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
104                 /usr/share/qt4/mkspecs/common/g++.conf \
105                 /usr/share/qt4/mkspecs/common/linux.conf \
106                 /usr/share/qt4/mkspecs/qconfig.pri \
107                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
108                 /usr/share/qt4/mkspecs/features/qt_config.prf \
109                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
110                 /usr/share/qt4/mkspecs/features/default_pre.prf \
111                 /usr/share/qt4/mkspecs/features/release.prf \
112                 /usr/share/qt4/mkspecs/features/default_post.prf \
113                 /usr/share/qt4/mkspecs/features/warn_on.prf \
114                 /usr/share/qt4/mkspecs/features/qt.prf \
115                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
116                 /usr/share/qt4/mkspecs/features/moc.prf \
117                 /usr/share/qt4/mkspecs/features/resources.prf \
118                 /usr/share/qt4/mkspecs/features/uic.prf \
119                 /usr/lib/libQtGui.prl \
120                 /usr/lib/libQtCore.prl
121         $(QMAKE) -unix -o Makefile qt-console.pro
122 /usr/share/qt4/mkspecs/common/unix.conf:
123 /usr/share/qt4/mkspecs/common/g++.conf:
124 /usr/share/qt4/mkspecs/common/linux.conf:
125 /usr/share/qt4/mkspecs/qconfig.pri:
126 /usr/share/qt4/mkspecs/features/qt_functions.prf:
127 /usr/share/qt4/mkspecs/features/qt_config.prf:
128 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
129 /usr/share/qt4/mkspecs/features/default_pre.prf:
130 /usr/share/qt4/mkspecs/features/release.prf:
131 /usr/share/qt4/mkspecs/features/default_post.prf:
132 /usr/share/qt4/mkspecs/features/warn_on.prf:
133 /usr/share/qt4/mkspecs/features/qt.prf:
134 /usr/share/qt4/mkspecs/features/unix/thread.prf:
135 /usr/share/qt4/mkspecs/features/moc.prf:
136 /usr/share/qt4/mkspecs/features/resources.prf:
137 /usr/share/qt4/mkspecs/features/uic.prf:
138 /usr/lib/libQtGui.prl:
139 /usr/lib/libQtCore.prl:
140 qmake:  FORCE
141         @$(QMAKE) -unix -o Makefile qt-console.pro
142
143 dist: 
144         @$(CHK_DIR_EXISTS) .tmp/qt-console1.0.0 || $(MKDIR) .tmp/qt-console1.0.0 
145         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents mainwindow.h .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/qt-console1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/qt-console1.0.0/ && (cd `dirname .tmp/qt-console1.0.0` && $(TAR) qt-console1.0.0.tar qt-console1.0.0 && $(COMPRESS) qt-console1.0.0.tar) && $(MOVE) `dirname .tmp/qt-console1.0.0`/qt-console1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt-console1.0.0
146
147
148 yaccclean:
149 lexclean:
150 clean:compiler_clean 
151         -$(DEL_FILE) $(OBJECTS)
152         -$(DEL_FILE) *~ core *.core
153
154
155 ####### Sub-libraries
156
157 distclean: clean
158         -$(DEL_FILE) $(TARGET) 
159         -$(DEL_FILE) Makefile
160
161
162 /usr/bin/moc:
163         (cd $(QTDIR)/src/tools/moc && $(MAKE))
164
165 mocclean: compiler_moc_header_clean compiler_moc_source_clean
166
167 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
168
169 compiler_moc_header_make_all: moc_mainwindow.cpp
170 compiler_moc_header_clean:
171         -$(DEL_FILE) moc_mainwindow.cpp
172 moc_mainwindow.cpp: ui_main.h \
173                 mainwindow.h \
174                 /usr/bin/moc
175         /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
176
177 compiler_rcc_make_all: qrc_main.cpp
178 compiler_rcc_clean:
179         -$(DEL_FILE) qrc_main.cpp
180 qrc_main.cpp: main.qrc \
181                 /usr/bin/rcc \
182                 images/new.png \
183                 images/copy.png \
184                 images/cut.png \
185                 images/save.png \
186                 images/paste.png \
187                 images/open.png
188         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
189
190 compiler_image_collection_make_all: qmake_image_collection.cpp
191 compiler_image_collection_clean:
192         -$(DEL_FILE) qmake_image_collection.cpp
193 compiler_moc_source_make_all:
194 compiler_moc_source_clean:
195 compiler_uic_make_all: ui_main.h
196 compiler_uic_clean:
197         -$(DEL_FILE) ui_main.h
198 ui_main.h: main.ui
199         /usr/bin/uic main.ui -o ui_main.h
200
201 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
202
203 ####### Compile
204
205 main.o: main.cpp mainwindow.h \
206                 ui_main.h
207         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
208
209 mainwindow.o: mainwindow.cpp mainwindow.h \
210                 ui_main.h
211         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
212
213 moc_mainwindow.o: moc_mainwindow.cpp 
214         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
215
216 qrc_main.o: qrc_main.cpp 
217         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
218
219 ####### Install
220
221 install:   FORCE
222
223 uninstall:   FORCE
224
225 FORCE:
226