1#############################################################################
2# Makefile for building libcqml.a
3# Generated by tmake at 00:01, 2002/02/12
4#     Project: cqml
5#    Template: lib
6#############################################################################
7
8####### Compiler, tools and options
9
10CC	=	gcc
11CXX	=	g++
12CFLAGS	=	-pipe -Wall -W -O2
13CXXFLAGS=	-pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2
14INCPATH	=	-I$(QPEDIR)/include
15AR	=	ar cqs
16RANLIB	=
17MOC	=	$(QTDIR)/bin/moc
18UIC	=	$(QTDIR)/bin/uic
19
20TAR	=	tar -cf
21GZIP	=	gzip -9f
22
23####### Files
24
25HEADERS =	cqml.h \
26		mainwin.h
27SOURCES =	cqml.cpp \
28		mainwin.cpp
29OBJECTS =	cqml.o \
30		mainwin.o
31INTERFACES =
32UICDECLS =
33UICIMPLS =
34SRCMOC	=
35OBJMOC	=
36DIST	=
37TARGET	=	libcqml.a
38INTERFACE_DECL_PATH = .
39
40####### Implicit rules
41
42.SUFFIXES: .cpp .cxx .cc .C .c
43
44.cpp.o:
45	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
46
47.cxx.o:
48	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
49
50.cc.o:
51	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
52
53.C.o:
54	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
55
56.c.o:
57	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
58
59####### Build rules
60
61
62all: $(TARGET)
63
64staticlib: $(TARGET)
65
66$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
67	-rm -f $(TARGET)
68	$(AR) $(TARGET) $(OBJECTS) $(OBJMOC)
69
70moc: $(SRCMOC)
71
72tmake:
73	tmake cqml.pro
74
75dist:
76	$(TAR) cqml.tar cqml.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
77	$(GZIP) cqml.tar
78
79clean:
80	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
81	-rm -f *~ core
82
83####### Sub-libraries
84
85
86###### Combined headers
87
88
89####### Compile
90
91cqml.o: cqml.cpp \
92		cqml.h \
93		/opt/Qtopia/include/qsound.h \
94		/opt/Qtopia/include/qobject.h \
95		/opt/Qtopia/include/qobjectdefs.h \
96		/opt/Qtopia/include/qglobal.h \
97		/opt/Qtopia/include/qfeatures.h \
98		/opt/Qtopia/include/qconfig.h \
99		/opt/Qtopia/include/qwindowdefs.h \
100		/opt/Qtopia/include/qstring.h \
101		/opt/Qtopia/include/qcstring.h \
102		/opt/Qtopia/include/qarray.h \
103		/opt/Qtopia/include/qgarray.h \
104		/opt/Qtopia/include/qshared.h \
105		/opt/Qtopia/include/qnamespace.h \
106		/opt/Qtopia/include/qevent.h \
107		/opt/Qtopia/include/qregion.h \
108		/opt/Qtopia/include/qrect.h \
109		/opt/Qtopia/include/qsize.h \
110		/opt/Qtopia/include/qpoint.h \
111		/opt/Qtopia/include/qmime.h \
112		/opt/Qtopia/include/qlist.h \
113		/opt/Qtopia/include/qglist.h \
114		/opt/Qtopia/include/qcollection.h \
115		/opt/Qtopia/include/qstringlist.h \
116		/opt/Qtopia/include/qvaluelist.h \
117		/opt/Qtopia/include/qdatastream.h \
118		/opt/Qtopia/include/qiodevice.h \
119		/opt/Qtopia/include/qregexp.h \
120		mainwin.h \
121		/opt/Qtopia/include/qpe/qpeapplication.h \
122		/opt/Qtopia/include/qapplication.h \
123		/opt/Qtopia/include/qwidget.h \
124		/opt/Qtopia/include/qpaintdevice.h \
125		/opt/Qtopia/include/qpalette.h \
126		/opt/Qtopia/include/qcolor.h \
127		/opt/Qtopia/include/qbrush.h \
128		/opt/Qtopia/include/qcursor.h \
129		/opt/Qtopia/include/qfont.h \
130		/opt/Qtopia/include/qfontmetrics.h \
131		/opt/Qtopia/include/qfontinfo.h \
132		/opt/Qtopia/include/qstyle.h \
133		/opt/Qtopia/include/qsizepolicy.h \
134		/opt/Qtopia/include/qasciidict.h \
135		/opt/Qtopia/include/qgdict.h \
136		/opt/Qtopia/include/qtranslator.h \
137		/opt/Qtopia/include/qintdict.h
138
139mainwin.o: mainwin.cpp \
140		/opt/Qtopia/include/qtimer.h \
141		/opt/Qtopia/include/qobject.h \
142		/opt/Qtopia/include/qobjectdefs.h \
143		/opt/Qtopia/include/qglobal.h \
144		/opt/Qtopia/include/qfeatures.h \
145		/opt/Qtopia/include/qconfig.h \
146		/opt/Qtopia/include/qwindowdefs.h \
147		/opt/Qtopia/include/qstring.h \
148		/opt/Qtopia/include/qcstring.h \
149		/opt/Qtopia/include/qarray.h \
150		/opt/Qtopia/include/qgarray.h \
151		/opt/Qtopia/include/qshared.h \
152		/opt/Qtopia/include/qnamespace.h \
153		/opt/Qtopia/include/qevent.h \
154		/opt/Qtopia/include/qregion.h \
155		/opt/Qtopia/include/qrect.h \
156		/opt/Qtopia/include/qsize.h \
157		/opt/Qtopia/include/qpoint.h \
158		/opt/Qtopia/include/qmime.h \
159		/opt/Qtopia/include/qlist.h \
160		/opt/Qtopia/include/qglist.h \
161		/opt/Qtopia/include/qcollection.h \
162		/opt/Qtopia/include/qstringlist.h \
163		/opt/Qtopia/include/qvaluelist.h \
164		/opt/Qtopia/include/qdatastream.h \
165		/opt/Qtopia/include/qiodevice.h \
166		/opt/Qtopia/include/qregexp.h \
167		/opt/Qtopia/include/qpainter.h \
168		/opt/Qtopia/include/qpaintdevice.h \
169		/opt/Qtopia/include/qcolor.h \
170		/opt/Qtopia/include/qfontmetrics.h \
171		/opt/Qtopia/include/qfont.h \
172		/opt/Qtopia/include/qfontinfo.h \
173		/opt/Qtopia/include/qpen.h \
174		/opt/Qtopia/include/qbrush.h \
175		/opt/Qtopia/include/qpointarray.h \
176		/opt/Qtopia/include/qwmatrix.h \
177		mainwin.h \
178		/opt/Qtopia/include/qpe/qpeapplication.h \
179		/opt/Qtopia/include/qapplication.h \
180		/opt/Qtopia/include/qwidget.h \
181		/opt/Qtopia/include/qpalette.h \
182		/opt/Qtopia/include/qcursor.h \
183		/opt/Qtopia/include/qstyle.h \
184		/opt/Qtopia/include/qsizepolicy.h \
185		/opt/Qtopia/include/qasciidict.h \
186		/opt/Qtopia/include/qgdict.h \
187		/opt/Qtopia/include/qtranslator.h \
188		/opt/Qtopia/include/qintdict.h
189
190