Also supplying an icon for the Openmoko plug-in
This commit is contained in:
parent
039c635f4e
commit
303de5469e
12
Makefile
12
Makefile
@ -88,6 +88,18 @@ dist:
|
|||||||
$(PACKAGE)-$(VERSION)/src/plugins/smscrypt.c \
|
$(PACKAGE)-$(VERSION)/src/plugins/smscrypt.c \
|
||||||
$(PACKAGE)-$(VERSION)/src/plugins/Makefile \
|
$(PACKAGE)-$(VERSION)/src/plugins/Makefile \
|
||||||
$(PACKAGE)-$(VERSION)/src/plugins/project.conf \
|
$(PACKAGE)-$(VERSION)/src/plugins/project.conf \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/16x16/Makefile \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/16x16/phone-openmoko.png \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/16x16/project.conf \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/24x24/Makefile \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/24x24/phone-openmoko.png \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/24x24/project.conf \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/32x32/Makefile \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/32x32/phone-openmoko.png \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/32x32/project.conf \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/48x48/Makefile \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/48x48/phone-openmoko.png \
|
||||||
|
$(PACKAGE)-$(VERSION)/src/plugins/48x48/project.conf \
|
||||||
$(PACKAGE)-$(VERSION)/tools/engineering.c \
|
$(PACKAGE)-$(VERSION)/tools/engineering.c \
|
||||||
$(PACKAGE)-$(VERSION)/tools/pdu.c \
|
$(PACKAGE)-$(VERSION)/tools/pdu.c \
|
||||||
$(PACKAGE)-$(VERSION)/tools/smscrypt.c \
|
$(PACKAGE)-$(VERSION)/tools/smscrypt.c \
|
||||||
|
21
src/plugins/16x16/Makefile
Normal file
21
src/plugins/16x16/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PREFIX = /usr/local
|
||||||
|
DESTDIR =
|
||||||
|
MKDIR = mkdir -p
|
||||||
|
INSTALL = install
|
||||||
|
RM = rm -f
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
clean:
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps
|
||||||
|
$(INSTALL) -m 0644 -- phone-openmoko.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
.PHONY: all clean distclean install uninstall
|
BIN
src/plugins/16x16/phone-openmoko.png
Normal file
BIN
src/plugins/16x16/phone-openmoko.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
4
src/plugins/16x16/project.conf
Normal file
4
src/plugins/16x16/project.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
dist=Makefile,phone-openmoko.png
|
||||||
|
|
||||||
|
[phone-openmoko.png]
|
||||||
|
install=$(PREFIX)/share/icons/hicolor/16x16/apps
|
21
src/plugins/24x24/Makefile
Normal file
21
src/plugins/24x24/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PREFIX = /usr/local
|
||||||
|
DESTDIR =
|
||||||
|
MKDIR = mkdir -p
|
||||||
|
INSTALL = install
|
||||||
|
RM = rm -f
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
clean:
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps
|
||||||
|
$(INSTALL) -m 0644 -- phone-openmoko.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
.PHONY: all clean distclean install uninstall
|
BIN
src/plugins/24x24/phone-openmoko.png
Normal file
BIN
src/plugins/24x24/phone-openmoko.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
4
src/plugins/24x24/project.conf
Normal file
4
src/plugins/24x24/project.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
dist=Makefile,phone-openmoko.png
|
||||||
|
|
||||||
|
[phone-openmoko.png]
|
||||||
|
install=$(PREFIX)/share/icons/hicolor/24x24/apps
|
21
src/plugins/32x32/Makefile
Normal file
21
src/plugins/32x32/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PREFIX = /usr/local
|
||||||
|
DESTDIR =
|
||||||
|
MKDIR = mkdir -p
|
||||||
|
INSTALL = install
|
||||||
|
RM = rm -f
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
clean:
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps
|
||||||
|
$(INSTALL) -m 0644 -- phone-openmoko.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
.PHONY: all clean distclean install uninstall
|
BIN
src/plugins/32x32/phone-openmoko.png
Normal file
BIN
src/plugins/32x32/phone-openmoko.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
4
src/plugins/32x32/project.conf
Normal file
4
src/plugins/32x32/project.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
dist=Makefile,phone-openmoko.png
|
||||||
|
|
||||||
|
[phone-openmoko.png]
|
||||||
|
install=$(PREFIX)/share/icons/hicolor/32x32/apps
|
21
src/plugins/48x48/Makefile
Normal file
21
src/plugins/48x48/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
PREFIX = /usr/local
|
||||||
|
DESTDIR =
|
||||||
|
MKDIR = mkdir -p
|
||||||
|
INSTALL = install
|
||||||
|
RM = rm -f
|
||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
clean:
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
install:
|
||||||
|
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps
|
||||||
|
$(INSTALL) -m 0644 -- phone-openmoko.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/phone-openmoko.png
|
||||||
|
|
||||||
|
.PHONY: all clean distclean install uninstall
|
BIN
src/plugins/48x48/phone-openmoko.png
Normal file
BIN
src/plugins/48x48/phone-openmoko.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
4
src/plugins/48x48/project.conf
Normal file
4
src/plugins/48x48/project.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
dist=Makefile,phone-openmoko.png
|
||||||
|
|
||||||
|
[phone-openmoko.png]
|
||||||
|
install=$(PREFIX)/share/icons/hicolor/48x48/apps
|
@ -1,3 +1,4 @@
|
|||||||
|
SUBDIRS = 16x16 24x24 32x32 48x48
|
||||||
TARGETS = blacklist.so debug.so engineering.so gprs.so openmoko.so oss.so panel.so profiles.so smscrypt.so
|
TARGETS = blacklist.so debug.so engineering.so gprs.so openmoko.so oss.so panel.so profiles.so smscrypt.so
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
@ -16,7 +17,10 @@ MKDIR = mkdir -p
|
|||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: subdirs $(TARGETS)
|
||||||
|
|
||||||
|
subdirs:
|
||||||
|
@for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done
|
||||||
|
|
||||||
blacklist_OBJS = blacklist.o
|
blacklist_OBJS = blacklist.o
|
||||||
blacklist_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
|
blacklist_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
|
||||||
@ -109,12 +113,16 @@ smscrypt.o: smscrypt.c ../../include/Phone.h
|
|||||||
$(CC) $(smscrypt_CFLAGS) -c smscrypt.c
|
$(CC) $(smscrypt_CFLAGS) -c smscrypt.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done
|
||||||
$(RM) -- $(blacklist_OBJS) $(debug_OBJS) $(engineering_OBJS) $(gprs_OBJS) $(openmoko_OBJS) $(oss_OBJS) $(panel_OBJS) $(profiles_OBJS) $(smscrypt_OBJS)
|
$(RM) -- $(blacklist_OBJS) $(debug_OBJS) $(engineering_OBJS) $(gprs_OBJS) $(openmoko_OBJS) $(oss_OBJS) $(panel_OBJS) $(profiles_OBJS) $(smscrypt_OBJS)
|
||||||
|
|
||||||
distclean: clean
|
distclean:
|
||||||
|
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done
|
||||||
|
$(RM) -- $(blacklist_OBJS) $(debug_OBJS) $(engineering_OBJS) $(gprs_OBJS) $(openmoko_OBJS) $(oss_OBJS) $(panel_OBJS) $(profiles_OBJS) $(smscrypt_OBJS)
|
||||||
$(RM) -- $(TARGETS)
|
$(RM) -- $(TARGETS)
|
||||||
|
|
||||||
install: $(TARGETS)
|
install: $(TARGETS)
|
||||||
|
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
|
||||||
$(MKDIR) $(DESTDIR)$(LIBDIR)/Phone/plugins
|
$(MKDIR) $(DESTDIR)$(LIBDIR)/Phone/plugins
|
||||||
$(INSTALL) -m 0644 -- blacklist.so $(DESTDIR)$(LIBDIR)/Phone/plugins/blacklist.so
|
$(INSTALL) -m 0644 -- blacklist.so $(DESTDIR)$(LIBDIR)/Phone/plugins/blacklist.so
|
||||||
$(MKDIR) $(DESTDIR)$(LIBDIR)/Phone/plugins
|
$(MKDIR) $(DESTDIR)$(LIBDIR)/Phone/plugins
|
||||||
@ -133,6 +141,7 @@ install: $(TARGETS)
|
|||||||
$(INSTALL) -m 0644 -- smscrypt.so $(DESTDIR)$(LIBDIR)/Phone/plugins/smscrypt.so
|
$(INSTALL) -m 0644 -- smscrypt.so $(DESTDIR)$(LIBDIR)/Phone/plugins/smscrypt.so
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done
|
||||||
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/blacklist.so
|
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/blacklist.so
|
||||||
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/debug.so
|
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/debug.so
|
||||||
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/engineering.so
|
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/engineering.so
|
||||||
@ -142,4 +151,4 @@ uninstall:
|
|||||||
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/profiles.so
|
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/profiles.so
|
||||||
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/smscrypt.so
|
$(RM) -- $(DESTDIR)$(LIBDIR)/Phone/plugins/smscrypt.so
|
||||||
|
|
||||||
.PHONY: all clean distclean install uninstall
|
.PHONY: all subdirs clean distclean install uninstall
|
||||||
|
@ -79,7 +79,7 @@ PhonePlugin plugin =
|
|||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
"Openmoko",
|
"Openmoko",
|
||||||
"stock_cell-phone",
|
"phone-openmoko",
|
||||||
_openmoko_init,
|
_openmoko_init,
|
||||||
_openmoko_destroy,
|
_openmoko_destroy,
|
||||||
_openmoko_event,
|
_openmoko_event,
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
subdirs=16x16,24x24,32x32,48x48
|
||||||
targets=blacklist,debug,engineering,gprs,openmoko,oss,panel,profiles,smscrypt
|
targets=blacklist,debug,engineering,gprs,openmoko,oss,panel,profiles,smscrypt
|
||||||
cppflags_force=-I ../../include
|
cppflags_force=-I ../../include
|
||||||
cppflags=
|
cppflags=
|
||||||
|
Loading…
Reference in New Issue
Block a user