home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / sound / Makefile next >
Makefile  |  2001-10-31  |  6KB  |  237 lines

  1. #############################################################################
  2. # Makefile for building: sound
  3. # Generated by qmake on: Wed Oct 31 19:38:21 2001
  4. # Project:  sound.pro
  5. # Template: app
  6. # Command: $(QMAKE) sound.pro
  7. #############################################################################
  8.  
  9. ####### Compiler, tools and options
  10.  
  11. CC       = gcc
  12. CXX      = g++
  13. LEX      = flex
  14. YACC     = yacc
  15. CFLAGS   = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
  16. CXXFLAGS = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
  17. LEXFLAGS = 
  18. YACCFLAGS= -d
  19. INCPATH  = -IF:/XFree86/include -I$(QTDIR)/include -I.moc/release/ -IG:/qtrel/mkspecs/emx-gcc
  20. LINK     = g++
  21. LFLAGS   = -Zomf -Zcrtdll -Zexe -Zmtd -fno-exceptions
  22. LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -LF:/XFree86/lib -lqt -lICE -lSM -ldl -lXext -lX11 -lm
  23. AR       = ar cqs
  24. RANLIB   = 
  25. MOC      = $(QTDIR)/bin/moc
  26. UIC      = $(QTDIR)/bin/uic
  27. QMAKE    = qmake
  28. TAR      = tar -cf
  29. GZIP     = gzip -9f
  30. COPY     = cp -f
  31. COPY_FILE= $(COPY) -p
  32. COPY_DIR = $(COPY) -pR
  33. DEL      = rm -f
  34. MOVE     = mv
  35.  
  36. ####### Output directory
  37.  
  38. OBJECTS_DIR = .obj/release/
  39.  
  40. ####### Files
  41.  
  42. HEADERS = sound.h
  43. SOURCES = sound.cpp
  44. OBJECTS = .obj/release/sound.o
  45. FORMS = 
  46. UICDECLS = 
  47. UICIMPLS = 
  48. SRCMOC   = .moc/release/moc_sound.cpp
  49. OBJMOC = .obj/release/moc_sound.o
  50. DIST       = 
  51. QMAKE_TARGET = sound
  52. DESTDIR  = 
  53. TARGET   = sound
  54.  
  55. first: all
  56. ####### Implicit rules
  57.  
  58. .SUFFIXES: .cpp .cxx .cc .C .c
  59.  
  60. .cpp.o:
  61.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  62.  
  63. .cxx.o:
  64.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  65.  
  66. .cc.o:
  67.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  68.  
  69. .C.o:
  70.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  71.  
  72. .c.o:
  73.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  74.  
  75. ####### Build rules
  76.  
  77. all: Makefile $(TARGET)
  78.  
  79. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  80.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  81.  
  82. mocables: $(SRCMOC)
  83.  
  84. $(MOC): 
  85.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  86.  
  87. Makefile: sound.pro ../../.qmake.cache 
  88.     $(QMAKE) sound.pro
  89. qmake: 
  90.     @$(QMAKE) sound.pro
  91.  
  92. dist: 
  93.     @mkdir -p .obj/release/sound && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/sound/ && ( cd `dirname .obj/release/sound` && $(TAR) sound.tar sound && $(GZIP) sound.tar ) && mv `dirname .obj/release/sound`/sound.tar.gz . && rm -rf .obj/release/sound
  94.  
  95. mocclean:
  96.     -rm -f $(OBJMOC)
  97.     -rm -f $(SRCMOC)
  98.  
  99. uiclean:
  100.  
  101. clean: mocclean
  102.     -rm -f $(OBJECTS) 
  103.     -rm -f *~ core *.core
  104.  
  105.  
  106. ####### Sub-libraries
  107.  
  108. distclean: clean
  109.     -rm -f $(TARGET) $(TARGET)
  110.     
  111.  
  112. ####### Compile
  113.  
  114. .obj/release/sound.o: sound.cpp sound.h \
  115.         ../../include/qapplication.h \
  116.         ../../include/qmessagebox.h \
  117.         ../../include/qmenubar.h \
  118.         ../../include/qsound.h \
  119.         ../../include/qmainwindow.h \
  120.         ../../include/qobject.h \
  121.         ../../include/qobjectdefs.h \
  122.         ../../include/qwindowdefs.h \
  123.         ../../include/qstring.h \
  124.         ../../include/qevent.h \
  125.         ../../include/qnamespace.h \
  126.         ../../include/qglobal.h \
  127.         ../../include/qconfig-minimal.h \
  128.         ../../include/qconfig-small.h \
  129.         ../../include/qconfig-medium.h \
  130.         ../../include/qconfig-large.h \
  131.         ../../include/qconfig.h \
  132.         ../../include/qmodules.h \
  133.         ../../include/qfeatures.h \
  134.         ../../include/qcstring.h \
  135.         ../../include/qmemarray.h \
  136.         ../../include/qgarray.h \
  137.         ../../include/qshared.h \
  138.         ../../include/qregion.h \
  139.         ../../include/qmime.h \
  140.         ../../include/qpair.h \
  141.         ../../include/qrect.h \
  142.         ../../include/qsize.h \
  143.         ../../include/qpoint.h \
  144.         ../../include/qmap.h \
  145.         ../../include/qptrlist.h \
  146.         ../../include/qdatastream.h \
  147.         ../../include/qtl.h \
  148.         ../../include/qiodevice.h \
  149.         ../../include/qtextstream.h \
  150.         ../../include/qglist.h \
  151.         ../../include/qptrcollection.h \
  152.         ../../include/qwidget.h \
  153.         ../../include/qtoolbar.h \
  154.         ../../include/qpaintdevice.h \
  155.         ../../include/qpalette.h \
  156.         ../../include/qfont.h \
  157.         ../../include/qfontmetrics.h \
  158.         ../../include/qfontinfo.h \
  159.         ../../include/qsizepolicy.h \
  160.         ../../include/qcolor.h \
  161.         ../../include/qbrush.h \
  162.         ../../include/qdockwindow.h \
  163.         ../../include/qframe.h \
  164.         ../../include/qdesktopwidget.h \
  165.         ../../include/qasciidict.h \
  166.         ../../include/qtranslator.h \
  167.         ../../include/qstrlist.h \
  168.         ../../include/qstringlist.h \
  169.         ../../include/quuid.h \
  170.         ../../include/qgdict.h \
  171.         ../../include/qvaluelist.h \
  172.         ../../include/qdialog.h \
  173.         ../../include/qpopupmenu.h \
  174.         ../../include/qmenudata.h \
  175.         ../../include/qiconset.h \
  176.         ../../include/qkeysequence.h \
  177.         ../../include/qsignal.h \
  178.         ../../include/qpixmap.h \
  179.         ../../include/qvariant.h
  180.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/sound.o sound.cpp
  181.  
  182. .obj/release/moc_sound.o: .moc/release/moc_sound.cpp sound.h ../../include/qsound.h \
  183.         ../../include/qmainwindow.h \
  184.         ../../include/qobject.h \
  185.         ../../include/qobjectdefs.h \
  186.         ../../include/qwindowdefs.h \
  187.         ../../include/qstring.h \
  188.         ../../include/qevent.h \
  189.         ../../include/qnamespace.h \
  190.         ../../include/qglobal.h \
  191.         ../../include/qconfig-minimal.h \
  192.         ../../include/qconfig-small.h \
  193.         ../../include/qconfig-medium.h \
  194.         ../../include/qconfig-large.h \
  195.         ../../include/qconfig.h \
  196.         ../../include/qmodules.h \
  197.         ../../include/qfeatures.h \
  198.         ../../include/qcstring.h \
  199.         ../../include/qmemarray.h \
  200.         ../../include/qgarray.h \
  201.         ../../include/qshared.h \
  202.         ../../include/qregion.h \
  203.         ../../include/qmime.h \
  204.         ../../include/qpair.h \
  205.         ../../include/qrect.h \
  206.         ../../include/qsize.h \
  207.         ../../include/qpoint.h \
  208.         ../../include/qmap.h \
  209.         ../../include/qptrlist.h \
  210.         ../../include/qdatastream.h \
  211.         ../../include/qtl.h \
  212.         ../../include/qiodevice.h \
  213.         ../../include/qtextstream.h \
  214.         ../../include/qglist.h \
  215.         ../../include/qptrcollection.h \
  216.         ../../include/qwidget.h \
  217.         ../../include/qtoolbar.h \
  218.         ../../include/qpaintdevice.h \
  219.         ../../include/qpalette.h \
  220.         ../../include/qfont.h \
  221.         ../../include/qfontmetrics.h \
  222.         ../../include/qfontinfo.h \
  223.         ../../include/qsizepolicy.h \
  224.         ../../include/qcolor.h \
  225.         ../../include/qbrush.h \
  226.         ../../include/qdockwindow.h \
  227.         ../../include/qframe.h
  228.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_sound.o .moc/release/moc_sound.cpp
  229.  
  230. .moc/release/moc_sound.cpp: $(MOC) sound.h
  231.     $(MOC) sound.h -o .moc/release/moc_sound.cpp
  232.  
  233. ####### Install
  234.  
  235. install: all 
  236.  
  237.