X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2FMakefile;h=b7b1bbcf3da6fe131ec2b5e46c37afb034dc6a71;hb=8ebef354842d97ec6141cc78deb7c963d7f9bd0b;hp=ac0fee30aecbc9a9300fe1e79aaa162feb78ecf3;hpb=7a263493cc6c63ff93a8c0737b65bccdba58ef82;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index ac0fee30ae..b7b1bbcf3d 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 18:35:42 2007 +# 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 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 -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 @@ -47,14 +47,18 @@ OBJECTS_DIR = ./ SOURCES = main.cpp \ authenticate.cpp \ - console_conf.cpp \ - mainwindow.cpp moc_mainwindow.cpp \ + bat_conf.cpp \ + mainwin.cpp \ + console/console.cpp moc_mainwin.cpp \ + moc_console.cpp \ qrc_main.cpp OBJECTS = main.o \ authenticate.o \ - console_conf.o \ - mainwindow.o \ - moc_mainwindow.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 \ @@ -146,7 +150,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 console_conf.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp authenticate.cpp console_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 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: @@ -170,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: @@ -184,11 +192,17 @@ compiler_rcc_clean: qrc_main.cpp: main.qrc \ /usr/bin/rcc \ images/new.png \ - images/bat-natural-fullsize.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 @@ -207,28 +221,39 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_coll ####### Compile -main.o: main.cpp console.h \ - mainwindow.h \ +main.o: main.cpp bat.h \ + mainwin.h \ ui_main.h \ - console_conf.h + bat_conf.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp -authenticate.o: authenticate.cpp mainwindow.h \ +authenticate.o: authenticate.cpp bat.h \ + mainwin.h \ ui_main.h \ - console_conf.h + bat_conf.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o authenticate.cpp -console_conf.o: console_conf.cpp console_conf.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o console_conf.o console_conf.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 console.h \ - mainwindow.h \ +mainwin.o: mainwin.cpp bat.h \ + mainwin.h \ ui_main.h \ - console_conf.h - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp + 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_mainwindow.o: moc_mainwindow.cpp - $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.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