home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / progressbar / Makefile < prev    next >
Makefile  |  2001-10-31  |  8KB  |  286 lines

  1. #############################################################################
  2. # Makefile for building: progressbar
  3. # Generated by qmake on: Wed Oct 31 19:37:43 2001
  4. # Project:  progressbar.pro
  5. # Template: app
  6. # Command: $(QMAKE) progressbar.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 = progressbar.h
  43. SOURCES = main.cpp \
  44.         progressbar.cpp
  45. OBJECTS = .obj/release/main.o \
  46.         .obj/release/progressbar.o
  47. FORMS = 
  48. UICDECLS = 
  49. UICIMPLS = 
  50. SRCMOC   = .moc/release/moc_progressbar.cpp
  51. OBJMOC = .obj/release/moc_progressbar.o
  52. DIST       = 
  53. QMAKE_TARGET = progressbar
  54. DESTDIR  = 
  55. TARGET   = progressbar
  56.  
  57. first: all
  58. ####### Implicit rules
  59.  
  60. .SUFFIXES: .cpp .cxx .cc .C .c
  61.  
  62. .cpp.o:
  63.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  64.  
  65. .cxx.o:
  66.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  67.  
  68. .cc.o:
  69.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  70.  
  71. .C.o:
  72.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  73.  
  74. .c.o:
  75.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  76.  
  77. ####### Build rules
  78.  
  79. all: Makefile $(TARGET)
  80.  
  81. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  82.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  83.  
  84. mocables: $(SRCMOC)
  85.  
  86. $(MOC): 
  87.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  88.  
  89. Makefile: progressbar.pro ../../.qmake.cache 
  90.     $(QMAKE) progressbar.pro
  91. qmake: 
  92.     @$(QMAKE) progressbar.pro
  93.  
  94. dist: 
  95.     @mkdir -p .obj/release/progressbar && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/progressbar/ && ( cd `dirname .obj/release/progressbar` && $(TAR) progressbar.tar progressbar && $(GZIP) progressbar.tar ) && mv `dirname .obj/release/progressbar`/progressbar.tar.gz . && rm -rf .obj/release/progressbar
  96.  
  97. mocclean:
  98.     -rm -f $(OBJMOC)
  99.     -rm -f $(SRCMOC)
  100.  
  101. uiclean:
  102.  
  103. clean: mocclean
  104.     -rm -f $(OBJECTS) 
  105.     -rm -f *~ core *.core
  106.  
  107.  
  108. ####### Sub-libraries
  109.  
  110. distclean: clean
  111.     -rm -f $(TARGET) $(TARGET)
  112.     
  113.  
  114. ####### Compile
  115.  
  116. .obj/release/main.o: main.cpp progressbar.h \
  117.         ../../include/qapplication.h \
  118.         ../../include/qbuttongroup.h \
  119.         ../../include/qtimer.h \
  120.         ../../include/qgroupbox.h \
  121.         ../../include/qframe.h \
  122.         ../../include/qwidget.h \
  123.         ../../include/qwindowdefs.h \
  124.         ../../include/qobject.h \
  125.         ../../include/qpaintdevice.h \
  126.         ../../include/qpalette.h \
  127.         ../../include/qfont.h \
  128.         ../../include/qfontmetrics.h \
  129.         ../../include/qfontinfo.h \
  130.         ../../include/qsizepolicy.h \
  131.         ../../include/qobjectdefs.h \
  132.         ../../include/qstring.h \
  133.         ../../include/qnamespace.h \
  134.         ../../include/qglobal.h \
  135.         ../../include/qconfig-minimal.h \
  136.         ../../include/qconfig-small.h \
  137.         ../../include/qconfig-medium.h \
  138.         ../../include/qconfig-large.h \
  139.         ../../include/qconfig.h \
  140.         ../../include/qmodules.h \
  141.         ../../include/qfeatures.h \
  142.         ../../include/qcstring.h \
  143.         ../../include/qmemarray.h \
  144.         ../../include/qgarray.h \
  145.         ../../include/qshared.h \
  146.         ../../include/qevent.h \
  147.         ../../include/qregion.h \
  148.         ../../include/qmime.h \
  149.         ../../include/qpair.h \
  150.         ../../include/qrect.h \
  151.         ../../include/qsize.h \
  152.         ../../include/qpoint.h \
  153.         ../../include/qmap.h \
  154.         ../../include/qptrlist.h \
  155.         ../../include/qdatastream.h \
  156.         ../../include/qtl.h \
  157.         ../../include/qiodevice.h \
  158.         ../../include/qtextstream.h \
  159.         ../../include/qglist.h \
  160.         ../../include/qptrcollection.h \
  161.         ../../include/qcolor.h \
  162.         ../../include/qbrush.h \
  163.         ../../include/qdesktopwidget.h \
  164.         ../../include/qasciidict.h \
  165.         ../../include/qtranslator.h \
  166.         ../../include/qstrlist.h \
  167.         ../../include/qstringlist.h \
  168.         ../../include/quuid.h \
  169.         ../../include/qgdict.h \
  170.         ../../include/qvaluelist.h
  171.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
  172.  
  173. .obj/release/progressbar.o: progressbar.cpp progressbar.h \
  174.         ../../include/qradiobutton.h \
  175.         ../../include/qpushbutton.h \
  176.         ../../include/qprogressbar.h \
  177.         ../../include/qlayout.h \
  178.         ../../include/qmotifstyle.h \
  179.         ../../include/qbuttongroup.h \
  180.         ../../include/qtimer.h \
  181.         ../../include/qgroupbox.h \
  182.         ../../include/qframe.h \
  183.         ../../include/qwidget.h \
  184.         ../../include/qwindowdefs.h \
  185.         ../../include/qobject.h \
  186.         ../../include/qpaintdevice.h \
  187.         ../../include/qpalette.h \
  188.         ../../include/qfont.h \
  189.         ../../include/qfontmetrics.h \
  190.         ../../include/qfontinfo.h \
  191.         ../../include/qsizepolicy.h \
  192.         ../../include/qobjectdefs.h \
  193.         ../../include/qstring.h \
  194.         ../../include/qnamespace.h \
  195.         ../../include/qglobal.h \
  196.         ../../include/qconfig-minimal.h \
  197.         ../../include/qconfig-small.h \
  198.         ../../include/qconfig-medium.h \
  199.         ../../include/qconfig-large.h \
  200.         ../../include/qconfig.h \
  201.         ../../include/qmodules.h \
  202.         ../../include/qfeatures.h \
  203.         ../../include/qcstring.h \
  204.         ../../include/qmemarray.h \
  205.         ../../include/qgarray.h \
  206.         ../../include/qshared.h \
  207.         ../../include/qevent.h \
  208.         ../../include/qregion.h \
  209.         ../../include/qmime.h \
  210.         ../../include/qpair.h \
  211.         ../../include/qrect.h \
  212.         ../../include/qsize.h \
  213.         ../../include/qpoint.h \
  214.         ../../include/qmap.h \
  215.         ../../include/qptrlist.h \
  216.         ../../include/qdatastream.h \
  217.         ../../include/qtl.h \
  218.         ../../include/qiodevice.h \
  219.         ../../include/qtextstream.h \
  220.         ../../include/qglist.h \
  221.         ../../include/qptrcollection.h \
  222.         ../../include/qcolor.h \
  223.         ../../include/qbrush.h \
  224.         ../../include/qbutton.h \
  225.         ../../include/qkeysequence.h \
  226.         ../../include/qiconset.h \
  227.         ../../include/qpixmap.h \
  228.         ../../include/qcommonstyle.h \
  229.         ../../include/qstyle.h
  230.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/progressbar.o progressbar.cpp
  231.  
  232. .obj/release/moc_progressbar.o: .moc/release/moc_progressbar.cpp progressbar.h ../../include/qbuttongroup.h \
  233.         ../../include/qtimer.h \
  234.         ../../include/qgroupbox.h \
  235.         ../../include/qframe.h \
  236.         ../../include/qwidget.h \
  237.         ../../include/qwindowdefs.h \
  238.         ../../include/qobject.h \
  239.         ../../include/qpaintdevice.h \
  240.         ../../include/qpalette.h \
  241.         ../../include/qfont.h \
  242.         ../../include/qfontmetrics.h \
  243.         ../../include/qfontinfo.h \
  244.         ../../include/qsizepolicy.h \
  245.         ../../include/qobjectdefs.h \
  246.         ../../include/qstring.h \
  247.         ../../include/qnamespace.h \
  248.         ../../include/qglobal.h \
  249.         ../../include/qconfig-minimal.h \
  250.         ../../include/qconfig-small.h \
  251.         ../../include/qconfig-medium.h \
  252.         ../../include/qconfig-large.h \
  253.         ../../include/qconfig.h \
  254.         ../../include/qmodules.h \
  255.         ../../include/qfeatures.h \
  256.         ../../include/qcstring.h \
  257.         ../../include/qmemarray.h \
  258.         ../../include/qgarray.h \
  259.         ../../include/qshared.h \
  260.         ../../include/qevent.h \
  261.         ../../include/qregion.h \
  262.         ../../include/qmime.h \
  263.         ../../include/qpair.h \
  264.         ../../include/qrect.h \
  265.         ../../include/qsize.h \
  266.         ../../include/qpoint.h \
  267.         ../../include/qmap.h \
  268.         ../../include/qptrlist.h \
  269.         ../../include/qdatastream.h \
  270.         ../../include/qtl.h \
  271.         ../../include/qiodevice.h \
  272.         ../../include/qtextstream.h \
  273.         ../../include/qglist.h \
  274.         ../../include/qptrcollection.h \
  275.         ../../include/qcolor.h \
  276.         ../../include/qbrush.h
  277.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_progressbar.o .moc/release/moc_progressbar.cpp
  278.  
  279. .moc/release/moc_progressbar.cpp: $(MOC) progressbar.h
  280.     $(MOC) progressbar.h -o .moc/release/moc_progressbar.cpp
  281.  
  282. ####### Install
  283.  
  284. install: all 
  285.  
  286.