X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2FMakefile;h=990b89a130567d23eb06944d99fa09764823274f;hb=9a73573647b620e6c49510b19fcf87c4203c1112;hp=856d690b3a4a7d81a7ab156aa5cb0a80886bb2f4;hpb=cc103c6f6881ab48fd8bbac2468e2337f8ed02f2;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index 856d690b3a..990b89a130 100644 --- a/bacula/src/qt-console/Makefile +++ b/bacula/src/qt-console/Makefile @@ -1,6 +1,6 @@ ############################################################################# # Makefile for building: bat -# Generated by qmake (2.01a) (Qt 4.2.1) on: Sat Jan 27 19:24:48 2007 +# 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 bat.pro @@ -17,7 +17,7 @@ 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. -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 -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 @@ -46,15 +46,33 @@ OBJECTS_DIR = ./ ####### Files SOURCES = main.cpp \ - authenticate.cpp \ bat_conf.cpp \ - mainwindow.cpp moc_mainwindow.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 \ - authenticate.o \ bat_conf.o \ - mainwindow.o \ - moc_mainwindow.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 \ @@ -101,7 +119,7 @@ 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: bat.pro /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \ @@ -146,7 +164,7 @@ qmake: FORCE dist: @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 - $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bat1.0.0/ && $(COPY_FILE) --parents mainwindow.h bat.h bat_conf.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp authenticate.cpp bat_conf.cpp mainwindow.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 + $(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: @@ -170,13 +188,37 @@ 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 moc_restore.cpp moc_label.cpp moc_run.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_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) mainwindow.h -o moc_mainwindow.cpp + /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc_run.cpp compiler_rcc_make_all: qrc_main.cpp compiler_rcc_clean: @@ -184,11 +226,18 @@ compiler_rcc_clean: qrc_main.cpp: main.qrc \ /usr/bin/rcc \ images/new.png \ - images/bat-natural-fullsize.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 @@ -197,39 +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 bat.h \ - mainwindow.h \ + mainwin.h \ ui_main.h \ - bat_conf.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 -authenticate.o: authenticate.cpp bat.h \ - mainwindow.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 -mainwindow.o: mainwindow.cpp bat.h \ - mainwindow.h \ +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 \ - bat_conf.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp + 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_mainwindow.o: moc_mainwindow.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.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