X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fqt-console%2FMakefile;h=b7b1bbcf3da6fe131ec2b5e46c37afb034dc6a71;hb=8ebef354842d97ec6141cc78deb7c963d7f9bd0b;hp=168171b77dd6768da3335ae14628c4a9f2e2ab0f;hpb=c99a0ee682e13b1d16403bbe8f46fe10ab2afb71;p=bacula%2Fbacula diff --git a/bacula/src/qt-console/Makefile b/bacula/src/qt-console/Makefile index 168171b77d..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: Thu Jan 18 09:41:24 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 @@ -45,8 +45,21 @@ OBJECTS_DIR = ./ ####### Files -SOURCES = main.cpp -OBJECTS = main.o +SOURCES = main.cpp \ + authenticate.cpp \ + bat_conf.cpp \ + mainwin.cpp \ + console/console.cpp moc_mainwin.cpp \ + moc_console.cpp \ + qrc_main.cpp +OBJECTS = main.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 \ /usr/share/qt4/mkspecs/common/linux.conf \ @@ -63,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 @@ -95,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 \ @@ -113,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: @@ -133,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 main.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: @@ -161,10 +174,38 @@ 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 compiler_moc_header_clean: -compiler_rcc_make_all: + -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp +moc_mainwin.cpp: ui_main.h \ + mainwin.h \ + /usr/bin/moc + /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: + -$(DEL_FILE) qrc_main.cpp +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 + compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp @@ -180,9 +221,43 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_coll ####### Compile -main.o: main.cpp 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 +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 + ####### Install install: FORCE