-rw-r--r-- | noncore/securityplugins/blueping/Makefile | 204 | ||||
-rw-r--r-- | noncore/securityplugins/dummy/Makefile | 204 | ||||
-rw-r--r-- | noncore/securityplugins/notice/Makefile | 212 | ||||
-rw-r--r-- | noncore/securityplugins/pin/Makefile | 237 |
4 files changed, 0 insertions, 857 deletions
diff --git a/noncore/securityplugins/blueping/Makefile b/noncore/securityplugins/blueping/Makefile deleted file mode 100644 index 990a4e0..0000000 --- a/noncore/securityplugins/blueping/Makefile +++ b/dev/null | |||
@@ -1,204 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libmultiauthbluepingplugin.so.1.0.0 | ||
3 | # Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Jun 14 11:00:20 2004 | ||
4 | # Project: bluepingplugin.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o Makefile bluepingplugin.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | ####### Compiler, tools and options | ||
10 | |||
11 | CC = $(CCACHE) $(DISTCC) gcc | ||
12 | CXX = $(CCACHE) $(DISTCC) g++ | ||
13 | LEX = flex | ||
14 | YACC = yacc | ||
15 | CFLAGS = -pipe $(CFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
16 | CXXFLAGS = -pipe $(CFLAGS_EXTRA) -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
17 | LEXFLAGS = | ||
18 | YACCFLAGS= -d | ||
19 | INCPATH = -I/opt/opie/mkspecs/qws/linux-generic-g++ -I. -I$(OPIEDIR)/include -I$(QTDIR)/include -I.moc/$(PLATFORM)/ | ||
20 | LINK = g++ | ||
21 | LFLAGS = $(LFLAGS_EXTRA) -Wl,-rpath-link,$(OPIEDIR)/lib -shared -Wl,-soname,libmultiauthbluepingplugin.so.1 -Wl,-rpath,/opt/opie/plugins/security | ||
22 | LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib $(LIBS_EXTRA) -lqpe -lopieui2 -lopiecore2 -L$(OPIEDIR)/lib -lqte | ||
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_FILE = rm -f | ||
34 | SYMLINK = ln -sf | ||
35 | DEL_DIR = rmdir | ||
36 | MOVE = mv -f | ||
37 | PRO = bluepingplugin.pro | ||
38 | CHK_DIR_EXISTS= | ||
39 | MKDIR = | ||
40 | |||
41 | ####### Output directory | ||
42 | |||
43 | OBJECTS_DIR = .obj/$(PLATFORM)/ | ||
44 | |||
45 | ####### Files | ||
46 | |||
47 | HEADERS = bluepingplugin.h \ | ||
48 | bluepingpluginimpl.h | ||
49 | SOURCES = bluepingplugin.cpp \ | ||
50 | bluepingpluginimpl.cpp | ||
51 | OBJECTS = .obj/$(PLATFORM)/bluepingplugin.o \ | ||
52 | .obj/$(PLATFORM)/bluepingpluginimpl.o | ||
53 | FORMS = | ||
54 | UICDECLS = | ||
55 | UICIMPLS = | ||
56 | SRCMOC = .moc/$(PLATFORM)/moc_bluepingplugin.cpp | ||
57 | OBJMOC = .obj/$(PLATFORM)/moc_bluepingplugin.o | ||
58 | DIST = ../../../gen.pro \ | ||
59 | ../../../include.pro \ | ||
60 | bluepingplugin.pro | ||
61 | QMAKE_TARGET = multiauthbluepingplugin | ||
62 | DESTDIR = $(OPIEDIR)/plugins/security/ | ||
63 | TARGET = libmultiauthbluepingplugin.so.1.0.0 | ||
64 | TARGETA= $(OPIEDIR)/plugins/security/libmultiauthbluepingplugin.a | ||
65 | TARGETD= libmultiauthbluepingplugin.so.1.0.0 | ||
66 | TARGET0= libmultiauthbluepingplugin.so | ||
67 | TARGET1= libmultiauthbluepingplugin.so.1 | ||
68 | TARGET2= libmultiauthbluepingplugin.so.1.0 | ||
69 | |||
70 | first: all | ||
71 | ####### Implicit rules | ||
72 | |||
73 | .SUFFIXES: .c .cpp .cc .cxx .C | ||
74 | |||
75 | .cpp.o: | ||
76 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
77 | |||
78 | .cc.o: | ||
79 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
80 | |||
81 | .cxx.o: | ||
82 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
83 | |||
84 | .C.o: | ||
85 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
86 | |||
87 | .c.o: | ||
88 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
89 | |||
90 | ####### Build rules | ||
91 | |||
92 | all: Makefile $(OPIEDIR)/plugins/security/$(TARGET) | ||
93 | |||
94 | $(OPIEDIR)/plugins/security/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
95 | test -d $(OPIEDIR)/plugins/security/ || mkdir -p $(OPIEDIR)/plugins/security/ | ||
96 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
97 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
98 | -ln -s $(TARGET) $(TARGET0) | ||
99 | -ln -s $(TARGET) $(TARGET1) | ||
100 | -ln -s $(TARGET) $(TARGET2) | ||
101 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) | ||
102 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) | ||
103 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET1) | ||
104 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET2) | ||
105 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(OPIEDIR)/plugins/security/ | ||
106 | |||
107 | |||
108 | |||
109 | staticlib: $(TARGETA) | ||
110 | |||
111 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
112 | -$(DEL_FILE) $(TARGETA) | ||
113 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
114 | |||
115 | mocables: $(SRCMOC) | ||
116 | |||
117 | $(MOC): | ||
118 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
119 | |||
120 | Makefile: bluepingplugin.pro /opt/opie/mkspecs/qws/linux-generic-g++/qmake.conf ../../../gen.pro \ | ||
121 | ../../../include.pro | ||
122 | $(QMAKE) -o Makefile bluepingplugin.pro | ||
123 | qmake: | ||
124 | @$(QMAKE) -o Makefile bluepingplugin.pro | ||
125 | |||
126 | dist: | ||
127 | @mkdir -p .obj/$(PLATFORM)/multiauthbluepingplugin && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/$(PLATFORM)/multiauthbluepingplugin/ && ( cd `dirname .obj/$(PLATFORM)/multiauthbluepingplugin` && $(TAR) multiauthbluepingplugin.tar multiauthbluepingplugin && $(GZIP) multiauthbluepingplugin.tar ) && $(MOVE) `dirname .obj/$(PLATFORM)/multiauthbluepingplugin`/multiauthbluepingplugin.tar.gz . && $(DEL_FILE) -r .obj/$(PLATFORM)/multiauthbluepingplugin | ||
128 | |||
129 | mocclean: | ||
130 | -$(DEL_FILE) $(OBJMOC) | ||
131 | -$(DEL_FILE) $(SRCMOC) | ||
132 | |||
133 | uiclean: | ||
134 | |||
135 | yaccclean: | ||
136 | lexclean: | ||
137 | clean: mocclean | ||
138 | -$(DEL_FILE) $(OBJECTS) | ||
139 | -$(DEL_FILE) *~ core *.core | ||
140 | |||
141 | |||
142 | ####### Sub-libraries | ||
143 | |||
144 | distclean: clean | ||
145 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) $(TARGET) | ||
146 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) $(OPIEDIR)/plugins/security/$(TARGET1) $(OPIEDIR)/plugins/security/$(TARGET2) $(TARGETA) | ||
147 | |||
148 | |||
149 | lupdate: | ||
150 | lupdate -noobsolete $(PRO) | ||
151 | |||
152 | lrelease: | ||
153 | lrelease $(PRO) | ||
154 | |||
155 | ipk: | ||
156 | tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="" install && ipkg-build ; rm -rf ; ) | ||
157 | |||
158 | opie-lupdate: | ||
159 | opie-lupdate $(PRO) | ||
160 | |||
161 | opie-lrelease: | ||
162 | opie-lrelease $(PRO) | ||
163 | |||
164 | messages: | ||
165 | xgettext -C -n -ktr -kQT_TRANSLATE_NOOP bluepingplugin.h bluepingpluginimpl.h bluepingplugin.cpp bluepingpluginimpl.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a bluepingplugin.h bluepingpluginimpl.h bluepingplugin.cpp bluepingpluginimpl.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' | ||
166 | |||
167 | FORCE: | ||
168 | |||
169 | ####### Compile | ||
170 | |||
171 | .obj/$(PLATFORM)/bluepingplugin.o: bluepingplugin.cpp bluepingplugin.h | ||
172 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/bluepingplugin.o bluepingplugin.cpp | ||
173 | |||
174 | .obj/$(PLATFORM)/bluepingpluginimpl.o: bluepingpluginimpl.cpp bluepingpluginimpl.h \ | ||
175 | bluepingplugin.h | ||
176 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/bluepingpluginimpl.o bluepingpluginimpl.cpp | ||
177 | |||
178 | .obj/$(PLATFORM)/moc_bluepingplugin.o: .moc/$(PLATFORM)/moc_bluepingplugin.cpp bluepingplugin.h | ||
179 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/moc_bluepingplugin.o .moc/$(PLATFORM)/moc_bluepingplugin.cpp | ||
180 | |||
181 | .moc/x86-linux/moc_bluepingplugin.cpp: $(MOC) bluepingplugin.h | ||
182 | $(MOC) bluepingplugin.h -o .moc/x86-linux/moc_bluepingplugin.cpp | ||
183 | |||
184 | ####### Install | ||
185 | |||
186 | install_target: | ||
187 | @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" || $(MKDIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
188 | -$(COPY) "$(OPIEDIR)/plugins/security/$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
189 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
190 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
191 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
192 | |||
193 | uninstall_target: | ||
194 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
195 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
196 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
197 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
198 | -$(DEL_DIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
199 | |||
200 | |||
201 | install: all install_target | ||
202 | |||
203 | uninstall: uninstall_target | ||
204 | |||
diff --git a/noncore/securityplugins/dummy/Makefile b/noncore/securityplugins/dummy/Makefile deleted file mode 100644 index f6a1f9f..0000000 --- a/noncore/securityplugins/dummy/Makefile +++ b/dev/null | |||
@@ -1,204 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libmultiauthdummyplugin.so.1.0.0 | ||
3 | # Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Jun 14 11:00:19 2004 | ||
4 | # Project: dummyplugin.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o Makefile dummyplugin.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | ####### Compiler, tools and options | ||
10 | |||
11 | CC = $(CCACHE) $(DISTCC) gcc | ||
12 | CXX = $(CCACHE) $(DISTCC) g++ | ||
13 | LEX = flex | ||
14 | YACC = yacc | ||
15 | CFLAGS = -pipe $(CFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
16 | CXXFLAGS = -pipe $(CFLAGS_EXTRA) -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
17 | LEXFLAGS = | ||
18 | YACCFLAGS= -d | ||
19 | INCPATH = -I/opt/opie/mkspecs/qws/linux-generic-g++ -I. -I$(OPIEDIR)/include -I$(QTDIR)/include -I.moc/$(PLATFORM)/ | ||
20 | LINK = g++ | ||
21 | LFLAGS = $(LFLAGS_EXTRA) -Wl,-rpath-link,$(OPIEDIR)/lib -shared -Wl,-soname,libmultiauthdummyplugin.so.1 -Wl,-rpath,/opt/opie/plugins/security | ||
22 | LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib $(LIBS_EXTRA) -lqpe -lopieui2 -L$(OPIEDIR)/lib -lqte | ||
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_FILE = rm -f | ||
34 | SYMLINK = ln -sf | ||
35 | DEL_DIR = rmdir | ||
36 | MOVE = mv -f | ||
37 | PRO = dummyplugin.pro | ||
38 | CHK_DIR_EXISTS= | ||
39 | MKDIR = | ||
40 | |||
41 | ####### Output directory | ||
42 | |||
43 | OBJECTS_DIR = .obj/$(PLATFORM)/ | ||
44 | |||
45 | ####### Files | ||
46 | |||
47 | HEADERS = dummyplugin.h \ | ||
48 | dummypluginimpl.h | ||
49 | SOURCES = dummyplugin.cpp \ | ||
50 | dummypluginimpl.cpp | ||
51 | OBJECTS = .obj/$(PLATFORM)/dummyplugin.o \ | ||
52 | .obj/$(PLATFORM)/dummypluginimpl.o | ||
53 | FORMS = | ||
54 | UICDECLS = | ||
55 | UICIMPLS = | ||
56 | SRCMOC = .moc/$(PLATFORM)/moc_dummyplugin.cpp | ||
57 | OBJMOC = .obj/$(PLATFORM)/moc_dummyplugin.o | ||
58 | DIST = ../../../gen.pro \ | ||
59 | ../../../include.pro \ | ||
60 | dummyplugin.pro | ||
61 | QMAKE_TARGET = multiauthdummyplugin | ||
62 | DESTDIR = $(OPIEDIR)/plugins/security/ | ||
63 | TARGET = libmultiauthdummyplugin.so.1.0.0 | ||
64 | TARGETA= $(OPIEDIR)/plugins/security/libmultiauthdummyplugin.a | ||
65 | TARGETD= libmultiauthdummyplugin.so.1.0.0 | ||
66 | TARGET0= libmultiauthdummyplugin.so | ||
67 | TARGET1= libmultiauthdummyplugin.so.1 | ||
68 | TARGET2= libmultiauthdummyplugin.so.1.0 | ||
69 | |||
70 | first: all | ||
71 | ####### Implicit rules | ||
72 | |||
73 | .SUFFIXES: .c .cpp .cc .cxx .C | ||
74 | |||
75 | .cpp.o: | ||
76 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
77 | |||
78 | .cc.o: | ||
79 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
80 | |||
81 | .cxx.o: | ||
82 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
83 | |||
84 | .C.o: | ||
85 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
86 | |||
87 | .c.o: | ||
88 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
89 | |||
90 | ####### Build rules | ||
91 | |||
92 | all: Makefile $(OPIEDIR)/plugins/security/$(TARGET) | ||
93 | |||
94 | $(OPIEDIR)/plugins/security/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
95 | test -d $(OPIEDIR)/plugins/security/ || mkdir -p $(OPIEDIR)/plugins/security/ | ||
96 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
97 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
98 | -ln -s $(TARGET) $(TARGET0) | ||
99 | -ln -s $(TARGET) $(TARGET1) | ||
100 | -ln -s $(TARGET) $(TARGET2) | ||
101 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) | ||
102 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) | ||
103 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET1) | ||
104 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET2) | ||
105 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(OPIEDIR)/plugins/security/ | ||
106 | |||
107 | |||
108 | |||
109 | staticlib: $(TARGETA) | ||
110 | |||
111 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
112 | -$(DEL_FILE) $(TARGETA) | ||
113 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
114 | |||
115 | mocables: $(SRCMOC) | ||
116 | |||
117 | $(MOC): | ||
118 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
119 | |||
120 | Makefile: dummyplugin.pro /opt/opie/mkspecs/qws/linux-generic-g++/qmake.conf ../../../gen.pro \ | ||
121 | ../../../include.pro | ||
122 | $(QMAKE) -o Makefile dummyplugin.pro | ||
123 | qmake: | ||
124 | @$(QMAKE) -o Makefile dummyplugin.pro | ||
125 | |||
126 | dist: | ||
127 | @mkdir -p .obj/$(PLATFORM)/multiauthdummyplugin && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/$(PLATFORM)/multiauthdummyplugin/ && ( cd `dirname .obj/$(PLATFORM)/multiauthdummyplugin` && $(TAR) multiauthdummyplugin.tar multiauthdummyplugin && $(GZIP) multiauthdummyplugin.tar ) && $(MOVE) `dirname .obj/$(PLATFORM)/multiauthdummyplugin`/multiauthdummyplugin.tar.gz . && $(DEL_FILE) -r .obj/$(PLATFORM)/multiauthdummyplugin | ||
128 | |||
129 | mocclean: | ||
130 | -$(DEL_FILE) $(OBJMOC) | ||
131 | -$(DEL_FILE) $(SRCMOC) | ||
132 | |||
133 | uiclean: | ||
134 | |||
135 | yaccclean: | ||
136 | lexclean: | ||
137 | clean: mocclean | ||
138 | -$(DEL_FILE) $(OBJECTS) | ||
139 | -$(DEL_FILE) *~ core *.core | ||
140 | |||
141 | |||
142 | ####### Sub-libraries | ||
143 | |||
144 | distclean: clean | ||
145 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) $(TARGET) | ||
146 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) $(OPIEDIR)/plugins/security/$(TARGET1) $(OPIEDIR)/plugins/security/$(TARGET2) $(TARGETA) | ||
147 | |||
148 | |||
149 | lupdate: | ||
150 | lupdate -noobsolete $(PRO) | ||
151 | |||
152 | lrelease: | ||
153 | lrelease $(PRO) | ||
154 | |||
155 | ipk: | ||
156 | tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="" install && ipkg-build ; rm -rf ; ) | ||
157 | |||
158 | opie-lupdate: | ||
159 | opie-lupdate $(PRO) | ||
160 | |||
161 | opie-lrelease: | ||
162 | opie-lrelease $(PRO) | ||
163 | |||
164 | messages: | ||
165 | xgettext -C -n -ktr -kQT_TRANSLATE_NOOP dummyplugin.h dummypluginimpl.h dummyplugin.cpp dummypluginimpl.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a dummyplugin.h dummypluginimpl.h dummyplugin.cpp dummypluginimpl.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' | ||
166 | |||
167 | FORCE: | ||
168 | |||
169 | ####### Compile | ||
170 | |||
171 | .obj/$(PLATFORM)/dummyplugin.o: dummyplugin.cpp dummyplugin.h | ||
172 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/dummyplugin.o dummyplugin.cpp | ||
173 | |||
174 | .obj/$(PLATFORM)/dummypluginimpl.o: dummypluginimpl.cpp dummypluginimpl.h \ | ||
175 | dummyplugin.h | ||
176 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/dummypluginimpl.o dummypluginimpl.cpp | ||
177 | |||
178 | .obj/$(PLATFORM)/moc_dummyplugin.o: .moc/$(PLATFORM)/moc_dummyplugin.cpp dummyplugin.h | ||
179 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/moc_dummyplugin.o .moc/$(PLATFORM)/moc_dummyplugin.cpp | ||
180 | |||
181 | .moc/x86-linux/moc_dummyplugin.cpp: $(MOC) dummyplugin.h | ||
182 | $(MOC) dummyplugin.h -o .moc/x86-linux/moc_dummyplugin.cpp | ||
183 | |||
184 | ####### Install | ||
185 | |||
186 | install_target: | ||
187 | @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" || $(MKDIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
188 | -$(COPY) "$(OPIEDIR)/plugins/security/$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
189 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
190 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
191 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
192 | |||
193 | uninstall_target: | ||
194 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
195 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
196 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
197 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
198 | -$(DEL_DIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
199 | |||
200 | |||
201 | install: all install_target | ||
202 | |||
203 | uninstall: uninstall_target | ||
204 | |||
diff --git a/noncore/securityplugins/notice/Makefile b/noncore/securityplugins/notice/Makefile deleted file mode 100644 index 6303951..0000000 --- a/noncore/securityplugins/notice/Makefile +++ b/dev/null | |||
@@ -1,212 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libmultiauthnoticeplugin.so.1.0.0 | ||
3 | # Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Jun 14 11:00:20 2004 | ||
4 | # Project: noticeplugin.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o Makefile noticeplugin.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | ####### Compiler, tools and options | ||
10 | |||
11 | CC = $(CCACHE) $(DISTCC) gcc | ||
12 | CXX = $(CCACHE) $(DISTCC) g++ | ||
13 | LEX = flex | ||
14 | YACC = yacc | ||
15 | CFLAGS = -pipe $(CFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
16 | CXXFLAGS = -pipe $(CFLAGS_EXTRA) -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
17 | LEXFLAGS = | ||
18 | YACCFLAGS= -d | ||
19 | INCPATH = -I/opt/opie/mkspecs/qws/linux-generic-g++ -I. -I$(OPIEDIR)/include -I$(QTDIR)/include -I.moc/$(PLATFORM)/ | ||
20 | LINK = g++ | ||
21 | LFLAGS = $(LFLAGS_EXTRA) -Wl,-rpath-link,$(OPIEDIR)/lib -shared -Wl,-soname,libmultiauthnoticeplugin.so.1 -Wl,-rpath,/opt/opie/plugins/security | ||
22 | LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib $(LIBS_EXTRA) -lqpe -lopieui2 -L$(OPIEDIR)/lib -lqte | ||
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_FILE = rm -f | ||
34 | SYMLINK = ln -sf | ||
35 | DEL_DIR = rmdir | ||
36 | MOVE = mv -f | ||
37 | PRO = noticeplugin.pro | ||
38 | CHK_DIR_EXISTS= | ||
39 | MKDIR = | ||
40 | |||
41 | ####### Output directory | ||
42 | |||
43 | OBJECTS_DIR = .obj/$(PLATFORM)/ | ||
44 | |||
45 | ####### Files | ||
46 | |||
47 | HEADERS = noticeplugin.h \ | ||
48 | noticepluginimpl.h \ | ||
49 | noticeConfigWidget.h | ||
50 | SOURCES = noticeplugin.cpp \ | ||
51 | noticepluginimpl.cpp \ | ||
52 | noticeConfigWidget.cpp | ||
53 | OBJECTS = .obj/$(PLATFORM)/noticeplugin.o \ | ||
54 | .obj/$(PLATFORM)/noticepluginimpl.o \ | ||
55 | .obj/$(PLATFORM)/noticeConfigWidget.o | ||
56 | FORMS = | ||
57 | UICDECLS = | ||
58 | UICIMPLS = | ||
59 | SRCMOC = .moc/$(PLATFORM)/moc_noticeConfigWidget.cpp | ||
60 | OBJMOC = .obj/$(PLATFORM)/moc_noticeConfigWidget.o | ||
61 | DIST = ../../../gen.pro \ | ||
62 | ../../../include.pro \ | ||
63 | noticeplugin.pro | ||
64 | QMAKE_TARGET = multiauthnoticeplugin | ||
65 | DESTDIR = $(OPIEDIR)/plugins/security/ | ||
66 | TARGET = libmultiauthnoticeplugin.so.1.0.0 | ||
67 | TARGETA= $(OPIEDIR)/plugins/security/libmultiauthnoticeplugin.a | ||
68 | TARGETD= libmultiauthnoticeplugin.so.1.0.0 | ||
69 | TARGET0= libmultiauthnoticeplugin.so | ||
70 | TARGET1= libmultiauthnoticeplugin.so.1 | ||
71 | TARGET2= libmultiauthnoticeplugin.so.1.0 | ||
72 | |||
73 | first: all | ||
74 | ####### Implicit rules | ||
75 | |||
76 | .SUFFIXES: .c .cpp .cc .cxx .C | ||
77 | |||
78 | .cpp.o: | ||
79 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
80 | |||
81 | .cc.o: | ||
82 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
83 | |||
84 | .cxx.o: | ||
85 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
86 | |||
87 | .C.o: | ||
88 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
89 | |||
90 | .c.o: | ||
91 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
92 | |||
93 | ####### Build rules | ||
94 | |||
95 | all: Makefile $(OPIEDIR)/plugins/security/$(TARGET) | ||
96 | |||
97 | $(OPIEDIR)/plugins/security/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
98 | test -d $(OPIEDIR)/plugins/security/ || mkdir -p $(OPIEDIR)/plugins/security/ | ||
99 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
100 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
101 | -ln -s $(TARGET) $(TARGET0) | ||
102 | -ln -s $(TARGET) $(TARGET1) | ||
103 | -ln -s $(TARGET) $(TARGET2) | ||
104 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) | ||
105 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) | ||
106 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET1) | ||
107 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET2) | ||
108 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(OPIEDIR)/plugins/security/ | ||
109 | |||
110 | |||
111 | |||
112 | staticlib: $(TARGETA) | ||
113 | |||
114 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
115 | -$(DEL_FILE) $(TARGETA) | ||
116 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
117 | |||
118 | mocables: $(SRCMOC) | ||
119 | |||
120 | $(MOC): | ||
121 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
122 | |||
123 | Makefile: noticeplugin.pro /opt/opie/mkspecs/qws/linux-generic-g++/qmake.conf ../../../gen.pro \ | ||
124 | ../../../include.pro | ||
125 | $(QMAKE) -o Makefile noticeplugin.pro | ||
126 | qmake: | ||
127 | @$(QMAKE) -o Makefile noticeplugin.pro | ||
128 | |||
129 | dist: | ||
130 | @mkdir -p .obj/$(PLATFORM)/multiauthnoticeplugin && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/$(PLATFORM)/multiauthnoticeplugin/ && ( cd `dirname .obj/$(PLATFORM)/multiauthnoticeplugin` && $(TAR) multiauthnoticeplugin.tar multiauthnoticeplugin && $(GZIP) multiauthnoticeplugin.tar ) && $(MOVE) `dirname .obj/$(PLATFORM)/multiauthnoticeplugin`/multiauthnoticeplugin.tar.gz . && $(DEL_FILE) -r .obj/$(PLATFORM)/multiauthnoticeplugin | ||
131 | |||
132 | mocclean: | ||
133 | -$(DEL_FILE) $(OBJMOC) | ||
134 | -$(DEL_FILE) $(SRCMOC) | ||
135 | |||
136 | uiclean: | ||
137 | |||
138 | yaccclean: | ||
139 | lexclean: | ||
140 | clean: mocclean | ||
141 | -$(DEL_FILE) $(OBJECTS) | ||
142 | -$(DEL_FILE) *~ core *.core | ||
143 | |||
144 | |||
145 | ####### Sub-libraries | ||
146 | |||
147 | distclean: clean | ||
148 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) $(TARGET) | ||
149 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) $(OPIEDIR)/plugins/security/$(TARGET1) $(OPIEDIR)/plugins/security/$(TARGET2) $(TARGETA) | ||
150 | |||
151 | |||
152 | lupdate: | ||
153 | lupdate -noobsolete $(PRO) | ||
154 | |||
155 | lrelease: | ||
156 | lrelease $(PRO) | ||
157 | |||
158 | ipk: | ||
159 | tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="" install && ipkg-build ; rm -rf ; ) | ||
160 | |||
161 | opie-lupdate: | ||
162 | opie-lupdate $(PRO) | ||
163 | |||
164 | opie-lrelease: | ||
165 | opie-lrelease $(PRO) | ||
166 | |||
167 | messages: | ||
168 | xgettext -C -n -ktr -kQT_TRANSLATE_NOOP noticeplugin.h noticepluginimpl.h noticeConfigWidget.h noticeplugin.cpp noticepluginimpl.cpp noticeConfigWidget.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a noticeplugin.h noticepluginimpl.h noticeConfigWidget.h noticeplugin.cpp noticepluginimpl.cpp noticeConfigWidget.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' | ||
169 | |||
170 | FORCE: | ||
171 | |||
172 | ####### Compile | ||
173 | |||
174 | .obj/$(PLATFORM)/noticeplugin.o: noticeplugin.cpp noticeplugin.h \ | ||
175 | noticeConfigWidget.h | ||
176 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/noticeplugin.o noticeplugin.cpp | ||
177 | |||
178 | .obj/$(PLATFORM)/noticepluginimpl.o: noticepluginimpl.cpp noticepluginimpl.h \ | ||
179 | noticeplugin.h \ | ||
180 | noticeConfigWidget.h | ||
181 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/noticepluginimpl.o noticepluginimpl.cpp | ||
182 | |||
183 | .obj/$(PLATFORM)/noticeConfigWidget.o: noticeConfigWidget.cpp noticeConfigWidget.h | ||
184 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/noticeConfigWidget.o noticeConfigWidget.cpp | ||
185 | |||
186 | .obj/$(PLATFORM)/moc_noticeConfigWidget.o: .moc/$(PLATFORM)/moc_noticeConfigWidget.cpp noticeConfigWidget.h | ||
187 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/moc_noticeConfigWidget.o .moc/$(PLATFORM)/moc_noticeConfigWidget.cpp | ||
188 | |||
189 | .moc/x86-linux/moc_noticeConfigWidget.cpp: $(MOC) noticeConfigWidget.h | ||
190 | $(MOC) noticeConfigWidget.h -o .moc/x86-linux/moc_noticeConfigWidget.cpp | ||
191 | |||
192 | ####### Install | ||
193 | |||
194 | install_target: | ||
195 | @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" || $(MKDIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
196 | -$(COPY) "$(OPIEDIR)/plugins/security/$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
197 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
198 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
199 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
200 | |||
201 | uninstall_target: | ||
202 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
203 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
204 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
205 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
206 | -$(DEL_DIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
207 | |||
208 | |||
209 | install: all install_target | ||
210 | |||
211 | uninstall: uninstall_target | ||
212 | |||
diff --git a/noncore/securityplugins/pin/Makefile b/noncore/securityplugins/pin/Makefile deleted file mode 100644 index 8c6a231..0000000 --- a/noncore/securityplugins/pin/Makefile +++ b/dev/null | |||
@@ -1,237 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | # Makefile for building: libmultiauthpinplugin.so.0.0.2 | ||
3 | # Generated by qmake (1.05a) (Qt 3.1.2) on: Mon Jun 14 11:00:20 2004 | ||
4 | # Project: pinplugin.pro | ||
5 | # Template: lib | ||
6 | # Command: $(QMAKE) -o Makefile pinplugin.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | ####### Compiler, tools and options | ||
10 | |||
11 | CC = $(CCACHE) $(DISTCC) gcc | ||
12 | CXX = $(CCACHE) $(DISTCC) g++ | ||
13 | LEX = flex | ||
14 | YACC = yacc | ||
15 | CFLAGS = -pipe $(CFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
16 | CXXFLAGS = -pipe $(CFLAGS_EXTRA) -DQWS -fno-exceptions -fno-rtti $(CXXFLAGS_EXTRA) -Wall -W -g -fPIC -DQT_COMPONENT_DEBUG=2 -DQT_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION -DOPIE_SOUND_FRAGMENT_SHIFT=16 | ||
17 | LEXFLAGS = | ||
18 | YACCFLAGS= -d | ||
19 | INCPATH = -I/opt/opie/mkspecs/qws/linux-generic-g++ -I. -I$(OPIEDIR)/include -I$(QTDIR)/include -I.moc/$(PLATFORM)/ | ||
20 | LINK = g++ | ||
21 | LFLAGS = $(LFLAGS_EXTRA) -Wl,-rpath-link,$(OPIEDIR)/lib -shared -Wl,-soname,libmultiauthpinplugin.so.0 -Wl,-rpath,/opt/opie/plugins/security | ||
22 | LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib $(LIBS_EXTRA) -lqpe -lopieui2 -L$(OPIEDIR)/lib -lqte | ||
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_FILE = rm -f | ||
34 | SYMLINK = ln -sf | ||
35 | DEL_DIR = rmdir | ||
36 | MOVE = mv -f | ||
37 | PRO = pinplugin.pro | ||
38 | CHK_DIR_EXISTS= | ||
39 | MKDIR = | ||
40 | |||
41 | ####### Output directory | ||
42 | |||
43 | OBJECTS_DIR = .obj/$(PLATFORM)/ | ||
44 | |||
45 | ####### Files | ||
46 | |||
47 | HEADERS = pin.h \ | ||
48 | pinpluginimpl.h \ | ||
49 | pinConfigWidget.h | ||
50 | SOURCES = pin.cpp \ | ||
51 | pinpluginimpl.cpp \ | ||
52 | pinConfigWidget.cpp | ||
53 | OBJECTS = .obj/$(PLATFORM)/pin.o \ | ||
54 | .obj/$(PLATFORM)/pinpluginimpl.o \ | ||
55 | .obj/$(PLATFORM)/pinConfigWidget.o \ | ||
56 | .obj/$(PLATFORM)/pinDialogBase.o | ||
57 | FORMS = pinDialogBase.ui | ||
58 | UICDECLS = pinDialogBase.h | ||
59 | UICIMPLS = pinDialogBase.cpp | ||
60 | SRCMOC = .moc/$(PLATFORM)/moc_pin.cpp \ | ||
61 | .moc/$(PLATFORM)/moc_pinDialogBase.cpp \ | ||
62 | .moc/$(PLATFORM)/pin.moc | ||
63 | OBJMOC = .obj/$(PLATFORM)/moc_pin.o \ | ||
64 | .obj/$(PLATFORM)/moc_pinDialogBase.o | ||
65 | DIST = ../../../gen.pro \ | ||
66 | ../../../include.pro \ | ||
67 | pinplugin.pro | ||
68 | QMAKE_TARGET = multiauthpinplugin | ||
69 | DESTDIR = $(OPIEDIR)/plugins/security/ | ||
70 | TARGET = libmultiauthpinplugin.so.0.0.2 | ||
71 | TARGETA= $(OPIEDIR)/plugins/security/libmultiauthpinplugin.a | ||
72 | TARGETD= libmultiauthpinplugin.so.0.0.2 | ||
73 | TARGET0= libmultiauthpinplugin.so | ||
74 | TARGET1= libmultiauthpinplugin.so.0 | ||
75 | TARGET2= libmultiauthpinplugin.so.0.0 | ||
76 | |||
77 | first: all | ||
78 | ####### Implicit rules | ||
79 | |||
80 | .SUFFIXES: .c .cpp .cc .cxx .C | ||
81 | |||
82 | .cpp.o: | ||
83 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
84 | |||
85 | .cc.o: | ||
86 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
87 | |||
88 | .cxx.o: | ||
89 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
90 | |||
91 | .C.o: | ||
92 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
93 | |||
94 | .c.o: | ||
95 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
96 | |||
97 | ####### Build rules | ||
98 | |||
99 | all: Makefile $(OPIEDIR)/plugins/security/$(TARGET) | ||
100 | |||
101 | $(OPIEDIR)/plugins/security/$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
102 | test -d $(OPIEDIR)/plugins/security/ || mkdir -p $(OPIEDIR)/plugins/security/ | ||
103 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | ||
104 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
105 | -ln -s $(TARGET) $(TARGET0) | ||
106 | -ln -s $(TARGET) $(TARGET1) | ||
107 | -ln -s $(TARGET) $(TARGET2) | ||
108 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) | ||
109 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) | ||
110 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET1) | ||
111 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET2) | ||
112 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(OPIEDIR)/plugins/security/ | ||
113 | |||
114 | |||
115 | |||
116 | staticlib: $(TARGETA) | ||
117 | |||
118 | $(TARGETA): $(UICDECLS) $(OBJECTS) $(OBJMOC) | ||
119 | -$(DEL_FILE) $(TARGETA) | ||
120 | $(AR) $(TARGETA) $(OBJECTS) $(OBJMOC) | ||
121 | |||
122 | mocables: $(SRCMOC) | ||
123 | |||
124 | $(MOC): | ||
125 | ( cd $(QTDIR)/src/moc ; $(MAKE) ) | ||
126 | |||
127 | Makefile: pinplugin.pro /opt/opie/mkspecs/qws/linux-generic-g++/qmake.conf ../../../gen.pro \ | ||
128 | ../../../include.pro | ||
129 | $(QMAKE) -o Makefile pinplugin.pro | ||
130 | qmake: | ||
131 | @$(QMAKE) -o Makefile pinplugin.pro | ||
132 | |||
133 | dist: | ||
134 | @mkdir -p .obj/$(PLATFORM)/multiauthpinplugin && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/$(PLATFORM)/multiauthpinplugin/ && ( cd `dirname .obj/$(PLATFORM)/multiauthpinplugin` && $(TAR) multiauthpinplugin.tar multiauthpinplugin && $(GZIP) multiauthpinplugin.tar ) && $(MOVE) `dirname .obj/$(PLATFORM)/multiauthpinplugin`/multiauthpinplugin.tar.gz . && $(DEL_FILE) -r .obj/$(PLATFORM)/multiauthpinplugin | ||
135 | |||
136 | mocclean: | ||
137 | -$(DEL_FILE) $(OBJMOC) | ||
138 | -$(DEL_FILE) $(SRCMOC) | ||
139 | |||
140 | uiclean: | ||
141 | -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) | ||
142 | |||
143 | yaccclean: | ||
144 | lexclean: | ||
145 | clean: mocclean uiclean | ||
146 | -$(DEL_FILE) $(OBJECTS) | ||
147 | -$(DEL_FILE) *~ core *.core | ||
148 | |||
149 | |||
150 | ####### Sub-libraries | ||
151 | |||
152 | distclean: clean | ||
153 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET) $(TARGET) | ||
154 | -$(DEL_FILE) $(OPIEDIR)/plugins/security/$(TARGET0) $(OPIEDIR)/plugins/security/$(TARGET1) $(OPIEDIR)/plugins/security/$(TARGET2) $(TARGETA) | ||
155 | |||
156 | |||
157 | lupdate: | ||
158 | lupdate -noobsolete $(PRO) | ||
159 | |||
160 | lrelease: | ||
161 | lrelease $(PRO) | ||
162 | |||
163 | ipk: | ||
164 | tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="" install && ipkg-build ; rm -rf ; ) | ||
165 | |||
166 | opie-lupdate: | ||
167 | opie-lupdate $(PRO) | ||
168 | |||
169 | opie-lrelease: | ||
170 | opie-lrelease $(PRO) | ||
171 | |||
172 | messages: | ||
173 | xgettext -C -n -ktr -kQT_TRANSLATE_NOOP pin.h pinpluginimpl.h pinConfigWidget.h pin.cpp pinpluginimpl.cpp pinConfigWidget.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-tr.po' && xgettext -C -n -a pin.h pinpluginimpl.h pinConfigWidget.h pin.cpp pinpluginimpl.cpp pinConfigWidget.cpp -o '$(OPIEDIR)/messages-$(QMAKE_TARGET)-allstrings.po' | ||
174 | |||
175 | FORCE: | ||
176 | |||
177 | ####### Compile | ||
178 | |||
179 | .obj/$(PLATFORM)/pin.o: pin.cpp pin.h \ | ||
180 | pinDialogBase.h \ | ||
181 | pinConfigWidget.h \ | ||
182 | .moc/$(PLATFORM)/pin.moc | ||
183 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/pin.o pin.cpp | ||
184 | |||
185 | .obj/$(PLATFORM)/pinpluginimpl.o: pinpluginimpl.cpp pinpluginimpl.h \ | ||
186 | pin.h \ | ||
187 | pinConfigWidget.h | ||
188 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/pinpluginimpl.o pinpluginimpl.cpp | ||
189 | |||
190 | .obj/$(PLATFORM)/pinConfigWidget.o: pinConfigWidget.cpp pinConfigWidget.h | ||
191 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/pinConfigWidget.o pinConfigWidget.cpp | ||
192 | |||
193 | pinDialogBase.h: pinDialogBase.ui | ||
194 | $(UIC) pinDialogBase.ui -o pinDialogBase.h | ||
195 | |||
196 | pinDialogBase.cpp: pinDialogBase.h pinDialogBase.ui | ||
197 | $(UIC) pinDialogBase.ui -i pinDialogBase.h -o pinDialogBase.cpp | ||
198 | |||
199 | .obj/$(PLATFORM)/pinDialogBase.o: pinDialogBase.cpp pinDialogBase.h | ||
200 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/pinDialogBase.o pinDialogBase.cpp | ||
201 | |||
202 | .obj/$(PLATFORM)/moc_pin.o: .moc/$(PLATFORM)/moc_pin.cpp pin.h pinConfigWidget.h | ||
203 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/moc_pin.o .moc/$(PLATFORM)/moc_pin.cpp | ||
204 | |||
205 | .obj/$(PLATFORM)/moc_pinDialogBase.o: .moc/$(PLATFORM)/moc_pinDialogBase.cpp pinDialogBase.h | ||
206 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/$(PLATFORM)/moc_pinDialogBase.o .moc/$(PLATFORM)/moc_pinDialogBase.cpp | ||
207 | |||
208 | .moc/x86-linux/moc_pin.cpp: $(MOC) pin.h | ||
209 | $(MOC) pin.h -o .moc/x86-linux/moc_pin.cpp | ||
210 | |||
211 | .moc/x86-linux/pin.moc: $(MOC) pin.cpp | ||
212 | $(MOC) pin.cpp -o .moc/x86-linux/pin.moc | ||
213 | |||
214 | .moc/x86-linux/moc_pinDialogBase.cpp: $(MOC) pinDialogBase.h | ||
215 | $(MOC) pinDialogBase.h -o .moc/x86-linux/moc_pinDialogBase.cpp | ||
216 | |||
217 | ####### Install | ||
218 | |||
219 | install_target: | ||
220 | @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" || $(MKDIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
221 | -$(COPY) "$(OPIEDIR)/plugins/security/$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
222 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
223 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
224 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
225 | |||
226 | uninstall_target: | ||
227 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET)" | ||
228 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET0)" | ||
229 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET1)" | ||
230 | -$(DEL_FILE) "$(INSTALL_ROOT)$(OPIEDIR)/lib/$(TARGET2)" | ||
231 | -$(DEL_DIR) "$(INSTALL_ROOT)$(OPIEDIR)/lib/" | ||
232 | |||
233 | |||
234 | install: all install_target | ||
235 | |||
236 | uninstall: uninstall_target | ||
237 | |||