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`
7 ukbdcreator.o
: ukbdcreator.c version.h ukbdcreator.h
8 $(CC
) $(CFLAGS_ADD
) -c
-o
$@
$<
10 compiler.o
: compiler.c ukbdcreator.h ..
/vkb_compiler.h
11 $(CC
) $(CFLAGS_ADD
) -c
-o
$@
$<
13 ukbdcreator
: ukbdcreator.o compiler.o ..
/vkb_compiler_lib.o
14 $(LD
) $(LDFLAGS_ADD
) -o
$@
$+
17 echo
'#define UKBD_VERSION "'`cat ../VERSION`'"' > version.h
20 rm -f ukbdcreator
*.o core version.h
24 install -d
$(DESTDIR
)/usr
/bin
$(DESTDIR
)/usr
/share
/applications
/hildon
$(DESTDIR
)/usr
/share
/dbus-1
/services
25 install ukbdcreator
$(DESTDIR
)/usr
/bin
26 install -m
0644 ukbdcreator.desktop
$(DESTDIR
)/usr
/share
/applications
/hildon
27 install -m
0644 cz.upir.ukbdcreator.service
$(DESTDIR
)/usr
/share
/dbus-1
/services