X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2FMakefile;h=b7b1bbcf3da6fe131ec2b5e46c37afb034dc6a71;hb=8ebef354842d97ec6141cc78deb7c963d7f9bd0b;hp=1c63a41fb7c33bc60d596b1ba53a0ef416f46830;hpb=3d8e95693c88bba393548026e8c34f2189473e85;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index 1c63a41fb7..b7b1bbcf3d 100644 --- a/bacula/src/qt-console/Makefile +++ b/bacula/src/qt-console/Makefile @@ -1,9 +1,9 @@ ############################################################################# -# Makefile for building: qt-console -# Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Jan 26 15:30:33 2007 -# Project: qt-console.pro +# Makefile for building: bat +# Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Jan 28 22:55:01 2007 +# Project: bat.pro # Template: app -# Command: /usr/bin/qmake -unix -o Makefile qt-console.pro +# Command: /usr/bin/qmake -unix -o Makefile bat.pro ############################################################################# ####### Compiler, tools and options @@ -17,10 +17,10 @@ CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) LEXFLAGS = YACCFLAGS = -d -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. +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. -Iconsole -I.. -I. -I. LINK = g++ LFLAGS = -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 +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 AR = ar cqs RANLIB = QMAKE = /usr/bin/qmake @@ -46,11 +46,19 @@ OBJECTS_DIR = ./ ####### Files SOURCES = main.cpp \ - mainwindow.cpp moc_mainwindow.cpp \ + authenticate.cpp \ + bat_conf.cpp \ + mainwin.cpp \ + console/console.cpp moc_mainwin.cpp \ + moc_console.cpp \ qrc_main.cpp OBJECTS = main.o \ - mainwindow.o \ - moc_mainwindow.o \ + authenticate.o \ + bat_conf.o \ + mainwin.o \ + console.o \ + moc_mainwin.o \ + moc_console.o \ qrc_main.o DIST = /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ @@ -68,10 +76,10 @@ DIST = /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/features/moc.prf \ /usr/share/qt4/mkspecs/features/resources.prf \ /usr/share/qt4/mkspecs/features/uic.prf \ - qt-console.pro -QMAKE_TARGET = qt-console + bat.pro +QMAKE_TARGET = bat DESTDIR = -TARGET = qt-console +TARGET = bat first: all ####### Implicit rules @@ -100,7 +108,7 @@ all: Makefile $(TARGET) $(TARGET): ui_main.h $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) -Makefile: qt-console.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ +Makefile: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ /usr/share/qt4/mkspecs/qconfig.pri \ @@ -118,7 +126,7 @@ Makefile: qt-console.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/q /usr/share/qt4/mkspecs/features/uic.prf \ /usr/lib/libQtGui.prl \ /usr/lib/libQtCore.prl - $(QMAKE) -unix -o Makefile qt-console.pro + $(QMAKE) -unix -o Makefile bat.pro /usr/share/qt4/mkspecs/common/unix.conf: /usr/share/qt4/mkspecs/common/g++.conf: /usr/share/qt4/mkspecs/common/linux.conf: @@ -138,11 +146,11 @@ Makefile: qt-console.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/q /usr/lib/libQtGui.prl: /usr/lib/libQtCore.prl: qmake: FORCE - @$(QMAKE) -unix -o Makefile qt-console.pro + @$(QMAKE) -unix -o Makefile bat.pro dist: - @$(CHK_DIR_EXISTS) .tmp/qt-console1.0.0 || $(MKDIR) .tmp/qt-console1.0.0 - $(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 + @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bat1.0.0/ && $(COPY_FILE) --parents mainwin.h bat.h bat_conf.h console/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/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 yaccclean: @@ -166,13 +174,17 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all -compiler_moc_header_make_all: moc_mainwindow.cpp +compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp compiler_moc_header_clean: - -$(DEL_FILE) moc_mainwindow.cpp -moc_mainwindow.cpp: ui_main.h \ - mainwindow.h \ + -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp +moc_mainwin.cpp: ui_main.h \ + mainwin.h \ /usr/bin/moc - /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp + /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp + +moc_console.cpp: console/console.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc_console.cpp compiler_rcc_make_all: qrc_main.cpp compiler_rcc_clean: @@ -180,10 +192,17 @@ compiler_rcc_clean: qrc_main.cpp: main.qrc \ /usr/bin/rcc \ images/new.png \ + images/label.png \ + images/server.png \ + images/restore.png \ images/copy.png \ images/cut.png \ + images/connect.png \ + images/big-server.png \ images/save.png \ + images/bat.png \ images/paste.png \ + images/run.png \ images/open.png /usr/bin/rcc -name main main.qrc -o qrc_main.cpp @@ -202,16 +221,39 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_coll ####### Compile -main.o: main.cpp mainwindow.h \ - ui_main.h +main.o: main.cpp bat.h \ + mainwin.h \ + ui_main.h \ + bat_conf.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp -mainwindow.o: mainwindow.cpp mainwindow.h \ - ui_main.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp - -moc_mainwindow.o: moc_mainwindow.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp +authenticate.o: authenticate.cpp bat.h \ + mainwin.h \ + ui_main.h \ + bat_conf.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o authenticate.cpp + +bat_conf.o: bat_conf.cpp bat_conf.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o bat_conf.o bat_conf.cpp + +mainwin.o: mainwin.cpp bat.h \ + mainwin.h \ + ui_main.h \ + bat_conf.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp + +console.o: console/console.cpp bat.h \ + mainwin.h \ + ui_main.h \ + bat_conf.h \ + console/console.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console/console.cpp + +moc_mainwin.o: moc_mainwin.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp + +moc_console.o: moc_console.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_console.o moc_console.cpp qrc_main.o: qrc_main.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp