Implemented brightness slider in power menu
[gregoa/zavai.git] / src / Makefile.am
index af2a6ac7f27878164709c3a45b439cd400d0639e..268e1048e30c1e2f995e57620d045e73cd0675a5 100644 (file)
@@ -1,4 +1,4 @@
-VFLAGS=-g --pkg gee-1.0 --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg posix --pkg libwnck-1.0 --vapidir=. --pkg linux-input --pkg dbus-extra --pkg devkit-power-gobject
+VFLAGS=-g --pkg gee-1.0 --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg posix --pkg libwnck-1.0 --vapidir=. --pkg linux-input --pkg dbus-extra --pkg devkit-power-gobject --pkg omhacks
 
 #zavai: $(SOURCES)
 #      valac -o zavai $(VFLAGS) $^
@@ -21,10 +21,11 @@ AM_CPPFLAGS = \
        $(GTK_CFLAGS) \
        $(WNCK_CFLAGS) \
        $(DEVKITPOWER_CFLAGS) \
+       $(OMHACKS_CFLAGS) \
        -DWNCK_I_KNOW_THIS_IS_UNSTABLE \
        -DI_KNOW_THE_DEVICEKIT_POWER_API_IS_SUBJECT_TO_CHANGE
 
-zavai_VAPIS = linux-input.vapi dbus-extra.vapi devkit-power-gobject.vapi
+zavai_VAPIS = linux-input.vapi dbus-extra.vapi devkit-power-gobject.vapi omhacks.vapi
 
 BUILT_SOURCES = zavai.vala.stamp zavai-calendar.vala.stamp \
                $(zavai_VALASOURCES:.vala=.c) $(zavai_calendar_VALASOURCES:.vala=.c)
@@ -88,7 +89,8 @@ zavai_LDADD = \
        $(GEE_LIBS) \
        $(GTK_LIBS) \
        $(WNCK_LIBS) \
-       $(DEVKITPOWER_LIBS)
+       $(DEVKITPOWER_LIBS) \
+       $(OMHACKS_LIBS)
 
 zavai_calendar_LDADD = \
        $(GLIB_LIBS) \