view examples/drag/Makefile.am @ 619:7020ed3c3e37 openvg

Actiavte a VGImage before using a pattern paint or image surface. - A VGImage can only activated for a pattern or an image in any instance. - _ge_openvg_img trace the object activated for currently and its deactivation function. - everytime a pattern paint or image surface will be used, the current activated one will be deactivated, and activate a new one.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 08 Jul 2010 18:44:26 +0800
parents a90fd749af82
children 757bb247a072
line wrap: on
line source

include $(top_srcdir)/config.mk

noinst_PROGRAMS = ex1
EXTRA_DIST = menu.svg

ex1_SOURCES = main.c
nodist_ex1_SOURCES = menu.c menu.h
ex1_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_srcdir)
ex1_LDFLAGS = @pangocairo_LIBS@ 
ex1_LDADD = $(top_builddir)/src/libmbfly.la
BUILT_SOURCES = menu.c menu.h menu.mb
CLEANFILES = menu.c menu.h menu.mb

menu.mb: $(srcdir)/menu.svg
	$(top_srcdir)/tools/svg2code.py $? $@

menu.h: menu.mb
	m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@

menu.c: menu.mb
	m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@