summaryrefslogtreecommitdiff
path: root/qmake/Makefile
Unidiff
Diffstat (limited to 'qmake/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile173
1 files changed, 173 insertions, 0 deletions
diff --git a/qmake/Makefile b/qmake/Makefile
new file mode 100644
index 0000000..104cc44
--- a/dev/null
+++ b/qmake/Makefile
@@ -0,0 +1,173 @@
1TOPDIR=$(shell pwd)
2QMAKESPECSDIR=$(OPIEDIR)
3
4########################################################################
5## This file was autogenerated by configure, all changes will be lost ##
6########################################################################
7 CC = gcc
8 CXX = g++
9
10#qmake code
11OBJS=project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o \
12 msvc_nmake.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o \
13 projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o
14
15#qt code
16QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \
17 qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \
18 qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o \
19 qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \
20 qconfig.o
21
22CFLAGS= \
23 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \
24 -I$(TOPDIR)/include -I$(TOPDIR)/include/qmake -I$(QMAKESPECSDIR)/default \
25 -I$(TOPDIR)/include/private \
26 -DQT_NO_TEXTCODEC -DQT_LITE_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I$(QMAKESPECDIR)/qws/linux-x86-g++
27CXXFLAGS= $(CFLAGS)
28LFLAGS=
29
30qmake: $(OBJS) $(QOBJS)
31 $(CXX) -o $@ $(OBJS) $(QOBJS) $(LFLAGS)
32 $(if $(OPIEDIR),rm -f $(OPIEDIR)/bin/$@)
33 $(if $(OPIEDIR),ln -s ../qmake/$@ $(OPIEDIR)/bin/$@)
34
35install: qmake
36 [ -d $(INSTALL_ROOT)$(QTDIR)/bin ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)/bin
37 -cp -f $(QTDIR)/bin/qmake $(INSTALL_ROOT)$(QTDIR)/bin
38 [ -d $(INSTALL_ROOT)$(QTDIR) ] || mkdir -p $(INSTALL_ROOT)$(QTDIR)
39 -cp -r -f $(QMAKESPECDIR) $(INSTALL_ROOT)$(QTDIR)
40
41clean::
42 rm -f $(OBJS) $(QOBJS)
43
44distclean:: clean
45 rm -rf qmake .deps
46
47# don't use optimization for these
48qtextstream.o: $(TOPDIR)/tools/qtextstream.cpp
49 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qtextstream.cpp
50
51qiodevice.o: $(TOPDIR)/tools/qiodevice.cpp
52 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qiodevice.cpp
53
54qglobal.o: $(TOPDIR)/tools/qglobal.cpp
55 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglobal.cpp
56
57qgdict.o: $(TOPDIR)/tools/qgdict.cpp
58 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgdict.cpp
59
60qcstring.o: $(TOPDIR)/tools/qcstring.cpp
61 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qcstring.cpp
62
63qstring.o: $(TOPDIR)/tools/qstring.cpp
64 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstring.cpp
65
66qdatastream.o: $(TOPDIR)/tools/qdatastream.cpp
67 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatastream.cpp
68
69qgarray.o: $(TOPDIR)/tools/qgarray.cpp
70 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgarray.cpp
71
72qbuffer.o: $(TOPDIR)/tools/qbuffer.cpp
73 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbuffer.cpp
74
75qglist.o: $(TOPDIR)/tools/qglist.cpp
76 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qglist.cpp
77
78qptrcollection.o: $(TOPDIR)/tools/qptrcollection.cpp
79 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qptrcollection.cpp
80
81qfile.o: $(TOPDIR)/tools/qfile.cpp
82 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile.cpp
83
84qfile_unix.o: $(TOPDIR)/tools/qfile_unix.cpp
85 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfile_unix.cpp
86
87qregexp.o: $(TOPDIR)/tools/qregexp.cpp
88 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qregexp.cpp
89
90qgvector.o: $(TOPDIR)/tools/qgvector.cpp
91 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgvector.cpp
92
93qgcache.o: $(TOPDIR)/tools/qgcache.cpp
94 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qgcache.cpp
95
96qbitarray.o: $(TOPDIR)/tools/qbitarray.cpp
97 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qbitarray.cpp
98
99qdir.o: $(TOPDIR)/tools/qdir.cpp
100 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir.cpp
101
102qfileinfo_unix.o: $(TOPDIR)/tools/qfileinfo_unix.cpp
103 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo_unix.cpp
104
105qdir_unix.o: $(TOPDIR)/tools/qdir_unix.cpp
106 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdir_unix.cpp
107
108qfileinfo.o: $(TOPDIR)/tools/qfileinfo.cpp
109 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qfileinfo.cpp
110
111qdatetime.o: $(TOPDIR)/tools/qdatetime.cpp
112 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qdatetime.cpp
113
114qstringlist.o: $(TOPDIR)/tools/qstringlist.cpp
115 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qstringlist.cpp
116
117qmap.o: $(TOPDIR)/tools/qmap.cpp
118 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qmap.cpp
119
120qconfig.o: $(TOPDIR)/tools/qconfig.cpp
121 $(CXX) -c -o $@ $(CXXFLAGS) $(TOPDIR)/tools/qconfig.cpp
122
123winmakefile.o: generators/win32/winmakefile.cpp
124 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/winmakefile.cpp
125
126project.o: project.cpp project.h option.h
127 $(CXX) -c -o $@ $(CXXFLAGS) project.cpp
128
129main.o: main.cpp project.h
130 $(CXX) -c -o $@ $(CXXFLAGS) main.cpp
131
132option.o: option.cpp option.h
133 $(CXX) -c -o $@ $(CXXFLAGS) option.cpp
134
135makefile.o: generators/makefile.cpp
136 $(CXX) -c -o $@ $(CXXFLAGS) generators/makefile.cpp
137
138unixmake.o: generators/unix/unixmake.cpp
139 $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake.cpp
140
141unixmake2.o: generators/unix/unixmake2.cpp
142 $(CXX) -c -o $@ $(CXXFLAGS) generators/unix/unixmake2.cpp
143
144borland_bmake.o: generators/win32/borland_bmake.cpp
145 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/borland_bmake.cpp
146
147msvc_objectmodel.o: generators/win32/msvc_objectmodel.cpp
148 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp
149
150msvc_vcproj.o: generators/win32/msvc_vcproj.cpp
151 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_vcproj.cpp
152
153msvc_nmake.o: generators/win32/msvc_nmake.cpp
154 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_nmake.cpp
155
156metrowerks_xml.o: generators/mac/metrowerks_xml.cpp
157 $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/metrowerks_xml.cpp
158
159pbuilder_pbx.o: generators/mac/pbuilder_pbx.cpp
160 $(CXX) -c -o $@ $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp
161
162msvc_dsp.o: generators/win32/msvc_dsp.cpp
163 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp
164
165projectgenerator.o: generators/projectgenerator.cpp
166 $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp
167
168#default rules
169.c.o:
170 $(CC) -c -o $@ $(CFLAGS) $<
171
172.cpp.o:
173 $(CXX) -c -o $@ $(CXXFLAGS) $<