Skip to content

Instantly share code, notes, and snippets.

@yuvipanda
Created April 23, 2010 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuvipanda/376437 to your computer and use it in GitHub Desktop.
Save yuvipanda/376437 to your computer and use it in GitHub Desktop.
VALA_CFLAGS = \
--thread \
--vapidir vapi \
--pkg config \
--pkg gtk+-2.0
AM_CPPFLAGS = \
-DBINDIR=\"$(bindir)\" \
-DDATADIR=\"$(datadir)\" \
-DPREFIX=\""$(prefix)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DPACKAGE_DATADIR=\""$(datadir)/cheese"\" \
-DPACKAGE_LOCALEDIR=\""$(datadir)/locale"\" \
$(CHEESE_CFLAGS) \
-include $(CONFIG_HEADER)
BUILT_SOURCES = cheese.vala.stamp
bin_PROGRAMS = cheese
cheese_VALASOURCES = \
cheese.vala
cheese_SOURCES = \
$(cheese_VALASOURCES:.vala=.c) \
$(cheese_VALASOURCES:.vala=.h)
cheese.vala.stamp: $(cheese_VALASOURCES)
$(VALAC) -C $(VALA_CFLAGS) $^
touch $@
cheese_LDADD = \
$(CHEESE_LIBS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment