]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/Makefile
0023e8cae9d4e806ad50a5cbaed017d94ec35f5a
[bacula/bacula] / bacula / src / qt-console / Makefile
1 #############################################################################
2 # Makefile for building: bat
3 # Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Jan 28 13:54:36 2007
4 # Project:  bat.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile bat.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. -I.
21 LINK          = g++
22 LFLAGS        = 
23 LIBS          = $(SUBLIBS)  -L/usr/lib -L../lib -lbac -lssl -lcrypto -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                 authenticate.cpp \
50                 bat_conf.cpp \
51                 mainwin.cpp \
52                 console.cpp moc_mainwin.cpp \
53                 moc_console.cpp \
54                 qrc_main.cpp
55 OBJECTS       = main.o \
56                 authenticate.o \
57                 bat_conf.o \
58                 mainwin.o \
59                 console.o \
60                 moc_mainwin.o \
61                 moc_console.o \
62                 qrc_main.o
63 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
64                 /usr/share/qt4/mkspecs/common/g++.conf \
65                 /usr/share/qt4/mkspecs/common/linux.conf \
66                 /usr/share/qt4/mkspecs/qconfig.pri \
67                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
68                 /usr/share/qt4/mkspecs/features/qt_config.prf \
69                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
70                 /usr/share/qt4/mkspecs/features/default_pre.prf \
71                 /usr/share/qt4/mkspecs/features/release.prf \
72                 /usr/share/qt4/mkspecs/features/default_post.prf \
73                 /usr/share/qt4/mkspecs/features/warn_on.prf \
74                 /usr/share/qt4/mkspecs/features/qt.prf \
75                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
76                 /usr/share/qt4/mkspecs/features/moc.prf \
77                 /usr/share/qt4/mkspecs/features/resources.prf \
78                 /usr/share/qt4/mkspecs/features/uic.prf \
79                 bat.pro
80 QMAKE_TARGET  = bat
81 DESTDIR       = 
82 TARGET        = bat
83
84 first: all
85 ####### Implicit rules
86
87 .SUFFIXES: .o .c .cpp .cc .cxx .C
88
89 .cpp.o:
90         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91
92 .cc.o:
93         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94
95 .cxx.o:
96         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97
98 .C.o:
99         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100
101 .c.o:
102         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
103
104 ####### Build rules
105
106 all: Makefile $(TARGET)
107
108 $(TARGET): ui_main.h $(OBJECTS)  
109         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
110
111 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
112                 /usr/share/qt4/mkspecs/common/g++.conf \
113                 /usr/share/qt4/mkspecs/common/linux.conf \
114                 /usr/share/qt4/mkspecs/qconfig.pri \
115                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
116                 /usr/share/qt4/mkspecs/features/qt_config.prf \
117                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
118                 /usr/share/qt4/mkspecs/features/default_pre.prf \
119                 /usr/share/qt4/mkspecs/features/release.prf \
120                 /usr/share/qt4/mkspecs/features/default_post.prf \
121                 /usr/share/qt4/mkspecs/features/warn_on.prf \
122                 /usr/share/qt4/mkspecs/features/qt.prf \
123                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
124                 /usr/share/qt4/mkspecs/features/moc.prf \
125                 /usr/share/qt4/mkspecs/features/resources.prf \
126                 /usr/share/qt4/mkspecs/features/uic.prf \
127                 /usr/lib/libQtGui.prl \
128                 /usr/lib/libQtCore.prl
129         $(QMAKE) -unix -o Makefile bat.pro
130 /usr/share/qt4/mkspecs/common/unix.conf:
131 /usr/share/qt4/mkspecs/common/g++.conf:
132 /usr/share/qt4/mkspecs/common/linux.conf:
133 /usr/share/qt4/mkspecs/qconfig.pri:
134 /usr/share/qt4/mkspecs/features/qt_functions.prf:
135 /usr/share/qt4/mkspecs/features/qt_config.prf:
136 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
137 /usr/share/qt4/mkspecs/features/default_pre.prf:
138 /usr/share/qt4/mkspecs/features/release.prf:
139 /usr/share/qt4/mkspecs/features/default_post.prf:
140 /usr/share/qt4/mkspecs/features/warn_on.prf:
141 /usr/share/qt4/mkspecs/features/qt.prf:
142 /usr/share/qt4/mkspecs/features/unix/thread.prf:
143 /usr/share/qt4/mkspecs/features/moc.prf:
144 /usr/share/qt4/mkspecs/features/resources.prf:
145 /usr/share/qt4/mkspecs/features/uic.prf:
146 /usr/lib/libQtGui.prl:
147 /usr/lib/libQtCore.prl:
148 qmake:  FORCE
149         @$(QMAKE) -unix -o Makefile bat.pro
150
151 dist: 
152         @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 
153         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bat1.0.0/ && $(COPY_FILE) --parents mainwin.h bat.h bat_conf.h console.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp authenticate.cpp bat_conf.cpp mainwin.cpp console.cpp .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui .tmp/bat1.0.0/ && (cd `dirname .tmp/bat1.0.0` && $(TAR) bat1.0.0.tar bat1.0.0 && $(COMPRESS) bat1.0.0.tar) && $(MOVE) `dirname .tmp/bat1.0.0`/bat1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/bat1.0.0
154
155
156 yaccclean:
157 lexclean:
158 clean:compiler_clean 
159         -$(DEL_FILE) $(OBJECTS)
160         -$(DEL_FILE) *~ core *.core
161
162
163 ####### Sub-libraries
164
165 distclean: clean
166         -$(DEL_FILE) $(TARGET) 
167         -$(DEL_FILE) Makefile
168
169
170 /usr/bin/moc:
171         (cd $(QTDIR)/src/tools/moc && $(MAKE))
172
173 mocclean: compiler_moc_header_clean compiler_moc_source_clean
174
175 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
176
177 compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp
178 compiler_moc_header_clean:
179         -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp
180 moc_mainwin.cpp: ui_main.h \
181                 mainwin.h \
182                 /usr/bin/moc
183         /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp
184
185 moc_console.cpp: console.h \
186                 /usr/bin/moc
187         /usr/bin/moc $(DEFINES) $(INCPATH) console.h -o moc_console.cpp
188
189 compiler_rcc_make_all: qrc_main.cpp
190 compiler_rcc_clean:
191         -$(DEL_FILE) qrc_main.cpp
192 qrc_main.cpp: main.qrc \
193                 /usr/bin/rcc \
194                 images/new.png \
195                 images/bat-natural-fullsize.png \
196                 images/copy.png \
197                 images/cut.png \
198                 images/save.png \
199                 images/paste.png \
200                 images/open.png
201         /usr/bin/rcc -name main main.qrc -o qrc_main.cpp
202
203 compiler_image_collection_make_all: qmake_image_collection.cpp
204 compiler_image_collection_clean:
205         -$(DEL_FILE) qmake_image_collection.cpp
206 compiler_moc_source_make_all:
207 compiler_moc_source_clean:
208 compiler_uic_make_all: ui_main.h
209 compiler_uic_clean:
210         -$(DEL_FILE) ui_main.h
211 ui_main.h: main.ui
212         /usr/bin/uic main.ui -o ui_main.h
213
214 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
215
216 ####### Compile
217
218 main.o: main.cpp bat.h \
219                 mainwin.h \
220                 ui_main.h \
221                 bat_conf.h \
222                 console.h
223         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
224
225 authenticate.o: authenticate.cpp bat.h \
226                 mainwin.h \
227                 ui_main.h \
228                 bat_conf.h \
229                 console.h
230         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o authenticate.cpp
231
232 bat_conf.o: bat_conf.cpp bat_conf.h
233         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bat_conf.o bat_conf.cpp
234
235 mainwin.o: mainwin.cpp bat.h \
236                 mainwin.h \
237                 ui_main.h \
238                 bat_conf.h \
239                 console.h
240         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp
241
242 console.o: console.cpp bat.h \
243                 mainwin.h \
244                 ui_main.h \
245                 bat_conf.h \
246                 console.h
247         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console.cpp
248
249 moc_mainwin.o: moc_mainwin.cpp 
250         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp
251
252 moc_console.o: moc_console.cpp 
253         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_console.o moc_console.cpp
254
255 qrc_main.o: qrc_main.cpp 
256         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
257
258 ####### Install
259
260 install:   FORCE
261
262 uninstall:   FORCE
263
264 FORCE:
265