summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-04-21 14:41:34 (UTC)
committer harlekin <harlekin>2002-04-21 14:41:34 (UTC)
commita588c90b0191e837b472dcaa76a5dedc289a5b10 (patch) (unidiff)
tree3afa88341b9d684d5eab42684d52d2bf5061aabc
parentfb79a504e221d0b6667329bcd3d7ad95e64ffd71 (diff)
downloadopie-a588c90b0191e837b472dcaa76a5dedc289a5b10.zip
opie-a588c90b0191e837b472dcaa76a5dedc289a5b10.tar.gz
opie-a588c90b0191e837b472dcaa76a5dedc289a5b10.tar.bz2
Makefile does not belong in cvs
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/Makefile277
1 files changed, 0 insertions, 277 deletions
diff --git a/noncore/apps/advancedfm/Makefile b/noncore/apps/advancedfm/Makefile
deleted file mode 100644
index 8799b03..0000000
--- a/noncore/apps/advancedfm/Makefile
+++ b/dev/null
@@ -1,277 +0,0 @@
1#############################################################################
2# Automatically generated from noncore/advancedfm/Makefile.in
3# Build options from
4#############################################################################
5
6# Compiling
7 INTERFACE_DECL_PATH = .
8 SYSCONF_CXX = g++
9 SYSCONF_CC = gcc
10 DASHCROSS =
11
12# Compiling with support libraries
13 SYSCONF_CXXFLAGS_X11=
14 SYSCONF_CXXFLAGS_QT= -I$(QTDIR)/include
15 SYSCONF_CXXFLAGS_OPENGL= -I/usr/X11R6/include
16
17# Compiling YACC output
18SYSCONF_CXXFLAGS_YACC = -Wno-unused -Wno-parentheses
19
20# Linking with support libraries
21 SYSCONF_RPATH_X11=
22 SYSCONF_RPATH_QT= -Wl,-rpath,$(QTDIR)/lib
23 SYSCONF_RPATH_OPENGL= -Wl,-rpath,/usr/X11R6/lib
24
25# Linking with support libraries
26# X11
27 SYSCONF_LFLAGS_X11=
28 SYSCONF_LIBS_X11=
29# Qt, Qt+OpenGL
30 SYSCONF_LFLAGS_QT= -L$(QTDIR)/lib
31 SYSCONF_LIBS_QT = -lqte$(QT_THREAD_SUFFIX)
32 SYSCONF_LIBS_QT_OPENGL=
33# OpenGL
34 SYSCONF_LFLAGS_OPENGL= -L/usr/X11R6/lib
35 SYSCONF_LIBS_OPENGL=
36# Yacc
37 SYSCONF_LIBS_YACC=
38
39# Linking applications
40 SYSCONF_LINK = gcc
41 SYSCONF_LFLAGS =
42 SYSCONF_LIBS =
43
44# Link flags for shared objects
45 SYSCONF_LFLAGS_SHOBJ= -shared
46
47# Flags for threading
48 SYSCONF_CFLAGS_THREAD= -D_REENTRANT
49 SYSCONF_CXXFLAGS_THREAD= -D_REENTRANT
50 SYSCONF_LFLAGS_THREAD=
51 SYSCONF_LIBS_THREAD= -lpthread
52
53# Meta-object compiler
54 SYSCONF_MOC = $(QTDIR)/bin/moc
55
56# UI compiler
57 SYSCONF_UIC = $(QTDIR)/bin/uic
58
59# Linking shared libraries
60# - Build the $(TARGET) library, eg. lib$(TARGET).so.2.2.2
61# - Place target in $(DESTDIR) - which has a trailing /
62# - Usually needs to incorporate $(VER_MAJ), $(VER_MIN) and $(VER_PATCH)
63#
64 SYSCONF_LINK_SHLIB= gcc
65 SYSCONF_LINK_TARGET_SHARED= lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH)
66 SYSCONF_LINK_LIB_SHARED= $(SYSCONF_LINK_SHLIB) -shared -Wl,-soname,lib$(TARGET).so.$(VER_MAJ) \
67 $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
68 $(OBJECTS) $(OBJMOC) $(LIBS) && \
69 mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \
70 cd $(DESTDIR) && \
71 rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN); \
72 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \
73 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ); \
74 ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
75
76# Linking static libraries
77# - Build the $(TARGET) library, eg. lib$(TARGET).a
78# - Place target in $(DESTDIR) - which has a trailing /
79#
80 SYSCONF_AR = ar cqs
81SYSCONF_LINK_TARGET_STATIC = lib$(TARGET).a
82 SYSCONF_LINK_LIB_STATIC= rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \
83 $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
84# Compiling application source
85 SYSCONF_CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W
86 SYSCONF_CFLAGS = -pipe -O2 -Wall -W
87# Default link type (static linking is still be used where required)
88 SYSCONF_LINK_LIB= $(SYSCONF_LINK_LIB_SHARED)
89 SYSCONF_LINK_TARGET= $(SYSCONF_LINK_TARGET_SHARED)
90# Compiling library source
91 SYSCONF_CXXFLAGS_LIB= -fPIC
92 SYSCONF_CFLAGS_LIB= -fPIC
93# Compiling shared-object source
94 SYSCONF_CXXFLAGS_SHOBJ= -fPIC
95 SYSCONF_CFLAGS_SHOBJ= -fPIC
96# Linking Qt
97 SYSCONF_LIBS_QTLIB= $(SYSCONF_LFLAGS_X11) $(QT_LIBS_MT) $(QT_LIBS_OPT)
98# Linking Qt applications
99 SYSCONF_LIBS_QTAPP=
100#############################################################################
101
102####### Compiler, tools and options
103
104 CXX =$(SYSCONF_CXX) $(QT_CXX_MT)
105 CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
106 CC =$(SYSCONF_CC) $(QT_C_MT)
107 CFLAGS =$(SYSCONF_CFLAGS)
108 INCPATH =-I$(OPIEDIR)/include
109 LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT)
110 LIBS =$(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP)
111 MOC =$(SYSCONF_MOC)
112 UIC =$(SYSCONF_UIC)
113
114####### Target
115
116DESTDIR = $(OPIEDIR)/bin/
117VER_MAJ = 1
118VER_MIN = 0
119VER_PATCH = 0
120 TARGET= advancedfm
121TARGET1 = lib$(TARGET).so.$(VER_MAJ)
122
123####### Files
124
125 HEADERS =advancedfm.h \
126 inputDialog.h \
127 filePermissions.h \
128 output.h
129 SOURCES =advancedfm.cpp \
130 inputDialog.cpp \
131 filePermissions.cpp \
132 output.cpp \
133 main.cpp
134 OBJECTS =advancedfm.o \
135 inputDialog.o \
136 filePermissions.o \
137 output.o \
138 main.o
139INTERFACES =
140UICDECLS =
141UICIMPLS =
142 SRCMOC =moc_advancedfm.cpp \
143 moc_inputDialog.cpp \
144 moc_filePermissions.cpp \
145 moc_output.cpp
146 OBJMOC =moc_advancedfm.o \
147 moc_inputDialog.o \
148 moc_filePermissions.o \
149 moc_output.o
150
151
152####### Implicit rules
153
154.SUFFIXES: .cpp .cxx .cc .C .c
155
156.cpp.o:
157 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
158
159.cxx.o:
160 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
161
162.cc.o:
163 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
164
165.C.o:
166 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
167
168.c.o:
169 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
170
171####### Build rules
172
173
174all: $(DESTDIR)$(TARGET)
175
176$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
177 $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
178
179moc: $(SRCMOC)
180
181tmake:
182 tmake advancedfm.pro
183
184clean:
185 -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
186 -rm -f *~ core
187 -rm -f allmoc.cpp
188
189####### Extension Modules
190
191listpromodules:
192 @echo
193
194listallmodules:
195 @echo
196
197listaddonpromodules:
198 @echo
199
200listaddonentmodules:
201 @echo
202
203
204REQUIRES=medium-config
205
206####### Sub-libraries
207
208
209###### Combined headers
210
211
212
213####### Compile
214
215advancedfm.o: advancedfm.cpp \
216 advancedfm.h \
217 inputDialog.h \
218 filePermissions.h \
219 output.h \
220 $(OPIEDIR)/include/qpe/lnkproperties.h \
221 $(OPIEDIR)/include/qpe/filemanager.h \
222 $(OPIEDIR)/include/qpe/qcopenvelope_qws.h \
223 $(OPIEDIR)/include/qpe/qpemenubar.h \
224 $(OPIEDIR)/include/qpe/qpetoolbar.h \
225 $(OPIEDIR)/include/qpe/qpeapplication.h \
226 $(OPIEDIR)/include/qpe/resource.h \
227 $(OPIEDIR)/include/qpe/config.h \
228 $(OPIEDIR)/include/qpe/mimetype.h \
229 $(OPIEDIR)/include/qpe/applnk.h
230
231inputDialog.o: inputDialog.cpp \
232 inputDialog.h
233
234filePermissions.o: filePermissions.cpp \
235 filePermissions.h
236
237output.o: output.cpp \
238 output.h
239
240main.o: main.cpp \
241 $(OPIEDIR)/include/qpe/qpeapplication.h \
242 $(OPIEDIR)/include/qpe/qcopenvelope_qws.h \
243 $(OPIEDIR)/include/qpe/config.h \
244 advancedfm.h
245
246moc_advancedfm.o: moc_advancedfm.cpp \
247 advancedfm.h
248
249moc_inputDialog.o: moc_inputDialog.cpp \
250 inputDialog.h
251
252moc_filePermissions.o: moc_filePermissions.cpp \
253 filePermissions.h
254
255moc_output.o: moc_output.cpp \
256 output.h
257
258moc_advancedfm.cpp: advancedfm.h
259 $(MOC) advancedfm.h -o moc_advancedfm.cpp
260
261moc_inputDialog.cpp: inputDialog.h
262 $(MOC) inputDialog.h -o moc_inputDialog.cpp
263
264moc_filePermissions.cpp: filePermissions.h
265 $(MOC) filePermissions.h -o moc_filePermissions.cpp
266
267moc_output.cpp: output.h
268 $(MOC) output.h -o moc_output.cpp
269
270
271
272lupdate:
273 lupdate advancedfm.pro
274
275lrelease:
276 lrelease advancedfm.pro
277