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

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