X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2FMakefile;h=990b89a130567d23eb06944d99fa09764823274f;hb=9a73573647b620e6c49510b19fcf87c4203c1112;hp=5481fbd1fda027d44e9dcc9eb2d9229aa7f56e37;hpb=df4018612141d3b857192245b70fae0c86bc4582;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index 5481fbd1fd..990b89a130 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 14:25:07 2007 -# Project: qt-console.pro +# Makefile for building: bat +# Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Feb 11 19:50:38 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 -Irestore -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,9 +46,33 @@ OBJECTS_DIR = ./ ####### Files SOURCES = main.cpp \ - mainwindow.cpp qrc_main.cpp + bat_conf.cpp \ + mainwin.cpp \ + qstd.cpp \ + console/authenticate.cpp \ + console/console.cpp \ + restore/brestore.cpp \ + label/label.cpp \ + run/run.cpp moc_mainwin.cpp \ + moc_console.cpp \ + moc_restore.cpp \ + moc_label.cpp \ + moc_run.cpp \ + qrc_main.cpp OBJECTS = main.o \ - mainwindow.o \ + bat_conf.o \ + mainwin.o \ + qstd.o \ + authenticate.o \ + console.o \ + brestore.o \ + label.o \ + run.o \ + moc_mainwin.o \ + moc_console.o \ + moc_restore.o \ + moc_label.o \ + moc_run.o \ qrc_main.o DIST = /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/g++.conf \ @@ -66,10 +90,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 @@ -95,10 +119,10 @@ first: all all: Makefile $(TARGET) -$(TARGET): ui_main.h $(OBJECTS) +$(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.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 \ @@ -116,7 +140,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: @@ -136,11 +160,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 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 qstd.h console/console.h restore/restore.h label/label.h run/run.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp bat_conf.cpp mainwin.cpp qstd.cpp console/authenticate.cpp console/console.cpp restore/brestore.cpp label/label.cpp run/run.cpp .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/brestore.ui restore/restore.ui restore/restore-select.ui run/run.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: @@ -164,18 +188,56 @@ 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: +compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp compiler_moc_header_clean: + -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp +moc_mainwin.cpp: ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + mainwin.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp + +moc_console.cpp: ui_console.h \ + console/console.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) console/console.h -o moc_console.cpp + +moc_restore.cpp: ui_brestore.h \ + restore/restore.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) restore/restore.h -o moc_restore.cpp + +moc_label.cpp: ui_label.h \ + label/label.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc_label.cpp + +moc_run.cpp: ui_run.h \ + run/run.h \ + /usr/bin/moc + /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc_run.cpp + compiler_rcc_make_all: qrc_main.cpp compiler_rcc_clean: -$(DEL_FILE) qrc_main.cpp qrc_main.cpp: main.qrc \ /usr/bin/rcc \ images/new.png \ + images/disconnected.png \ + images/label.png \ + images/server.png \ + images/restore.png \ images/copy.png \ images/cut.png \ + images/connected.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 @@ -184,23 +246,135 @@ compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: -compiler_uic_make_all: ui_main.h +compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.h compiler_uic_clean: - -$(DEL_FILE) ui_main.h + -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h ui_restore.h ui_restore-select.h ui_run.h ui_main.h: main.ui /usr/bin/uic main.ui -o ui_main.h +ui_label.h: label/label.ui + /usr/bin/uic label/label.ui -o ui_label.h + +ui_console.h: console/console.ui + /usr/bin/uic console/console.ui -o ui_console.h + +ui_brestore.h: restore/brestore.ui + /usr/bin/uic restore/brestore.ui -o ui_brestore.h + +ui_restore.h: restore/restore.ui + /usr/bin/uic restore/restore.ui -o ui_restore.h + +ui_restore-select.h: restore/restore-select.ui + /usr/bin/uic restore/restore-select.ui -o ui_restore-select.h + +ui_run.h: run/run.ui + /usr/bin/uic run/run.ui -o ui_run.h + compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean ####### Compile -main.o: main.cpp mainwindow.h \ - ui_main.h +main.o: main.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.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 +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 \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp + +qstd.o: qstd.cpp qstd.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qstd.o qstd.cpp + +authenticate.o: console/authenticate.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o console/authenticate.cpp + +console.o: console/console.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h \ + console/console.h \ + ui_console.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console.o console/console.cpp + +brestore.o: restore/brestore.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h \ + restore/restore.h \ + ui_brestore.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o brestore.o restore/brestore.cpp + +label.o: label/label.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o label.o label/label.cpp + +run.o: run/run.cpp bat.h \ + mainwin.h \ + ui_main.h \ + label/label.h \ + ui_label.h \ + run/run.h \ + ui_run.h \ + bat_conf.h \ + qstd.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o run.o run/run.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 + +moc_restore.o: moc_restore.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_restore.o moc_restore.cpp + +moc_label.o: moc_label.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_label.o moc_label.cpp + +moc_run.o: moc_run.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_run.o moc_run.cpp qrc_main.o: qrc_main.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp