############################################################################# # Makefile for building: Midigram.app/Contents/MacOS/Midigram # Generated by qmake (2.01a) (Qt 4.3.4) on: Fri Apr 18 20:44:21 2008 # Project: Midigram.pro # Template: app # Command: /Users/poly/src/qt-mac-static/bin/qmake -macx -o Makefile.qmake Midigram.pro ############################################################################# ####### Compiler, tools and options CC = cc CXX = c++ DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB CFLAGS = -pipe -Os -arch ppc -arch i386 -Wall -W $(DEFINES) CXXFLAGS = -pipe -Os -arch ppc -arch i386 -Wall -W $(DEFINES) INCPATH = -I../qt-mac-static/qt/mkspecs/macx-g++ -I. -I../qt-mac-static/qt/include/QtCore -I../qt-mac-static/qt/include/QtCore -I../qt-mac-static/qt/include/QtGui -I../qt-mac-static/qt/include/QtGui -I../qt-mac-static/qt/include -I. -I. -I. LINK = c++ LFLAGS = -headerpad_max_install_names -arch ppc -arch i386 LIBS = $(SUBLIBS) -L/Users/poly/src/qt-mac-static/qt/lib -framework CoreMidi -lQtGui -L/Users/poly/src/qt-mac-static/qt/lib -framework Carbon -framework AppKit -lQtCore -lz -lm -framework ApplicationServices AR = ar cq RANLIB = ranlib -s QMAKE = /Users/poly/src/qt-mac-static/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = cp -f COPY_DIR = cp -f -R INSTALL_FILE = $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = $(COPY_FILE) DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = ./ ####### Files SOURCES = midigram.cpp \ midilog.cpp \ midiinfo.cpp \ omutils.cpp \ main.cpp moc_midigram.cpp \ moc_midilog.cpp \ qrc_midigram.cpp OBJECTS = midigram.o \ midilog.o \ midiinfo.o \ omutils.o \ main.o \ moc_midigram.o \ moc_midilog.o \ qrc_midigram.o DIST = ../qt-mac-static/qt/mkspecs/common/unix.conf \ ../qt-mac-static/qt/mkspecs/common/mac.conf \ ../qt-mac-static/qt/mkspecs/common/mac-g++.conf \ ../qt-mac-static/qt/mkspecs/qconfig.pri \ ../qt-mac-static/qt/mkspecs/features/qt_functions.prf \ ../qt-mac-static/qt/mkspecs/features/qt_config.prf \ ../qt-mac-static/qt/mkspecs/features/exclusive_builds.prf \ ../qt-mac-static/qt/mkspecs/features/default_pre.prf \ ../qt-mac-static/qt/mkspecs/features/mac/default_pre.prf \ ../qt-mac-static/qt/mkspecs/features/release.prf \ ../qt-mac-static/qt/mkspecs/features/default_post.prf \ ../qt-mac-static/qt/mkspecs/features/mac/default_post.prf \ ../qt-mac-static/qt/mkspecs/features/mac/objective_c.prf \ ../qt-mac-static/qt/mkspecs/features/mac/ppc.prf \ ../qt-mac-static/qt/mkspecs/features/mac/x86.prf \ ../qt-mac-static/qt/mkspecs/features/warn_on.prf \ ../qt-mac-static/qt/mkspecs/features/qt.prf \ ../qt-mac-static/qt/mkspecs/features/unix/thread.prf \ ../qt-mac-static/qt/mkspecs/features/moc.prf \ ../qt-mac-static/qt/mkspecs/features/mac/rez.prf \ ../qt-mac-static/qt/mkspecs/features/mac/sdk.prf \ ../qt-mac-static/qt/mkspecs/features/resources.prf \ ../qt-mac-static/qt/mkspecs/features/uic.prf \ ../qt-mac-static/qt/mkspecs/features/yacc.prf \ ../qt-mac-static/qt/mkspecs/features/lex.prf \ Midigram.pro QMAKE_TARGET = Midigram DESTDIR = TARGET = Midigram.app/Contents/MacOS/Midigram ####### Custom Compiler Variables QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \ -Os \ -arch \ ppc \ -arch \ i386 \ -Wall \ -W first: all ####### Implicit rules .SUFFIXES: .o .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" ####### Build rules all: Makefile.qmake Midigram.app/Contents/PkgInfo Midigram.app/Contents/Info.plist $(TARGET) $(TARGET): $(OBJECTS) @$(CHK_DIR_EXISTS) Midigram.app/Contents/MacOS/ || $(MKDIR) Midigram.app/Contents/MacOS/ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) Makefile.qmake: Midigram.pro ../qt-mac-static/qt/mkspecs/macx-g++/qmake.conf ../qt-mac-static/qt/mkspecs/common/unix.conf \ ../qt-mac-static/qt/mkspecs/common/mac.conf \ ../qt-mac-static/qt/mkspecs/common/mac-g++.conf \ ../qt-mac-static/qt/mkspecs/qconfig.pri \ ../qt-mac-static/qt/mkspecs/features/qt_functions.prf \ ../qt-mac-static/qt/mkspecs/features/qt_config.prf \ ../qt-mac-static/qt/mkspecs/features/exclusive_builds.prf \ ../qt-mac-static/qt/mkspecs/features/default_pre.prf \ ../qt-mac-static/qt/mkspecs/features/mac/default_pre.prf \ ../qt-mac-static/qt/mkspecs/features/release.prf \ ../qt-mac-static/qt/mkspecs/features/default_post.prf \ ../qt-mac-static/qt/mkspecs/features/mac/default_post.prf \ ../qt-mac-static/qt/mkspecs/features/mac/objective_c.prf \ ../qt-mac-static/qt/mkspecs/features/mac/ppc.prf \ ../qt-mac-static/qt/mkspecs/features/mac/x86.prf \ ../qt-mac-static/qt/mkspecs/features/warn_on.prf \ ../qt-mac-static/qt/mkspecs/features/qt.prf \ ../qt-mac-static/qt/mkspecs/features/unix/thread.prf \ ../qt-mac-static/qt/mkspecs/features/moc.prf \ ../qt-mac-static/qt/mkspecs/features/mac/rez.prf \ ../qt-mac-static/qt/mkspecs/features/mac/sdk.prf \ ../qt-mac-static/qt/mkspecs/features/resources.prf \ ../qt-mac-static/qt/mkspecs/features/uic.prf \ ../qt-mac-static/qt/mkspecs/features/yacc.prf \ ../qt-mac-static/qt/mkspecs/features/lex.prf \ /Users/poly/src/qt-mac-static/qt/lib/libQtGui.prl \ /Users/poly/src/qt-mac-static/qt/lib/libQtCore.prl $(QMAKE) -macx -o Makefile.qmake Midigram.pro ../qt-mac-static/qt/mkspecs/common/unix.conf: ../qt-mac-static/qt/mkspecs/common/mac.conf: ../qt-mac-static/qt/mkspecs/common/mac-g++.conf: ../qt-mac-static/qt/mkspecs/qconfig.pri: ../qt-mac-static/qt/mkspecs/features/qt_functions.prf: ../qt-mac-static/qt/mkspecs/features/qt_config.prf: ../qt-mac-static/qt/mkspecs/features/exclusive_builds.prf: ../qt-mac-static/qt/mkspecs/features/default_pre.prf: ../qt-mac-static/qt/mkspecs/features/mac/default_pre.prf: ../qt-mac-static/qt/mkspecs/features/release.prf: ../qt-mac-static/qt/mkspecs/features/default_post.prf: ../qt-mac-static/qt/mkspecs/features/mac/default_post.prf: ../qt-mac-static/qt/mkspecs/features/mac/objective_c.prf: ../qt-mac-static/qt/mkspecs/features/mac/ppc.prf: ../qt-mac-static/qt/mkspecs/features/mac/x86.prf: ../qt-mac-static/qt/mkspecs/features/warn_on.prf: ../qt-mac-static/qt/mkspecs/features/qt.prf: ../qt-mac-static/qt/mkspecs/features/unix/thread.prf: ../qt-mac-static/qt/mkspecs/features/moc.prf: ../qt-mac-static/qt/mkspecs/features/mac/rez.prf: ../qt-mac-static/qt/mkspecs/features/mac/sdk.prf: ../qt-mac-static/qt/mkspecs/features/resources.prf: ../qt-mac-static/qt/mkspecs/features/uic.prf: ../qt-mac-static/qt/mkspecs/features/yacc.prf: ../qt-mac-static/qt/mkspecs/features/lex.prf: /Users/poly/src/qt-mac-static/qt/lib/libQtGui.prl: /Users/poly/src/qt-mac-static/qt/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -macx -o Makefile.qmake Midigram.pro Midigram.app/Contents/PkgInfo: @$(CHK_DIR_EXISTS) Midigram.app/Contents || $(MKDIR) Midigram.app/Contents @$(DEL_FILE) Midigram.app/Contents/PkgInfo @echo "APPL????" >Midigram.app/Contents/PkgInfo Midigram.app/Contents/Info.plist: @$(CHK_DIR_EXISTS) Midigram.app/Contents || $(MKDIR) Midigram.app/Contents @$(DEL_FILE) Midigram.app/Contents/Info.plist @sed -e "s,@ICON@,,g" -e "s,@EXECUTABLE@,Midigram,g" -e "s,@TYPEINFO@,????,g" ../qt-mac-static/qt/mkspecs/macx-g++/Info.plist.app >Midigram.app/Contents/Info.plist dist: @$(CHK_DIR_EXISTS) .tmp/Midigram1.0.0 || $(MKDIR) .tmp/Midigram1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Midigram1.0.0/ && $(COPY_FILE) --parents midigram.h midilog.h midiinfo.h omutils.h main.h version.h .tmp/Midigram1.0.0/ && $(COPY_FILE) --parents midigram.qrc .tmp/Midigram1.0.0/ && $(COPY_FILE) --parents midigram.cpp midilog.cpp midiinfo.cpp omutils.cpp main.cpp .tmp/Midigram1.0.0/ && (cd `dirname .tmp/Midigram1.0.0` && $(TAR) Midigram1.0.0.tar Midigram1.0.0 && $(COMPRESS) Midigram1.0.0.tar) && $(MOVE) `dirname .tmp/Midigram1.0.0`/Midigram1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/Midigram1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) -r Midigram.app -$(DEL_FILE) Makefile.qmake mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all compiler_objective_c_make_all: compiler_objective_c_clean: compiler_moc_header_make_all: moc_midigram.cpp moc_midilog.cpp compiler_moc_header_clean: -$(DEL_FILE) moc_midigram.cpp moc_midilog.cpp moc_midigram.cpp: midiinfo.h \ omutils.h \ midilog.h \ midigram.h /Users/poly/src/qt-mac-static/qt/bin/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ midigram.h -o moc_midigram.cpp moc_midilog.cpp: midiinfo.h \ omutils.h \ midilog.h /Users/poly/src/qt-mac-static/qt/bin/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ midilog.h -o moc_midilog.cpp compiler_rcc_make_all: qrc_midigram.cpp compiler_rcc_clean: -$(DEL_FILE) qrc_midigram.cpp qrc_midigram.cpp: midigram.qrc \ resources/icon2.png \ resources/icon1.png /Users/poly/src/qt-mac-static/qt/bin/rcc -name midigram midigram.qrc -o qrc_midigram.cpp compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: compiler_rez_source_make_all: compiler_rez_source_clean: compiler_uic_make_all: compiler_uic_clean: compiler_yacc_decl_make_all: compiler_yacc_decl_clean: compiler_yacc_impl_make_all: compiler_yacc_impl_clean: compiler_lex_make_all: compiler_lex_clean: compiler_clean: compiler_moc_header_clean compiler_rcc_clean ####### Compile midigram.o: midigram.cpp midigram.h \ midiinfo.h \ omutils.h \ midilog.h \ version.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o midigram.o midigram.cpp midilog.o: midilog.cpp midilog.h \ midiinfo.h \ omutils.h \ midigram.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o midilog.o midilog.cpp midiinfo.o: midiinfo.cpp midiinfo.h \ omutils.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o midiinfo.o midiinfo.cpp omutils.o: omutils.cpp omutils.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o omutils.o omutils.cpp main.o: main.cpp main.h \ midigram.h \ midiinfo.h \ omutils.h \ midilog.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp moc_midigram.o: moc_midigram.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_midigram.o moc_midigram.cpp moc_midilog.o: moc_midilog.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_midilog.o moc_midilog.cpp qrc_midigram.o: qrc_midigram.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_midigram.o qrc_midigram.cpp ####### Install install: FORCE uninstall: FORCE FORCE: