c++/POSIXoveFronty/Fronta/Makefile
changeset 1 9a570824084d
child 2 f1aae09bb78e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c++/POSIXoveFronty/Fronta/Makefile	Fri Apr 03 22:39:11 2009 +0200
     1.3 @@ -0,0 +1,193 @@
     1.4 +#############################################################################
     1.5 +# Makefile for building: Fronta
     1.6 +# Generated by qmake (2.01a) (Qt 4.4.3) on: pá dub 3 18:45:02 2009
     1.7 +# Project:  Fronta.pro
     1.8 +# Template: app
     1.9 +# Command: /usr/bin/qmake -unix -o Makefile Fronta.pro
    1.10 +#############################################################################
    1.11 +
    1.12 +####### Compiler, tools and options
    1.13 +
    1.14 +CC            = gcc
    1.15 +CXX           = g++
    1.16 +DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
    1.17 +CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    1.18 +CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    1.19 +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.
    1.20 +LINK          = g++
    1.21 +LFLAGS        = -Wl,--no-undefined
    1.22 +LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread
    1.23 +AR            = ar cqs
    1.24 +RANLIB        = 
    1.25 +QMAKE         = /usr/bin/qmake
    1.26 +TAR           = tar -cf
    1.27 +COMPRESS      = gzip -9f
    1.28 +COPY          = cp -f
    1.29 +SED           = sed
    1.30 +COPY_FILE     = $(COPY)
    1.31 +COPY_DIR      = $(COPY) -r
    1.32 +INSTALL_FILE  = install -m 644 -p
    1.33 +INSTALL_DIR   = $(COPY_DIR)
    1.34 +INSTALL_PROGRAM = install -m 755 -p
    1.35 +DEL_FILE      = rm -f
    1.36 +SYMLINK       = ln -sf
    1.37 +DEL_DIR       = rmdir
    1.38 +MOVE          = mv -f
    1.39 +CHK_DIR_EXISTS= test -d
    1.40 +MKDIR         = mkdir -p
    1.41 +
    1.42 +####### Output directory
    1.43 +
    1.44 +OBJECTS_DIR   = ./
    1.45 +
    1.46 +####### Files
    1.47 +
    1.48 +SOURCES       = program.cpp 
    1.49 +OBJECTS       = program.o
    1.50 +DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
    1.51 +		/usr/share/qt4/mkspecs/common/unix.conf \
    1.52 +		/usr/share/qt4/mkspecs/common/linux.conf \
    1.53 +		/usr/share/qt4/mkspecs/qconfig.pri \
    1.54 +		/usr/share/qt4/mkspecs/features/qt_functions.prf \
    1.55 +		/usr/share/qt4/mkspecs/features/qt_config.prf \
    1.56 +		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
    1.57 +		/usr/share/qt4/mkspecs/features/default_pre.prf \
    1.58 +		/usr/share/qt4/mkspecs/features/release.prf \
    1.59 +		/usr/share/qt4/mkspecs/features/default_post.prf \
    1.60 +		/usr/share/qt4/mkspecs/features/warn_on.prf \
    1.61 +		/usr/share/qt4/mkspecs/features/qt.prf \
    1.62 +		/usr/share/qt4/mkspecs/features/unix/thread.prf \
    1.63 +		/usr/share/qt4/mkspecs/features/moc.prf \
    1.64 +		/usr/share/qt4/mkspecs/features/resources.prf \
    1.65 +		/usr/share/qt4/mkspecs/features/uic.prf \
    1.66 +		/usr/share/qt4/mkspecs/features/yacc.prf \
    1.67 +		/usr/share/qt4/mkspecs/features/lex.prf \
    1.68 +		Fronta.pro
    1.69 +QMAKE_TARGET  = Fronta
    1.70 +DESTDIR       = 
    1.71 +TARGET        = Fronta
    1.72 +
    1.73 +first: all
    1.74 +####### Implicit rules
    1.75 +
    1.76 +.SUFFIXES: .o .c .cpp .cc .cxx .C
    1.77 +
    1.78 +.cpp.o:
    1.79 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
    1.80 +
    1.81 +.cc.o:
    1.82 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
    1.83 +
    1.84 +.cxx.o:
    1.85 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
    1.86 +
    1.87 +.C.o:
    1.88 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
    1.89 +
    1.90 +.c.o:
    1.91 +	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
    1.92 +
    1.93 +####### Build rules
    1.94 +
    1.95 +all: Makefile $(TARGET)
    1.96 +
    1.97 +$(TARGET):  $(OBJECTS)  
    1.98 +	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
    1.99 +
   1.100 +Makefile: Fronta.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
   1.101 +		/usr/share/qt4/mkspecs/common/unix.conf \
   1.102 +		/usr/share/qt4/mkspecs/common/linux.conf \
   1.103 +		/usr/share/qt4/mkspecs/qconfig.pri \
   1.104 +		/usr/share/qt4/mkspecs/features/qt_functions.prf \
   1.105 +		/usr/share/qt4/mkspecs/features/qt_config.prf \
   1.106 +		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
   1.107 +		/usr/share/qt4/mkspecs/features/default_pre.prf \
   1.108 +		/usr/share/qt4/mkspecs/features/release.prf \
   1.109 +		/usr/share/qt4/mkspecs/features/default_post.prf \
   1.110 +		/usr/share/qt4/mkspecs/features/warn_on.prf \
   1.111 +		/usr/share/qt4/mkspecs/features/qt.prf \
   1.112 +		/usr/share/qt4/mkspecs/features/unix/thread.prf \
   1.113 +		/usr/share/qt4/mkspecs/features/moc.prf \
   1.114 +		/usr/share/qt4/mkspecs/features/resources.prf \
   1.115 +		/usr/share/qt4/mkspecs/features/uic.prf \
   1.116 +		/usr/share/qt4/mkspecs/features/yacc.prf \
   1.117 +		/usr/share/qt4/mkspecs/features/lex.prf \
   1.118 +		/usr/lib/libQtGui.prl \
   1.119 +		/usr/lib/libQtCore.prl
   1.120 +	$(QMAKE) -unix -o Makefile Fronta.pro
   1.121 +/usr/share/qt4/mkspecs/common/g++.conf:
   1.122 +/usr/share/qt4/mkspecs/common/unix.conf:
   1.123 +/usr/share/qt4/mkspecs/common/linux.conf:
   1.124 +/usr/share/qt4/mkspecs/qconfig.pri:
   1.125 +/usr/share/qt4/mkspecs/features/qt_functions.prf:
   1.126 +/usr/share/qt4/mkspecs/features/qt_config.prf:
   1.127 +/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
   1.128 +/usr/share/qt4/mkspecs/features/default_pre.prf:
   1.129 +/usr/share/qt4/mkspecs/features/release.prf:
   1.130 +/usr/share/qt4/mkspecs/features/default_post.prf:
   1.131 +/usr/share/qt4/mkspecs/features/warn_on.prf:
   1.132 +/usr/share/qt4/mkspecs/features/qt.prf:
   1.133 +/usr/share/qt4/mkspecs/features/unix/thread.prf:
   1.134 +/usr/share/qt4/mkspecs/features/moc.prf:
   1.135 +/usr/share/qt4/mkspecs/features/resources.prf:
   1.136 +/usr/share/qt4/mkspecs/features/uic.prf:
   1.137 +/usr/share/qt4/mkspecs/features/yacc.prf:
   1.138 +/usr/share/qt4/mkspecs/features/lex.prf:
   1.139 +/usr/lib/libQtGui.prl:
   1.140 +/usr/lib/libQtCore.prl:
   1.141 +qmake:  FORCE
   1.142 +	@$(QMAKE) -unix -o Makefile Fronta.pro
   1.143 +
   1.144 +dist: 
   1.145 +	@$(CHK_DIR_EXISTS) .tmp/Fronta1.0.0 || $(MKDIR) .tmp/Fronta1.0.0 
   1.146 +	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents program.h .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents program.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
   1.147 +
   1.148 +
   1.149 +clean:compiler_clean 
   1.150 +	-$(DEL_FILE) $(OBJECTS)
   1.151 +	-$(DEL_FILE) *~ core *.core
   1.152 +
   1.153 +
   1.154 +####### Sub-libraries
   1.155 +
   1.156 +distclean: clean
   1.157 +	-$(DEL_FILE) $(TARGET) 
   1.158 +	-$(DEL_FILE) Makefile
   1.159 +
   1.160 +
   1.161 +mocclean: compiler_moc_header_clean compiler_moc_source_clean
   1.162 +
   1.163 +mocables: compiler_moc_header_make_all compiler_moc_source_make_all
   1.164 +
   1.165 +compiler_moc_header_make_all:
   1.166 +compiler_moc_header_clean:
   1.167 +compiler_rcc_make_all:
   1.168 +compiler_rcc_clean:
   1.169 +compiler_image_collection_make_all: qmake_image_collection.cpp
   1.170 +compiler_image_collection_clean:
   1.171 +	-$(DEL_FILE) qmake_image_collection.cpp
   1.172 +compiler_moc_source_make_all:
   1.173 +compiler_moc_source_clean:
   1.174 +compiler_uic_make_all:
   1.175 +compiler_uic_clean:
   1.176 +compiler_yacc_decl_make_all:
   1.177 +compiler_yacc_decl_clean:
   1.178 +compiler_yacc_impl_make_all:
   1.179 +compiler_yacc_impl_clean:
   1.180 +compiler_lex_make_all:
   1.181 +compiler_lex_clean:
   1.182 +compiler_clean: 
   1.183 +
   1.184 +####### Compile
   1.185 +
   1.186 +program.o: program.cpp program.h
   1.187 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp
   1.188 +
   1.189 +####### Install
   1.190 +
   1.191 +install:   FORCE
   1.192 +
   1.193 +uninstall:   FORCE
   1.194 +
   1.195 +FORCE:
   1.196 +