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

  1. #############################################################################
  2. # Makefile for building: wizard
  3. # Generated by qmake on: Wed Oct 31 19:40:08 2001
  4. # Project:  wizard.pro
  5. # Template: app
  6. # Command: $(QMAKE) wizard.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 = wizard.h
  43. SOURCES = main.cpp \
  44.         wizard.cpp
  45. OBJECTS = .obj/release/main.o \
  46.         .obj/release/wizard.o
  47. FORMS = 
  48. UICDECLS = 
  49. UICIMPLS = 
  50. SRCMOC   = .moc/release/moc_wizard.cpp
  51. OBJMOC = .obj/release/moc_wizard.o
  52. DIST       = 
  53. QMAKE_TARGET = wizard
  54. DESTDIR  = 
  55. TARGET   = wizard
  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: wizard.pro ../../.qmake.cache 
  90.     $(QMAKE) wizard.pro
  91. qmake: 
  92.     @$(QMAKE) wizard.pro
  93.  
  94. dist: 
  95.     @mkdir -p .obj/release/wizard && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/wizard/ && ( cd `dirname .obj/release/wizard` && $(TAR) wizard.tar wizard && $(GZIP) wizard.tar ) && mv `dirname .obj/release/wizard`/wizard.tar.gz . && rm -rf .obj/release/wizard
  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 wizard.h \
  117.         ../../include/qapplication.h \
  118.         ../../include/qwizard.h \
  119.         ../../include/qdialog.h \
  120.         ../../include/qwidget.h \
  121.         ../../include/qwindowdefs.h \
  122.         ../../include/qobject.h \
  123.         ../../include/qpaintdevice.h \
  124.         ../../include/qpalette.h \
  125.         ../../include/qfont.h \
  126.         ../../include/qfontmetrics.h \
  127.         ../../include/qfontinfo.h \
  128.         ../../include/qsizepolicy.h \
  129.         ../../include/qobjectdefs.h \
  130.         ../../include/qstring.h \
  131.         ../../include/qnamespace.h \
  132.         ../../include/qglobal.h \
  133.         ../../include/qconfig-minimal.h \
  134.         ../../include/qconfig-small.h \
  135.         ../../include/qconfig-medium.h \
  136.         ../../include/qconfig-large.h \
  137.         ../../include/qconfig.h \
  138.         ../../include/qmodules.h \
  139.         ../../include/qfeatures.h \
  140.         ../../include/qcstring.h \
  141.         ../../include/qmemarray.h \
  142.         ../../include/qgarray.h \
  143.         ../../include/qshared.h \
  144.         ../../include/qevent.h \
  145.         ../../include/qregion.h \
  146.         ../../include/qmime.h \
  147.         ../../include/qpair.h \
  148.         ../../include/qrect.h \
  149.         ../../include/qsize.h \
  150.         ../../include/qpoint.h \
  151.         ../../include/qmap.h \
  152.         ../../include/qptrlist.h \
  153.         ../../include/qdatastream.h \
  154.         ../../include/qtl.h \
  155.         ../../include/qiodevice.h \
  156.         ../../include/qtextstream.h \
  157.         ../../include/qglist.h \
  158.         ../../include/qptrcollection.h \
  159.         ../../include/qcolor.h \
  160.         ../../include/qbrush.h \
  161.         ../../include/qdesktopwidget.h \
  162.         ../../include/qasciidict.h \
  163.         ../../include/qtranslator.h \
  164.         ../../include/qstrlist.h \
  165.         ../../include/qstringlist.h \
  166.         ../../include/quuid.h \
  167.         ../../include/qgdict.h \
  168.         ../../include/qvaluelist.h
  169.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
  170.  
  171. .obj/release/wizard.o: wizard.cpp wizard.h \
  172.         ../../include/qwidget.h \
  173.         ../../include/qhbox.h \
  174.         ../../include/qvbox.h \
  175.         ../../include/qlabel.h \
  176.         ../../include/qlineedit.h \
  177.         ../../include/qpushbutton.h \
  178.         ../../include/qvalidator.h \
  179.         ../../include/qapplication.h \
  180.         ../../include/qwizard.h \
  181.         ../../include/qdialog.h \
  182.         ../../include/qwindowdefs.h \
  183.         ../../include/qobject.h \
  184.         ../../include/qpaintdevice.h \
  185.         ../../include/qpalette.h \
  186.         ../../include/qfont.h \
  187.         ../../include/qfontmetrics.h \
  188.         ../../include/qfontinfo.h \
  189.         ../../include/qsizepolicy.h \
  190.         ../../include/qobjectdefs.h \
  191.         ../../include/qstring.h \
  192.         ../../include/qnamespace.h \
  193.         ../../include/qglobal.h \
  194.         ../../include/qconfig-minimal.h \
  195.         ../../include/qconfig-small.h \
  196.         ../../include/qconfig-medium.h \
  197.         ../../include/qconfig-large.h \
  198.         ../../include/qconfig.h \
  199.         ../../include/qmodules.h \
  200.         ../../include/qfeatures.h \
  201.         ../../include/qcstring.h \
  202.         ../../include/qmemarray.h \
  203.         ../../include/qgarray.h \
  204.         ../../include/qshared.h \
  205.         ../../include/qevent.h \
  206.         ../../include/qregion.h \
  207.         ../../include/qmime.h \
  208.         ../../include/qpair.h \
  209.         ../../include/qrect.h \
  210.         ../../include/qsize.h \
  211.         ../../include/qpoint.h \
  212.         ../../include/qmap.h \
  213.         ../../include/qptrlist.h \
  214.         ../../include/qdatastream.h \
  215.         ../../include/qtl.h \
  216.         ../../include/qiodevice.h \
  217.         ../../include/qtextstream.h \
  218.         ../../include/qglist.h \
  219.         ../../include/qptrcollection.h \
  220.         ../../include/qcolor.h \
  221.         ../../include/qbrush.h \
  222.         ../../include/qframe.h \
  223.         ../../include/qbutton.h \
  224.         ../../include/qiconset.h \
  225.         ../../include/qkeysequence.h \
  226.         ../../include/qpixmap.h \
  227.         ../../include/qregexp.h \
  228.         ../../include/qstringlist.h \
  229.         ../../include/qvaluelist.h \
  230.         ../../include/qstrlist.h \
  231.         ../../include/qdesktopwidget.h \
  232.         ../../include/qasciidict.h \
  233.         ../../include/qtranslator.h \
  234.         ../../include/quuid.h \
  235.         ../../include/qgdict.h
  236.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/wizard.o wizard.cpp
  237.  
  238. .obj/release/moc_wizard.o: .moc/release/moc_wizard.cpp wizard.h ../../include/qwizard.h \
  239.         ../../include/qdialog.h \
  240.         ../../include/qwidget.h \
  241.         ../../include/qwindowdefs.h \
  242.         ../../include/qobject.h \
  243.         ../../include/qpaintdevice.h \
  244.         ../../include/qpalette.h \
  245.         ../../include/qfont.h \
  246.         ../../include/qfontmetrics.h \
  247.         ../../include/qfontinfo.h \
  248.         ../../include/qsizepolicy.h \
  249.         ../../include/qobjectdefs.h \
  250.         ../../include/qstring.h \
  251.         ../../include/qnamespace.h \
  252.         ../../include/qglobal.h \
  253.         ../../include/qconfig-minimal.h \
  254.         ../../include/qconfig-small.h \
  255.         ../../include/qconfig-medium.h \
  256.         ../../include/qconfig-large.h \
  257.         ../../include/qconfig.h \
  258.         ../../include/qmodules.h \
  259.         ../../include/qfeatures.h \
  260.         ../../include/qcstring.h \
  261.         ../../include/qmemarray.h \
  262.         ../../include/qgarray.h \
  263.         ../../include/qshared.h \
  264.         ../../include/qevent.h \
  265.         ../../include/qregion.h \
  266.         ../../include/qmime.h \
  267.         ../../include/qpair.h \
  268.         ../../include/qrect.h \
  269.         ../../include/qsize.h \
  270.         ../../include/qpoint.h \
  271.         ../../include/qmap.h \
  272.         ../../include/qptrlist.h \
  273.         ../../include/qdatastream.h \
  274.         ../../include/qtl.h \
  275.         ../../include/qiodevice.h \
  276.         ../../include/qtextstream.h \
  277.         ../../include/qglist.h \
  278.         ../../include/qptrcollection.h \
  279.         ../../include/qcolor.h \
  280.         ../../include/qbrush.h
  281.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_wizard.o .moc/release/moc_wizard.cpp
  282.  
  283. .moc/release/moc_wizard.cpp: $(MOC) wizard.h
  284.     $(MOC) wizard.h -o .moc/release/moc_wizard.cpp
  285.  
  286. ####### Install
  287.  
  288. install: all 
  289.  
  290.