author | František Kučera <franta-hg@frantovo.cz> |
Tue, 07 Apr 2009 23:49:02 +0200 | |
changeset 10 | 18317e52d52b |
parent 6 | 617fef4676b9 |
child 15 | b166c6f49719 |
permissions | -rw-r--r-- |
franta-hg@1 | 1 |
############################################################################# |
franta-hg@1 | 2 |
# Makefile for building: Fronta |
franta-hg@6 | 3 |
# Generated by qmake (2.01a) (Qt 4.4.3) on: ne dub 5 22:16:48 2009 |
franta-hg@1 | 4 |
# Project: Fronta.pro |
franta-hg@1 | 5 |
# Template: app |
franta-hg@6 | 6 |
# Command: /usr/bin/qmake -unix -o Makefile Fronta.pro |
franta-hg@1 | 7 |
############################################################################# |
franta-hg@1 | 8 |
|
franta-hg@1 | 9 |
####### Compiler, tools and options |
franta-hg@1 | 10 |
|
franta-hg@1 | 11 |
CC = gcc |
franta-hg@1 | 12 |
CXX = g++ |
franta-hg@1 | 13 |
DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
franta-hg@1 | 14 |
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
franta-hg@1 | 15 |
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
franta-hg@1 | 16 |
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. |
franta-hg@1 | 17 |
LINK = g++ |
franta-hg@1 | 18 |
LFLAGS = -Wl,--no-undefined |
franta-hg@1 | 19 |
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread |
franta-hg@1 | 20 |
AR = ar cqs |
franta-hg@1 | 21 |
RANLIB = |
franta-hg@6 | 22 |
QMAKE = /usr/bin/qmake |
franta-hg@1 | 23 |
TAR = tar -cf |
franta-hg@1 | 24 |
COMPRESS = gzip -9f |
franta-hg@1 | 25 |
COPY = cp -f |
franta-hg@1 | 26 |
SED = sed |
franta-hg@1 | 27 |
COPY_FILE = $(COPY) |
franta-hg@1 | 28 |
COPY_DIR = $(COPY) -r |
franta-hg@1 | 29 |
INSTALL_FILE = install -m 644 -p |
franta-hg@1 | 30 |
INSTALL_DIR = $(COPY_DIR) |
franta-hg@1 | 31 |
INSTALL_PROGRAM = install -m 755 -p |
franta-hg@1 | 32 |
DEL_FILE = rm -f |
franta-hg@1 | 33 |
SYMLINK = ln -sf |
franta-hg@1 | 34 |
DEL_DIR = rmdir |
franta-hg@1 | 35 |
MOVE = mv -f |
franta-hg@1 | 36 |
CHK_DIR_EXISTS= test -d |
franta-hg@1 | 37 |
MKDIR = mkdir -p |
franta-hg@1 | 38 |
|
franta-hg@1 | 39 |
####### Output directory |
franta-hg@1 | 40 |
|
franta-hg@1 | 41 |
OBJECTS_DIR = ./ |
franta-hg@1 | 42 |
|
franta-hg@1 | 43 |
####### Files |
franta-hg@1 | 44 |
|
franta-hg@6 | 45 |
SOURCES = fronta.cpp \ |
franta-hg@6 | 46 |
program.cpp \ |
franta-hg@6 | 47 |
qtc-gdbmacros/gdbmacros.cpp |
franta-hg@6 | 48 |
OBJECTS = fronta.o \ |
franta-hg@6 | 49 |
program.o \ |
franta-hg@6 | 50 |
gdbmacros.o |
franta-hg@1 | 51 |
DIST = /usr/share/qt4/mkspecs/common/g++.conf \ |
franta-hg@1 | 52 |
/usr/share/qt4/mkspecs/common/unix.conf \ |
franta-hg@1 | 53 |
/usr/share/qt4/mkspecs/common/linux.conf \ |
franta-hg@1 | 54 |
/usr/share/qt4/mkspecs/qconfig.pri \ |
franta-hg@1 | 55 |
/usr/share/qt4/mkspecs/features/qt_functions.prf \ |
franta-hg@1 | 56 |
/usr/share/qt4/mkspecs/features/qt_config.prf \ |
franta-hg@1 | 57 |
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
franta-hg@1 | 58 |
/usr/share/qt4/mkspecs/features/default_pre.prf \ |
franta-hg@1 | 59 |
/usr/share/qt4/mkspecs/features/release.prf \ |
franta-hg@1 | 60 |
/usr/share/qt4/mkspecs/features/default_post.prf \ |
franta-hg@1 | 61 |
/usr/share/qt4/mkspecs/features/warn_on.prf \ |
franta-hg@1 | 62 |
/usr/share/qt4/mkspecs/features/qt.prf \ |
franta-hg@1 | 63 |
/usr/share/qt4/mkspecs/features/unix/thread.prf \ |
franta-hg@1 | 64 |
/usr/share/qt4/mkspecs/features/moc.prf \ |
franta-hg@1 | 65 |
/usr/share/qt4/mkspecs/features/resources.prf \ |
franta-hg@1 | 66 |
/usr/share/qt4/mkspecs/features/uic.prf \ |
franta-hg@1 | 67 |
/usr/share/qt4/mkspecs/features/yacc.prf \ |
franta-hg@1 | 68 |
/usr/share/qt4/mkspecs/features/lex.prf \ |
franta-hg@1 | 69 |
Fronta.pro |
franta-hg@1 | 70 |
QMAKE_TARGET = Fronta |
franta-hg@1 | 71 |
DESTDIR = |
franta-hg@1 | 72 |
TARGET = Fronta |
franta-hg@1 | 73 |
|
franta-hg@1 | 74 |
first: all |
franta-hg@1 | 75 |
####### Implicit rules |
franta-hg@1 | 76 |
|
franta-hg@1 | 77 |
.SUFFIXES: .o .c .cpp .cc .cxx .C |
franta-hg@1 | 78 |
|
franta-hg@1 | 79 |
.cpp.o: |
franta-hg@1 | 80 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
franta-hg@1 | 81 |
|
franta-hg@1 | 82 |
.cc.o: |
franta-hg@1 | 83 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
franta-hg@1 | 84 |
|
franta-hg@1 | 85 |
.cxx.o: |
franta-hg@1 | 86 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
franta-hg@1 | 87 |
|
franta-hg@1 | 88 |
.C.o: |
franta-hg@1 | 89 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
franta-hg@1 | 90 |
|
franta-hg@1 | 91 |
.c.o: |
franta-hg@1 | 92 |
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
franta-hg@1 | 93 |
|
franta-hg@1 | 94 |
####### Build rules |
franta-hg@1 | 95 |
|
franta-hg@1 | 96 |
all: Makefile $(TARGET) |
franta-hg@1 | 97 |
|
franta-hg@1 | 98 |
$(TARGET): $(OBJECTS) |
franta-hg@1 | 99 |
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
franta-hg@1 | 100 |
|
franta-hg@1 | 101 |
Makefile: Fronta.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ |
franta-hg@1 | 102 |
/usr/share/qt4/mkspecs/common/unix.conf \ |
franta-hg@1 | 103 |
/usr/share/qt4/mkspecs/common/linux.conf \ |
franta-hg@1 | 104 |
/usr/share/qt4/mkspecs/qconfig.pri \ |
franta-hg@1 | 105 |
/usr/share/qt4/mkspecs/features/qt_functions.prf \ |
franta-hg@1 | 106 |
/usr/share/qt4/mkspecs/features/qt_config.prf \ |
franta-hg@1 | 107 |
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
franta-hg@1 | 108 |
/usr/share/qt4/mkspecs/features/default_pre.prf \ |
franta-hg@1 | 109 |
/usr/share/qt4/mkspecs/features/release.prf \ |
franta-hg@1 | 110 |
/usr/share/qt4/mkspecs/features/default_post.prf \ |
franta-hg@1 | 111 |
/usr/share/qt4/mkspecs/features/warn_on.prf \ |
franta-hg@1 | 112 |
/usr/share/qt4/mkspecs/features/qt.prf \ |
franta-hg@1 | 113 |
/usr/share/qt4/mkspecs/features/unix/thread.prf \ |
franta-hg@1 | 114 |
/usr/share/qt4/mkspecs/features/moc.prf \ |
franta-hg@1 | 115 |
/usr/share/qt4/mkspecs/features/resources.prf \ |
franta-hg@1 | 116 |
/usr/share/qt4/mkspecs/features/uic.prf \ |
franta-hg@1 | 117 |
/usr/share/qt4/mkspecs/features/yacc.prf \ |
franta-hg@1 | 118 |
/usr/share/qt4/mkspecs/features/lex.prf \ |
franta-hg@1 | 119 |
/usr/lib/libQtGui.prl \ |
franta-hg@1 | 120 |
/usr/lib/libQtCore.prl |
franta-hg@6 | 121 |
$(QMAKE) -unix -o Makefile Fronta.pro |
franta-hg@1 | 122 |
/usr/share/qt4/mkspecs/common/g++.conf: |
franta-hg@1 | 123 |
/usr/share/qt4/mkspecs/common/unix.conf: |
franta-hg@1 | 124 |
/usr/share/qt4/mkspecs/common/linux.conf: |
franta-hg@1 | 125 |
/usr/share/qt4/mkspecs/qconfig.pri: |
franta-hg@1 | 126 |
/usr/share/qt4/mkspecs/features/qt_functions.prf: |
franta-hg@1 | 127 |
/usr/share/qt4/mkspecs/features/qt_config.prf: |
franta-hg@1 | 128 |
/usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
franta-hg@1 | 129 |
/usr/share/qt4/mkspecs/features/default_pre.prf: |
franta-hg@1 | 130 |
/usr/share/qt4/mkspecs/features/release.prf: |
franta-hg@1 | 131 |
/usr/share/qt4/mkspecs/features/default_post.prf: |
franta-hg@1 | 132 |
/usr/share/qt4/mkspecs/features/warn_on.prf: |
franta-hg@1 | 133 |
/usr/share/qt4/mkspecs/features/qt.prf: |
franta-hg@1 | 134 |
/usr/share/qt4/mkspecs/features/unix/thread.prf: |
franta-hg@1 | 135 |
/usr/share/qt4/mkspecs/features/moc.prf: |
franta-hg@1 | 136 |
/usr/share/qt4/mkspecs/features/resources.prf: |
franta-hg@1 | 137 |
/usr/share/qt4/mkspecs/features/uic.prf: |
franta-hg@1 | 138 |
/usr/share/qt4/mkspecs/features/yacc.prf: |
franta-hg@1 | 139 |
/usr/share/qt4/mkspecs/features/lex.prf: |
franta-hg@1 | 140 |
/usr/lib/libQtGui.prl: |
franta-hg@1 | 141 |
/usr/lib/libQtCore.prl: |
franta-hg@1 | 142 |
qmake: FORCE |
franta-hg@6 | 143 |
@$(QMAKE) -unix -o Makefile Fronta.pro |
franta-hg@1 | 144 |
|
franta-hg@1 | 145 |
dist: |
franta-hg@1 | 146 |
@$(CHK_DIR_EXISTS) .tmp/Fronta1.0.0 || $(MKDIR) .tmp/Fronta1.0.0 |
franta-hg@6 | 147 |
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents fronta.h program.h .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents fronta.cpp program.cpp qtc-gdbmacros/gdbmacros.cpp .tmp/Fronta1.0.0/ && (cd `dirname .tmp/Fronta1.0.0` && $(TAR) Fronta1.0.0.tar Fronta1.0.0 && $(COMPRESS) Fronta1.0.0.tar) && $(MOVE) `dirname .tmp/Fronta1.0.0`/Fronta1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/Fronta1.0.0 |
franta-hg@1 | 148 |
|
franta-hg@1 | 149 |
|
franta-hg@1 | 150 |
clean:compiler_clean |
franta-hg@1 | 151 |
-$(DEL_FILE) $(OBJECTS) |
franta-hg@1 | 152 |
-$(DEL_FILE) *~ core *.core |
franta-hg@1 | 153 |
|
franta-hg@1 | 154 |
|
franta-hg@1 | 155 |
####### Sub-libraries |
franta-hg@1 | 156 |
|
franta-hg@1 | 157 |
distclean: clean |
franta-hg@1 | 158 |
-$(DEL_FILE) $(TARGET) |
franta-hg@1 | 159 |
-$(DEL_FILE) Makefile |
franta-hg@1 | 160 |
|
franta-hg@1 | 161 |
|
franta-hg@1 | 162 |
mocclean: compiler_moc_header_clean compiler_moc_source_clean |
franta-hg@1 | 163 |
|
franta-hg@1 | 164 |
mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
franta-hg@1 | 165 |
|
franta-hg@1 | 166 |
compiler_moc_header_make_all: |
franta-hg@1 | 167 |
compiler_moc_header_clean: |
franta-hg@1 | 168 |
compiler_rcc_make_all: |
franta-hg@1 | 169 |
compiler_rcc_clean: |
franta-hg@1 | 170 |
compiler_image_collection_make_all: qmake_image_collection.cpp |
franta-hg@1 | 171 |
compiler_image_collection_clean: |
franta-hg@1 | 172 |
-$(DEL_FILE) qmake_image_collection.cpp |
franta-hg@1 | 173 |
compiler_moc_source_make_all: |
franta-hg@1 | 174 |
compiler_moc_source_clean: |
franta-hg@1 | 175 |
compiler_uic_make_all: |
franta-hg@1 | 176 |
compiler_uic_clean: |
franta-hg@1 | 177 |
compiler_yacc_decl_make_all: |
franta-hg@1 | 178 |
compiler_yacc_decl_clean: |
franta-hg@1 | 179 |
compiler_yacc_impl_make_all: |
franta-hg@1 | 180 |
compiler_yacc_impl_clean: |
franta-hg@1 | 181 |
compiler_lex_make_all: |
franta-hg@1 | 182 |
compiler_lex_clean: |
franta-hg@1 | 183 |
compiler_clean: |
franta-hg@1 | 184 |
|
franta-hg@1 | 185 |
####### Compile |
franta-hg@1 | 186 |
|
franta-hg@6 | 187 |
fronta.o: fronta.cpp fronta.h |
franta-hg@6 | 188 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o fronta.o fronta.cpp |
franta-hg@6 | 189 |
|
franta-hg@1 | 190 |
program.o: program.cpp program.h |
franta-hg@1 | 191 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp |
franta-hg@1 | 192 |
|
franta-hg@6 | 193 |
gdbmacros.o: qtc-gdbmacros/gdbmacros.cpp |
franta-hg@6 | 194 |
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o gdbmacros.o qtc-gdbmacros/gdbmacros.cpp |
franta-hg@6 | 195 |
|
franta-hg@1 | 196 |
####### Install |
franta-hg@1 | 197 |
|
franta-hg@1 | 198 |
install: FORCE |
franta-hg@1 | 199 |
|
franta-hg@1 | 200 |
uninstall: FORCE |
franta-hg@1 | 201 |
|
franta-hg@1 | 202 |
FORCE: |
franta-hg@1 | 203 |