|
| 1 | +############################################################################# |
| 2 | +# Makefile for building: groove |
| 3 | +# Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Jun 4 15:49:00 2010 |
| 4 | +# Project: Groove.pro |
| 5 | +# Template: app |
| 6 | +# Command: /usr/bin/qmake -unix -o Makefile Groove.pro |
| 7 | +############################################################################# |
| 8 | + |
| 9 | +####### Compiler, tools and options |
| 10 | + |
| 11 | +CC = gcc |
| 12 | +CXX = g++ |
| 13 | +DEFINES = -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED |
| 14 | +CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
| 15 | +CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) |
| 16 | +INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/phonon -I/usr/include/qt4 -I. -I/usr/include/qjson -I/usr/include/qt4/phonon_compat -I. |
| 17 | +LINK = g++ |
| 18 | +LFLAGS = -Wl,-O1 |
| 19 | +LIBS = $(SUBLIBS) -L/usr/lib -L/usr/lib -lqjson -lphonon -lQtGui -lQtNetwork -lQtCore -lpthread |
| 20 | +AR = ar cqs |
| 21 | +RANLIB = |
| 22 | +QMAKE = /usr/bin/qmake |
| 23 | +TAR = tar -cf |
| 24 | +COMPRESS = gzip -9f |
| 25 | +COPY = cp -f |
| 26 | +SED = sed |
| 27 | +COPY_FILE = $(COPY) |
| 28 | +COPY_DIR = $(COPY) -r |
| 29 | +STRIP = strip |
| 30 | +INSTALL_FILE = install -m 644 -p |
| 31 | +INSTALL_DIR = $(COPY_DIR) |
| 32 | +INSTALL_PROGRAM = install -m 755 -p |
| 33 | +DEL_FILE = rm -f |
| 34 | +SYMLINK = ln -f -s |
| 35 | +DEL_DIR = rmdir |
| 36 | +MOVE = mv -f |
| 37 | +CHK_DIR_EXISTS= test -d |
| 38 | +MKDIR = mkdir -p |
| 39 | + |
| 40 | +####### Output directory |
| 41 | + |
| 42 | +OBJECTS_DIR = ./ |
| 43 | + |
| 44 | +####### Files |
| 45 | + |
| 46 | +SOURCES = main.cpp \ |
| 47 | + groove.cpp \ |
| 48 | + gscom.cpp \ |
| 49 | + splayer.cpp \ |
| 50 | + streamio.cpp moc_groove.cpp \ |
| 51 | + moc_gscom.cpp \ |
| 52 | + moc_splayer.cpp \ |
| 53 | + moc_streamio.cpp |
| 54 | +OBJECTS = main.o \ |
| 55 | + groove.o \ |
| 56 | + gscom.o \ |
| 57 | + splayer.o \ |
| 58 | + streamio.o \ |
| 59 | + moc_groove.o \ |
| 60 | + moc_gscom.o \ |
| 61 | + moc_splayer.o \ |
| 62 | + moc_streamio.o |
| 63 | +DIST = /usr/share/qt4/mkspecs/common/g++.conf \ |
| 64 | + /usr/share/qt4/mkspecs/common/unix.conf \ |
| 65 | + /usr/share/qt4/mkspecs/common/linux.conf \ |
| 66 | + /usr/share/qt4/mkspecs/qconfig.pri \ |
| 67 | + /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
| 68 | + /usr/share/qt4/mkspecs/features/qt_config.prf \ |
| 69 | + /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
| 70 | + /usr/share/qt4/mkspecs/features/default_pre.prf \ |
| 71 | + /usr/share/qt4/mkspecs/features/release.prf \ |
| 72 | + /usr/share/qt4/mkspecs/features/default_post.prf \ |
| 73 | + /usr/share/qt4/mkspecs/features/warn_on.prf \ |
| 74 | + /usr/share/qt4/mkspecs/features/qt.prf \ |
| 75 | + /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
| 76 | + /usr/share/qt4/mkspecs/features/moc.prf \ |
| 77 | + /usr/share/qt4/mkspecs/features/resources.prf \ |
| 78 | + /usr/share/qt4/mkspecs/features/uic.prf \ |
| 79 | + /usr/share/qt4/mkspecs/features/yacc.prf \ |
| 80 | + /usr/share/qt4/mkspecs/features/lex.prf \ |
| 81 | + /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
| 82 | + Groove.pro |
| 83 | +QMAKE_TARGET = groove |
| 84 | +DESTDIR = |
| 85 | +TARGET = groove |
| 86 | + |
| 87 | +first: all |
| 88 | +####### Implicit rules |
| 89 | + |
| 90 | +.SUFFIXES: .o .c .cpp .cc .cxx .C |
| 91 | + |
| 92 | +.cpp.o: |
| 93 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
| 94 | + |
| 95 | +.cc.o: |
| 96 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
| 97 | + |
| 98 | +.cxx.o: |
| 99 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
| 100 | + |
| 101 | +.C.o: |
| 102 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
| 103 | + |
| 104 | +.c.o: |
| 105 | + $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
| 106 | + |
| 107 | +####### Build rules |
| 108 | + |
| 109 | +all: Makefile $(TARGET) |
| 110 | + |
| 111 | +$(TARGET): $(OBJECTS) |
| 112 | + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
| 113 | + |
| 114 | +Makefile: Groove.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \ |
| 115 | + /usr/share/qt4/mkspecs/common/unix.conf \ |
| 116 | + /usr/share/qt4/mkspecs/common/linux.conf \ |
| 117 | + /usr/share/qt4/mkspecs/qconfig.pri \ |
| 118 | + /usr/share/qt4/mkspecs/features/qt_functions.prf \ |
| 119 | + /usr/share/qt4/mkspecs/features/qt_config.prf \ |
| 120 | + /usr/share/qt4/mkspecs/features/exclusive_builds.prf \ |
| 121 | + /usr/share/qt4/mkspecs/features/default_pre.prf \ |
| 122 | + /usr/share/qt4/mkspecs/features/release.prf \ |
| 123 | + /usr/share/qt4/mkspecs/features/default_post.prf \ |
| 124 | + /usr/share/qt4/mkspecs/features/warn_on.prf \ |
| 125 | + /usr/share/qt4/mkspecs/features/qt.prf \ |
| 126 | + /usr/share/qt4/mkspecs/features/unix/thread.prf \ |
| 127 | + /usr/share/qt4/mkspecs/features/moc.prf \ |
| 128 | + /usr/share/qt4/mkspecs/features/resources.prf \ |
| 129 | + /usr/share/qt4/mkspecs/features/uic.prf \ |
| 130 | + /usr/share/qt4/mkspecs/features/yacc.prf \ |
| 131 | + /usr/share/qt4/mkspecs/features/lex.prf \ |
| 132 | + /usr/share/qt4/mkspecs/features/include_source_dir.prf \ |
| 133 | + /usr/lib/libphonon.prl \ |
| 134 | + /usr/lib/libQtGui.prl \ |
| 135 | + /usr/lib/libQtNetwork.prl \ |
| 136 | + /usr/lib/libQtCore.prl |
| 137 | + $(QMAKE) -unix -o Makefile Groove.pro |
| 138 | +/usr/share/qt4/mkspecs/common/g++.conf: |
| 139 | +/usr/share/qt4/mkspecs/common/unix.conf: |
| 140 | +/usr/share/qt4/mkspecs/common/linux.conf: |
| 141 | +/usr/share/qt4/mkspecs/qconfig.pri: |
| 142 | +/usr/share/qt4/mkspecs/features/qt_functions.prf: |
| 143 | +/usr/share/qt4/mkspecs/features/qt_config.prf: |
| 144 | +/usr/share/qt4/mkspecs/features/exclusive_builds.prf: |
| 145 | +/usr/share/qt4/mkspecs/features/default_pre.prf: |
| 146 | +/usr/share/qt4/mkspecs/features/release.prf: |
| 147 | +/usr/share/qt4/mkspecs/features/default_post.prf: |
| 148 | +/usr/share/qt4/mkspecs/features/warn_on.prf: |
| 149 | +/usr/share/qt4/mkspecs/features/qt.prf: |
| 150 | +/usr/share/qt4/mkspecs/features/unix/thread.prf: |
| 151 | +/usr/share/qt4/mkspecs/features/moc.prf: |
| 152 | +/usr/share/qt4/mkspecs/features/resources.prf: |
| 153 | +/usr/share/qt4/mkspecs/features/uic.prf: |
| 154 | +/usr/share/qt4/mkspecs/features/yacc.prf: |
| 155 | +/usr/share/qt4/mkspecs/features/lex.prf: |
| 156 | +/usr/share/qt4/mkspecs/features/include_source_dir.prf: |
| 157 | +/usr/lib/libphonon.prl: |
| 158 | +/usr/lib/libQtGui.prl: |
| 159 | +/usr/lib/libQtNetwork.prl: |
| 160 | +/usr/lib/libQtCore.prl: |
| 161 | +qmake: FORCE |
| 162 | + @$(QMAKE) -unix -o Makefile Groove.pro |
| 163 | + |
| 164 | +dist: |
| 165 | + @$(CHK_DIR_EXISTS) .tmp/groove1.0.0 || $(MKDIR) .tmp/groove1.0.0 |
| 166 | + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/groove1.0.0/ && $(COPY_FILE) --parents groove.h gscom.h splayer.h streamio.h .tmp/groove1.0.0/ && $(COPY_FILE) --parents main.cpp groove.cpp gscom.cpp splayer.cpp streamio.cpp .tmp/groove1.0.0/ && (cd `dirname .tmp/groove1.0.0` && $(TAR) groove1.0.0.tar groove1.0.0 && $(COMPRESS) groove1.0.0.tar) && $(MOVE) `dirname .tmp/groove1.0.0`/groove1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/groove1.0.0 |
| 167 | + |
| 168 | + |
| 169 | +clean:compiler_clean |
| 170 | + -$(DEL_FILE) $(OBJECTS) |
| 171 | + -$(DEL_FILE) *~ core *.core |
| 172 | + |
| 173 | + |
| 174 | +####### Sub-libraries |
| 175 | + |
| 176 | +distclean: clean |
| 177 | + -$(DEL_FILE) $(TARGET) |
| 178 | + -$(DEL_FILE) Makefile |
| 179 | + |
| 180 | + |
| 181 | +mocclean: compiler_moc_header_clean compiler_moc_source_clean |
| 182 | + |
| 183 | +mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
| 184 | + |
| 185 | +compiler_moc_header_make_all: moc_groove.cpp moc_gscom.cpp moc_splayer.cpp moc_streamio.cpp |
| 186 | +compiler_moc_header_clean: |
| 187 | + -$(DEL_FILE) moc_groove.cpp moc_gscom.cpp moc_splayer.cpp moc_streamio.cpp |
| 188 | +moc_groove.cpp: gscom.h \ |
| 189 | + splayer.h \ |
| 190 | + streamio.h \ |
| 191 | + groove.h |
| 192 | + /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) groove.h -o moc_groove.cpp |
| 193 | + |
| 194 | +moc_gscom.cpp: gscom.h |
| 195 | + /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) gscom.h -o moc_gscom.cpp |
| 196 | + |
| 197 | +moc_splayer.cpp: streamio.h \ |
| 198 | + splayer.h \ |
| 199 | + splayer.h |
| 200 | + /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) splayer.h -o moc_splayer.cpp |
| 201 | + |
| 202 | +moc_streamio.cpp: splayer.h \ |
| 203 | + streamio.h \ |
| 204 | + streamio.h |
| 205 | + /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) streamio.h -o moc_streamio.cpp |
| 206 | + |
| 207 | +compiler_rcc_make_all: |
| 208 | +compiler_rcc_clean: |
| 209 | +compiler_image_collection_make_all: qmake_image_collection.cpp |
| 210 | +compiler_image_collection_clean: |
| 211 | + -$(DEL_FILE) qmake_image_collection.cpp |
| 212 | +compiler_moc_source_make_all: |
| 213 | +compiler_moc_source_clean: |
| 214 | +compiler_uic_make_all: |
| 215 | +compiler_uic_clean: |
| 216 | +compiler_yacc_decl_make_all: |
| 217 | +compiler_yacc_decl_clean: |
| 218 | +compiler_yacc_impl_make_all: |
| 219 | +compiler_yacc_impl_clean: |
| 220 | +compiler_lex_make_all: |
| 221 | +compiler_lex_clean: |
| 222 | +compiler_clean: compiler_moc_header_clean |
| 223 | + |
| 224 | +####### Compile |
| 225 | + |
| 226 | +main.o: main.cpp groove.h \ |
| 227 | + gscom.h \ |
| 228 | + splayer.h \ |
| 229 | + streamio.h |
| 230 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
| 231 | + |
| 232 | +groove.o: groove.cpp groove.h \ |
| 233 | + gscom.h \ |
| 234 | + splayer.h \ |
| 235 | + streamio.h |
| 236 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o groove.o groove.cpp |
| 237 | + |
| 238 | +gscom.o: gscom.cpp gscom.h |
| 239 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o gscom.o gscom.cpp |
| 240 | + |
| 241 | +splayer.o: splayer.cpp splayer.h \ |
| 242 | + streamio.h |
| 243 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o splayer.o splayer.cpp |
| 244 | + |
| 245 | +streamio.o: streamio.cpp streamio.h \ |
| 246 | + splayer.h |
| 247 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o streamio.o streamio.cpp |
| 248 | + |
| 249 | +moc_groove.o: moc_groove.cpp |
| 250 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_groove.o moc_groove.cpp |
| 251 | + |
| 252 | +moc_gscom.o: moc_gscom.cpp |
| 253 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_gscom.o moc_gscom.cpp |
| 254 | + |
| 255 | +moc_splayer.o: moc_splayer.cpp |
| 256 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_splayer.o moc_splayer.cpp |
| 257 | + |
| 258 | +moc_streamio.o: moc_streamio.cpp |
| 259 | + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_streamio.o moc_streamio.cpp |
| 260 | + |
| 261 | +####### Install |
| 262 | + |
| 263 | +install_target: first FORCE |
| 264 | + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/bin/ |
| 265 | + -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" |
| 266 | + -$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" |
| 267 | + |
| 268 | +uninstall_target: FORCE |
| 269 | + -$(DEL_FILE) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)" |
| 270 | + -$(DEL_DIR) $(INSTALL_ROOT)/usr/bin/ |
| 271 | + |
| 272 | + |
| 273 | +install: install_target FORCE |
| 274 | + |
| 275 | +uninstall: uninstall_target FORCE |
| 276 | + |
| 277 | +FORCE: |
| 278 | + |
0 commit comments