home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / addressbook / Makefile < prev   
Makefile  |  2001-10-31  |  12KB  |  418 lines

  1. #############################################################################
  2. # Makefile for building: addressbook
  3. # Generated by qmake on: Wed Oct 31 19:35:45 2001
  4. # Project:  addressbook.pro
  5. # Template: app
  6. # Command: $(QMAKE) addressbook.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 = centralwidget.h \
  43.         mainwindow.h
  44. SOURCES = centralwidget.cpp \
  45.         main.cpp \
  46.         mainwindow.cpp
  47. OBJECTS = .obj/release/centralwidget.o \
  48.         .obj/release/main.o \
  49.         .obj/release/mainwindow.o
  50. FORMS = 
  51. UICDECLS = 
  52. UICIMPLS = 
  53. SRCMOC   = .moc/release/moc_centralwidget.cpp \
  54.         .moc/release/moc_mainwindow.cpp
  55. OBJMOC = .obj/release/moc_centralwidget.o \
  56.         .obj/release/moc_mainwindow.o
  57. DIST       = 
  58. QMAKE_TARGET = addressbook
  59. DESTDIR  = 
  60. TARGET   = addressbook
  61.  
  62. first: all
  63. ####### Implicit rules
  64.  
  65. .SUFFIXES: .cpp .cxx .cc .C .c
  66.  
  67. .cpp.o:
  68.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  69.  
  70. .cxx.o:
  71.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  72.  
  73. .cc.o:
  74.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  75.  
  76. .C.o:
  77.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  78.  
  79. .c.o:
  80.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  81.  
  82. ####### Build rules
  83.  
  84. all: Makefile $(TARGET)
  85.  
  86. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  87.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  88.  
  89. mocables: $(SRCMOC)
  90.  
  91. $(MOC): 
  92.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  93.  
  94. Makefile: addressbook.pro ../../.qmake.cache 
  95.     $(QMAKE) addressbook.pro
  96. qmake: 
  97.     @$(QMAKE) addressbook.pro
  98.  
  99. dist: 
  100.     @mkdir -p .obj/release/addressbook && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/addressbook/ && ( cd `dirname .obj/release/addressbook` && $(TAR) addressbook.tar addressbook && $(GZIP) addressbook.tar ) && mv `dirname .obj/release/addressbook`/addressbook.tar.gz . && rm -rf .obj/release/addressbook
  101.  
  102. mocclean:
  103.     -rm -f $(OBJMOC)
  104.     -rm -f $(SRCMOC)
  105.  
  106. uiclean:
  107.  
  108. clean: mocclean
  109.     -rm -f $(OBJECTS) 
  110.     -rm -f *~ core *.core
  111.  
  112.  
  113. ####### Sub-libraries
  114.  
  115. distclean: clean
  116.     -rm -f $(TARGET) $(TARGET)
  117.     
  118.  
  119. ####### Compile
  120.  
  121. .obj/release/centralwidget.o: centralwidget.cpp centralwidget.h \
  122.         ../../include/qtabwidget.h \
  123.         ../../include/qlistview.h \
  124.         ../../include/qlayout.h \
  125.         ../../include/qwidget.h \
  126.         ../../include/qlabel.h \
  127.         ../../include/qpushbutton.h \
  128.         ../../include/qlineedit.h \
  129.         ../../include/qcheckbox.h \
  130.         ../../include/qfile.h \
  131.         ../../include/qtextstream.h \
  132.         ../../include/qstring.h \
  133.         ../../include/qwindowdefs.h \
  134.         ../../include/qobject.h \
  135.         ../../include/qpaintdevice.h \
  136.         ../../include/qpalette.h \
  137.         ../../include/qfont.h \
  138.         ../../include/qfontmetrics.h \
  139.         ../../include/qfontinfo.h \
  140.         ../../include/qsizepolicy.h \
  141.         ../../include/qobjectdefs.h \
  142.         ../../include/qnamespace.h \
  143.         ../../include/qglobal.h \
  144.         ../../include/qconfig-minimal.h \
  145.         ../../include/qconfig-small.h \
  146.         ../../include/qconfig-medium.h \
  147.         ../../include/qconfig-large.h \
  148.         ../../include/qconfig.h \
  149.         ../../include/qmodules.h \
  150.         ../../include/qfeatures.h \
  151.         ../../include/qcstring.h \
  152.         ../../include/qmemarray.h \
  153.         ../../include/qgarray.h \
  154.         ../../include/qshared.h \
  155.         ../../include/qevent.h \
  156.         ../../include/qregion.h \
  157.         ../../include/qmime.h \
  158.         ../../include/qpair.h \
  159.         ../../include/qrect.h \
  160.         ../../include/qsize.h \
  161.         ../../include/qpoint.h \
  162.         ../../include/qmap.h \
  163.         ../../include/qptrlist.h \
  164.         ../../include/qdatastream.h \
  165.         ../../include/qtl.h \
  166.         ../../include/qiodevice.h \
  167.         ../../include/qglist.h \
  168.         ../../include/qptrcollection.h \
  169.         ../../include/qcolor.h \
  170.         ../../include/qbrush.h \
  171.         ../../include/qiconset.h \
  172.         ../../include/qpixmap.h \
  173.         ../../include/qscrollview.h \
  174.         ../../include/qframe.h \
  175.         ../../include/qscrollbar.h \
  176.         ../../include/qrangecontrol.h \
  177.         ../../include/qbutton.h \
  178.         ../../include/qkeysequence.h
  179.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/centralwidget.o centralwidget.cpp
  180.  
  181. .obj/release/main.o: main.cpp ../../include/qapplication.h \
  182.         mainwindow.h \
  183.         ../../include/qdesktopwidget.h \
  184.         ../../include/qasciidict.h \
  185.         ../../include/qpalette.h \
  186.         ../../include/qtranslator.h \
  187.         ../../include/qstrlist.h \
  188.         ../../include/qstringlist.h \
  189.         ../../include/quuid.h \
  190.         ../../include/qwidget.h \
  191.         ../../include/qwindowdefs.h \
  192.         ../../include/qobject.h \
  193.         ../../include/qpaintdevice.h \
  194.         ../../include/qfont.h \
  195.         ../../include/qfontmetrics.h \
  196.         ../../include/qfontinfo.h \
  197.         ../../include/qsizepolicy.h \
  198.         ../../include/qobjectdefs.h \
  199.         ../../include/qstring.h \
  200.         ../../include/qnamespace.h \
  201.         ../../include/qglobal.h \
  202.         ../../include/qconfig-minimal.h \
  203.         ../../include/qconfig-small.h \
  204.         ../../include/qconfig-medium.h \
  205.         ../../include/qconfig-large.h \
  206.         ../../include/qconfig.h \
  207.         ../../include/qmodules.h \
  208.         ../../include/qfeatures.h \
  209.         ../../include/qcstring.h \
  210.         ../../include/qmemarray.h \
  211.         ../../include/qgarray.h \
  212.         ../../include/qshared.h \
  213.         ../../include/qevent.h \
  214.         ../../include/qregion.h \
  215.         ../../include/qmime.h \
  216.         ../../include/qpair.h \
  217.         ../../include/qrect.h \
  218.         ../../include/qsize.h \
  219.         ../../include/qpoint.h \
  220.         ../../include/qmap.h \
  221.         ../../include/qptrlist.h \
  222.         ../../include/qdatastream.h \
  223.         ../../include/qtl.h \
  224.         ../../include/qiodevice.h \
  225.         ../../include/qtextstream.h \
  226.         ../../include/qglist.h \
  227.         ../../include/qptrcollection.h \
  228.         ../../include/qcolor.h \
  229.         ../../include/qbrush.h \
  230.         ../../include/qgdict.h \
  231.         ../../include/qvaluelist.h \
  232.         ../../include/qmainwindow.h \
  233.         ../../include/qtoolbar.h \
  234.         ../../include/qdockwindow.h \
  235.         ../../include/qframe.h
  236.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
  237.  
  238. .obj/release/mainwindow.o: mainwindow.cpp mainwindow.h \
  239.         centralwidget.h \
  240.         ../../include/qtoolbar.h \
  241.         ../../include/qtoolbutton.h \
  242.         ../../include/qpopupmenu.h \
  243.         ../../include/qmenubar.h \
  244.         ../../include/qstatusbar.h \
  245.         ../../include/qapplication.h \
  246.         ../../include/qfiledialog.h \
  247.         ../../include/qmainwindow.h \
  248.         ../../include/qstring.h \
  249.         ../../include/qwidget.h \
  250.         ../../include/qptrlist.h \
  251.         ../../include/qtextstream.h \
  252.         ../../include/qwindowdefs.h \
  253.         ../../include/qobject.h \
  254.         ../../include/qpaintdevice.h \
  255.         ../../include/qpalette.h \
  256.         ../../include/qfont.h \
  257.         ../../include/qfontmetrics.h \
  258.         ../../include/qfontinfo.h \
  259.         ../../include/qsizepolicy.h \
  260.         ../../include/qobjectdefs.h \
  261.         ../../include/qnamespace.h \
  262.         ../../include/qglobal.h \
  263.         ../../include/qconfig-minimal.h \
  264.         ../../include/qconfig-small.h \
  265.         ../../include/qconfig-medium.h \
  266.         ../../include/qconfig-large.h \
  267.         ../../include/qconfig.h \
  268.         ../../include/qmodules.h \
  269.         ../../include/qfeatures.h \
  270.         ../../include/qcstring.h \
  271.         ../../include/qmemarray.h \
  272.         ../../include/qgarray.h \
  273.         ../../include/qshared.h \
  274.         ../../include/qevent.h \
  275.         ../../include/qregion.h \
  276.         ../../include/qmime.h \
  277.         ../../include/qpair.h \
  278.         ../../include/qrect.h \
  279.         ../../include/qsize.h \
  280.         ../../include/qpoint.h \
  281.         ../../include/qmap.h \
  282.         ../../include/qdatastream.h \
  283.         ../../include/qtl.h \
  284.         ../../include/qiodevice.h \
  285.         ../../include/qglist.h \
  286.         ../../include/qptrcollection.h \
  287.         ../../include/qcolor.h \
  288.         ../../include/qbrush.h \
  289.         ../../include/qdockwindow.h \
  290.         ../../include/qframe.h \
  291.         ../../include/qbutton.h \
  292.         ../../include/qpixmap.h \
  293.         ../../include/qiconset.h \
  294.         ../../include/qkeysequence.h \
  295.         ../../include/qmenudata.h \
  296.         ../../include/qsignal.h \
  297.         ../../include/qvariant.h \
  298.         ../../include/qvaluelist.h \
  299.         ../../include/qstringlist.h \
  300.         ../../include/qstrlist.h \
  301.         ../../include/qdesktopwidget.h \
  302.         ../../include/qasciidict.h \
  303.         ../../include/qtranslator.h \
  304.         ../../include/quuid.h \
  305.         ../../include/qgdict.h \
  306.         ../../include/qdir.h \
  307.         ../../include/qdialog.h \
  308.         ../../include/qurloperator.h \
  309.         ../../include/qurlinfo.h \
  310.         ../../include/qfileinfo.h \
  311.         ../../include/qfile.h \
  312.         ../../include/qdatetime.h \
  313.         ../../include/qurl.h \
  314.         ../../include/qnetworkprotocol.h \
  315.         ../../include/qdict.h
  316.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/mainwindow.o mainwindow.cpp
  317.  
  318. .obj/release/moc_centralwidget.o: .moc/release/moc_centralwidget.cpp centralwidget.h ../../include/qwidget.h \
  319.         ../../include/qstring.h \
  320.         ../../include/qwindowdefs.h \
  321.         ../../include/qobject.h \
  322.         ../../include/qpaintdevice.h \
  323.         ../../include/qpalette.h \
  324.         ../../include/qfont.h \
  325.         ../../include/qfontmetrics.h \
  326.         ../../include/qfontinfo.h \
  327.         ../../include/qsizepolicy.h \
  328.         ../../include/qobjectdefs.h \
  329.         ../../include/qnamespace.h \
  330.         ../../include/qglobal.h \
  331.         ../../include/qconfig-minimal.h \
  332.         ../../include/qconfig-small.h \
  333.         ../../include/qconfig-medium.h \
  334.         ../../include/qconfig-large.h \
  335.         ../../include/qconfig.h \
  336.         ../../include/qmodules.h \
  337.         ../../include/qfeatures.h \
  338.         ../../include/qcstring.h \
  339.         ../../include/qmemarray.h \
  340.         ../../include/qgarray.h \
  341.         ../../include/qshared.h \
  342.         ../../include/qevent.h \
  343.         ../../include/qregion.h \
  344.         ../../include/qmime.h \
  345.         ../../include/qpair.h \
  346.         ../../include/qrect.h \
  347.         ../../include/qsize.h \
  348.         ../../include/qpoint.h \
  349.         ../../include/qmap.h \
  350.         ../../include/qptrlist.h \
  351.         ../../include/qdatastream.h \
  352.         ../../include/qtl.h \
  353.         ../../include/qiodevice.h \
  354.         ../../include/qtextstream.h \
  355.         ../../include/qglist.h \
  356.         ../../include/qptrcollection.h \
  357.         ../../include/qcolor.h \
  358.         ../../include/qbrush.h
  359.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_centralwidget.o .moc/release/moc_centralwidget.cpp
  360.  
  361. .obj/release/moc_mainwindow.o: .moc/release/moc_mainwindow.cpp mainwindow.h ../../include/qmainwindow.h \
  362.         ../../include/qstring.h \
  363.         ../../include/qwidget.h \
  364.         ../../include/qtoolbar.h \
  365.         ../../include/qptrlist.h \
  366.         ../../include/qtextstream.h \
  367.         ../../include/qwindowdefs.h \
  368.         ../../include/qobject.h \
  369.         ../../include/qpaintdevice.h \
  370.         ../../include/qpalette.h \
  371.         ../../include/qfont.h \
  372.         ../../include/qfontmetrics.h \
  373.         ../../include/qfontinfo.h \
  374.         ../../include/qsizepolicy.h \
  375.         ../../include/qobjectdefs.h \
  376.         ../../include/qnamespace.h \
  377.         ../../include/qglobal.h \
  378.         ../../include/qconfig-minimal.h \
  379.         ../../include/qconfig-small.h \
  380.         ../../include/qconfig-medium.h \
  381.         ../../include/qconfig-large.h \
  382.         ../../include/qconfig.h \
  383.         ../../include/qmodules.h \
  384.         ../../include/qfeatures.h \
  385.         ../../include/qcstring.h \
  386.         ../../include/qmemarray.h \
  387.         ../../include/qgarray.h \
  388.         ../../include/qshared.h \
  389.         ../../include/qevent.h \
  390.         ../../include/qregion.h \
  391.         ../../include/qmime.h \
  392.         ../../include/qpair.h \
  393.         ../../include/qrect.h \
  394.         ../../include/qsize.h \
  395.         ../../include/qpoint.h \
  396.         ../../include/qmap.h \
  397.         ../../include/qdatastream.h \
  398.         ../../include/qtl.h \
  399.         ../../include/qiodevice.h \
  400.         ../../include/qglist.h \
  401.         ../../include/qptrcollection.h \
  402.         ../../include/qcolor.h \
  403.         ../../include/qbrush.h \
  404.         ../../include/qdockwindow.h \
  405.         ../../include/qframe.h
  406.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_mainwindow.o .moc/release/moc_mainwindow.cpp
  407.  
  408. .moc/release/moc_centralwidget.cpp: $(MOC) centralwidget.h
  409.     $(MOC) centralwidget.h -o .moc/release/moc_centralwidget.cpp
  410.  
  411. .moc/release/moc_mainwindow.cpp: $(MOC) mainwindow.h
  412.     $(MOC) mainwindow.h -o .moc/release/moc_mainwindow.cpp
  413.  
  414. ####### Install
  415.  
  416. install: all 
  417.  
  418.