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

  1. #############################################################################
  2. # Makefile for building: layout
  3. # Generated by qmake on: Wed Oct 31 19:36:54 2001
  4. # Project:  layout.pro
  5. # Template: app
  6. # Command: $(QMAKE) layout.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 = 
  43. SOURCES = layout.cpp
  44. OBJECTS = .obj/release/layout.o
  45. FORMS = 
  46. UICDECLS = 
  47. UICIMPLS = 
  48. SRCMOC   = 
  49. OBJMOC = 
  50. DIST       = 
  51. QMAKE_TARGET = layout
  52. DESTDIR  = 
  53. TARGET   = layout
  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: layout.pro ../../.qmake.cache 
  88.     $(QMAKE) layout.pro
  89. qmake: 
  90.     @$(QMAKE) layout.pro
  91.  
  92. dist: 
  93.     @mkdir -p .obj/release/layout && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/layout/ && ( cd `dirname .obj/release/layout` && $(TAR) layout.tar layout && $(GZIP) layout.tar ) && mv `dirname .obj/release/layout`/layout.tar.gz . && rm -rf .obj/release/layout
  94.  
  95. mocclean:
  96.  
  97. uiclean:
  98.  
  99. clean:
  100.     -rm -f $(OBJECTS) 
  101.     -rm -f *~ core *.core
  102.  
  103.  
  104. ####### Sub-libraries
  105.  
  106. distclean: clean
  107.     -rm -f $(TARGET) $(TARGET)
  108.     
  109.  
  110. ####### Compile
  111.  
  112. .obj/release/layout.o: layout.cpp ../../include/qapplication.h \
  113.         ../../include/qlabel.h \
  114.         ../../include/qcolor.h \
  115.         ../../include/qpushbutton.h \
  116.         ../../include/qlayout.h \
  117.         ../../include/qlineedit.h \
  118.         ../../include/qmultilineedit.h \
  119.         ../../include/qmenubar.h \
  120.         ../../include/qpopupmenu.h \
  121.         ../../include/qdesktopwidget.h \
  122.         ../../include/qasciidict.h \
  123.         ../../include/qpalette.h \
  124.         ../../include/qtranslator.h \
  125.         ../../include/qstrlist.h \
  126.         ../../include/qstringlist.h \
  127.         ../../include/quuid.h \
  128.         ../../include/qwidget.h \
  129.         ../../include/qwindowdefs.h \
  130.         ../../include/qobject.h \
  131.         ../../include/qpaintdevice.h \
  132.         ../../include/qfont.h \
  133.         ../../include/qfontmetrics.h \
  134.         ../../include/qfontinfo.h \
  135.         ../../include/qsizepolicy.h \
  136.         ../../include/qobjectdefs.h \
  137.         ../../include/qstring.h \
  138.         ../../include/qnamespace.h \
  139.         ../../include/qglobal.h \
  140.         ../../include/qconfig-minimal.h \
  141.         ../../include/qconfig-small.h \
  142.         ../../include/qconfig-medium.h \
  143.         ../../include/qconfig-large.h \
  144.         ../../include/qconfig.h \
  145.         ../../include/qmodules.h \
  146.         ../../include/qfeatures.h \
  147.         ../../include/qcstring.h \
  148.         ../../include/qmemarray.h \
  149.         ../../include/qgarray.h \
  150.         ../../include/qshared.h \
  151.         ../../include/qevent.h \
  152.         ../../include/qregion.h \
  153.         ../../include/qmime.h \
  154.         ../../include/qpair.h \
  155.         ../../include/qrect.h \
  156.         ../../include/qsize.h \
  157.         ../../include/qpoint.h \
  158.         ../../include/qmap.h \
  159.         ../../include/qptrlist.h \
  160.         ../../include/qdatastream.h \
  161.         ../../include/qtl.h \
  162.         ../../include/qiodevice.h \
  163.         ../../include/qtextstream.h \
  164.         ../../include/qglist.h \
  165.         ../../include/qptrcollection.h \
  166.         ../../include/qbrush.h \
  167.         ../../include/qgdict.h \
  168.         ../../include/qvaluelist.h \
  169.         ../../include/qframe.h \
  170.         ../../include/qbutton.h \
  171.         ../../include/qiconset.h \
  172.         ../../include/qkeysequence.h \
  173.         ../../include/qpixmap.h \
  174.         ../../include/qtextedit.h \
  175.         ../../include/qscrollview.h \
  176.         ../../include/qstylesheet.h \
  177.         ../../include/qptrvector.h \
  178.         ../../include/qscrollbar.h \
  179.         ../../include/qrangecontrol.h \
  180.         ../../include/qdict.h \
  181.         ../../include/qgvector.h \
  182.         ../../include/qmenudata.h \
  183.         ../../include/qsignal.h \
  184.         ../../include/qvariant.h
  185.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/layout.o layout.cpp
  186.  
  187. ####### Install
  188.  
  189. install: all 
  190.  
  191.