Uploaded initial version.
[guivpn] / trunk / vpngui / src / Makefile.am
1 hildondesktoplib_LTLIBRARIES = libvpngui.la
2
3 libvpngui_la_CPPFLAGS =                            \
4         -Werror                                      \
5         -Wall -g -O2                                 \
6         -DPACKAGE_LOCALE_DIR="\"/usr/share/locale\"" \
7         -DPIXMAPSDIR=\"$(pixmapsdir)\"               \
8         $(LIBHILDONDESKTOP_CFLAGS)                   \
9         $(STATUSBAR_SYNC_CFLAGS)                     \
10         $(CONIC_CFLAGS)
11
12 libvpngui_la_LDFLAGS = -module -avoid-version
13
14 libvpngui_la_LIBADD = \
15         $(LIBHILDONDESKTOP_LIBS)    \
16         $(STATUSBAR_SYNC_LIBS)      \
17         $(sbin_SCRIPTS)             \
18         $(CONIC_LIBS)
19
20 #
21 # The sync-plugin.la sources.
22 #
23 libvpngui_la_SOURCES =            \
24         macros.h                    \
25         vpngui.h                \
26         vpngui.c                \
27         vpnc-util.c                 \
28         vpn_notify.h                \
29         vpn_notify.c                \
30         vpncfg.h
31
32 #
33 # The desktop entry for the status menu plugin.
34 #
35 hildonstatusmenudesktopentry_DATA = vpngui.desktop
36
37 sbin_SCRIPTS = vpngui-helper
38
39 BUILT_SOURCES = vpn_notify-glue.h
40 vpn_notify-glue.h: vpn_notify.xml
41                 dbus-binding-tool --prefix=vpn_notify --mode=glib-server --output=$@ $<
42
43 deb: dist
44                 dpkg-buildpackage -rfakeroot
45