home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
qt3_emx.zip
/
examples
/
mdi
/
Makefile
< prev
next >
Wrap
Makefile
|
2001-10-31
|
10KB
|
337 lines
#############################################################################
# Makefile for building: mdi
# Generated by qmake on: Wed Oct 31 19:37:09 2001
# Project: mdi.pro
# Template: app
# Command: $(QMAKE) mdi.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
CXXFLAGS = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -IF:/XFree86/include -I$(QTDIR)/include -I.moc/release/ -IG:/qtrel/mkspecs/emx-gcc
LINK = g++
LFLAGS = -Zomf -Zcrtdll -Zexe -Zmtd -fno-exceptions
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -LF:/XFree86/lib -lqt -lICE -lSM -ldl -lXext -lX11 -lm
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
DEL = rm -f
MOVE = mv
####### Output directory
OBJECTS_DIR = .obj/release/
####### Files
HEADERS = application.h
SOURCES = application.cpp \
main.cpp
OBJECTS = .obj/release/application.o \
.obj/release/main.o
FORMS =
UICDECLS =
UICIMPLS =
SRCMOC = .moc/release/moc_application.cpp
OBJMOC = .obj/release/moc_application.o
DIST =
QMAKE_TARGET = mdi
DESTDIR =
TARGET = mdi
first: all
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .C .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
mocables: $(SRCMOC)
$(MOC):
( cd $(QTDIR)/src/moc ; $(MAKE) )
Makefile: mdi.pro ../../.qmake.cache
$(QMAKE) mdi.pro
qmake:
@$(QMAKE) mdi.pro
dist:
@mkdir -p .obj/release/mdi && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/mdi/ && ( cd `dirname .obj/release/mdi` && $(TAR) mdi.tar mdi && $(GZIP) mdi.tar ) && mv `dirname .obj/release/mdi`/mdi.tar.gz . && rm -rf .obj/release/mdi
mocclean:
-rm -f $(OBJMOC)
-rm -f $(SRCMOC)
uiclean:
clean: mocclean
-rm -f $(OBJECTS)
-rm -f *~ core *.core
####### Sub-libraries
distclean: clean
-rm -f $(TARGET) $(TARGET)
####### Compile
.obj/release/application.o: application.cpp application.h \
../../include/qworkspace.h \
../../include/qimage.h \
../../include/qpixmap.h \
../../include/qtoolbar.h \
../../include/qtoolbutton.h \
../../include/qpopupmenu.h \
../../include/qmenubar.h \
../../include/qmovie.h \
../../include/qmultilineedit.h \
../../include/qfile.h \
../../include/qfiledialog.h \
../../include/qlabel.h \
../../include/qstatusbar.h \
../../include/qmessagebox.h \
../../include/qprinter.h \
../../include/qapplication.h \
../../include/qpushbutton.h \
../../include/qaccel.h \
../../include/qtextstream.h \
../../include/qpainter.h \
../../include/qpaintdevicemetrics.h \
../../include/qwhatsthis.h \
../../include/qobjectlist.h \
../../include/qvbox.h \
filesave.xpm \
fileopen.xpm \
fileprint.xpm \
../../include/qmainwindow.h \
../../include/qptrlist.h \
../../include/qwidget.h \
../../include/qwindowdefs.h \
../../include/qobject.h \
../../include/qpaintdevice.h \
../../include/qpalette.h \
../../include/qfont.h \
../../include/qfontmetrics.h \
../../include/qfontinfo.h \
../../include/qsizepolicy.h \
../../include/qobjectdefs.h \
../../include/qstring.h \
../../include/qnamespace.h \
../../include/qglobal.h \
../../include/qconfig-minimal.h \
../../include/qconfig-small.h \
../../include/qconfig-medium.h \
../../include/qconfig-large.h \
../../include/qconfig.h \
../../include/qmodules.h \
../../include/qfeatures.h \
../../include/qcstring.h \
../../include/qmemarray.h \
../../include/qgarray.h \
../../include/qshared.h \
../../include/qevent.h \
../../include/qregion.h \
../../include/qmime.h \
../../include/qpair.h \
../../include/qrect.h \
../../include/qsize.h \
../../include/qpoint.h \
../../include/qmap.h \
../../include/qdatastream.h \
../../include/qtl.h \
../../include/qiodevice.h \
../../include/qglist.h \
../../include/qptrcollection.h \
../../include/qcolor.h \
../../include/qbrush.h \
../../include/qdockwindow.h \
../../include/qframe.h \
../../include/qwidgetlist.h \
../../include/qstrlist.h \
../../include/qstringlist.h \
../../include/qvaluelist.h \
../../include/qbutton.h \
../../include/qiconset.h \
../../include/qkeysequence.h \
../../include/qmenudata.h \
../../include/qsignal.h \
../../include/qvariant.h \
../../include/qtextedit.h \
../../include/qscrollview.h \
../../include/qstylesheet.h \
../../include/qptrvector.h \
../../include/qscrollbar.h \
../../include/qrangecontrol.h \
../../include/qdict.h \
../../include/qgvector.h \
../../include/qgdict.h \
../../include/qdir.h \
../../include/qdialog.h \
../../include/qurloperator.h \
../../include/qurlinfo.h \
../../include/qfileinfo.h \
../../include/qdatetime.h \
../../include/qurl.h \
../../include/qnetworkprotocol.h \
../../include/qt_windows.h \
../../include/qdesktopwidget.h \
../../include/qasciidict.h \
../../include/qtranslator.h \
../../include/quuid.h \
../../include/qpen.h \
../../include/qpointarray.h \
../../include/qwmatrix.h \
../../include/qcursor.h \
../../include/qhbox.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/application.o application.cpp
.obj/release/main.o: main.cpp ../../include/qapplication.h \
application.h \
../../include/qdesktopwidget.h \
../../include/qasciidict.h \
../../include/qpalette.h \
../../include/qtranslator.h \
../../include/qstrlist.h \
../../include/qstringlist.h \
../../include/quuid.h \
../../include/qwidget.h \
../../include/qwindowdefs.h \
../../include/qobject.h \
../../include/qpaintdevice.h \
../../include/qfont.h \
../../include/qfontmetrics.h \
../../include/qfontinfo.h \
../../include/qsizepolicy.h \
../../include/qobjectdefs.h \
../../include/qstring.h \
../../include/qnamespace.h \
../../include/qglobal.h \
../../include/qconfig-minimal.h \
../../include/qconfig-small.h \
../../include/qconfig-medium.h \
../../include/qconfig-large.h \
../../include/qconfig.h \
../../include/qmodules.h \
../../include/qfeatures.h \
../../include/qcstring.h \
../../include/qmemarray.h \
../../include/qgarray.h \
../../include/qshared.h \
../../include/qevent.h \
../../include/qregion.h \
../../include/qmime.h \
../../include/qpair.h \
../../include/qrect.h \
../../include/qsize.h \
../../include/qpoint.h \
../../include/qmap.h \
../../include/qptrlist.h \
../../include/qdatastream.h \
../../include/qtl.h \
../../include/qiodevice.h \
../../include/qtextstream.h \
../../include/qglist.h \
../../include/qptrcollection.h \
../../include/qcolor.h \
../../include/qbrush.h \
../../include/qgdict.h \
../../include/qvaluelist.h \
../../include/qmainwindow.h \
../../include/qtoolbar.h \
../../include/qdockwindow.h \
../../include/qframe.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
.obj/release/moc_application.o: .moc/release/moc_application.cpp application.h ../../include/qmainwindow.h \
../../include/qptrlist.h \
../../include/qwidget.h \
../../include/qtoolbar.h \
../../include/qtextstream.h \
../../include/qwindowdefs.h \
../../include/qobject.h \
../../include/qpaintdevice.h \
../../include/qpalette.h \
../../include/qfont.h \
../../include/qfontmetrics.h \
../../include/qfontinfo.h \
../../include/qsizepolicy.h \
../../include/qobjectdefs.h \
../../include/qstring.h \
../../include/qnamespace.h \
../../include/qglobal.h \
../../include/qconfig-minimal.h \
../../include/qconfig-small.h \
../../include/qconfig-medium.h \
../../include/qconfig-large.h \
../../include/qconfig.h \
../../include/qmodules.h \
../../include/qfeatures.h \
../../include/qcstring.h \
../../include/qmemarray.h \
../../include/qgarray.h \
../../include/qshared.h \
../../include/qevent.h \
../../include/qregion.h \
../../include/qmime.h \
../../include/qpair.h \
../../include/qrect.h \
../../include/qsize.h \
../../include/qpoint.h \
../../include/qmap.h \
../../include/qdatastream.h \
../../include/qtl.h \
../../include/qiodevice.h \
../../include/qglist.h \
../../include/qptrcollection.h \
../../include/qcolor.h \
../../include/qbrush.h \
../../include/qdockwindow.h \
../../include/qframe.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_application.o .moc/release/moc_application.cpp
.moc/release/moc_application.cpp: $(MOC) application.h
$(MOC) application.h -o .moc/release/moc_application.cpp
####### Install
install: all