Added package icon and better package description and details
[slovak-l10n] / ukeyboard / ukbdcreator / Makefile
1 CFLAGS_ADD = -g -W -Wall `pkg-config --cflags gtk+-2.0 hildon-1 hildon-fm-2 libosso gnome-vfs-2.0`
2 LDFLAGS_ADD = `pkg-config --libs gtk+-2.0 hildon-1 hildon-fm-2 libosso libosso gnome-vfs-2.0`
3 LD = $(CC)
4
5 all:    ukbdcreator
6
7 ukbdcreator.o:  ukbdcreator.c version.h ukbdcreator.h
8         $(CC) $(CFLAGS_ADD) -c -o $@ $<
9
10 compiler.o:     compiler.c ukbdcreator.h ../vkb_compiler.h
11         $(CC) $(CFLAGS_ADD) -c -o $@ $<
12
13 ukbdcreator:    ukbdcreator.o compiler.o ../vkb_compiler_lib.o
14         $(LD) $(LDFLAGS_ADD) -o $@ $+
15
16 version.h:      ../VERSION
17         echo '#define UKBD_VERSION      "'`cat ../VERSION`'"' > version.h
18
19 clean:
20         rm -f ukbdcreator *.o core version.h
21
22 DESTDIR ?= /usr/local
23 install:
24         install -d $(DESTDIR)/bin $(DESTDIR)/share/applications/hildon $(DESTDIR)/share/dbus-1/services
25         install ukbdcreator $(DESTDIR)/bin
26         install -m 0644 ukbdcreator.desktop $(DESTDIR)/share/applications/hildon
27         install -m 0644 cz.upir.ukbdcreator.service $(DESTDIR)/share/dbus-1/services