summaryrefslogtreecommitdiff
path: root/librsvg/makefile-simple
blob: 731b270b32f68a6e87b5a5ed813d89351e84c29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is a very simple makefile which may be useful in those rare cases
# when autoconf is more of a pain in the ass than it's worth.

#FREETYPE_CFLAGS=-I/usr/local/include
#FREETYPE_LDLIBS=-L/usr/local/lib -lfreetype

FREETYPE_CFLAGS=-I../cut-n-paste-code
FREETYPE_LDLIBS=-L../cut-n-paste-code/freetype/.libs -lfreetype

CFLAGS=-g -Wall -ansi -Wno-uninitialized -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wsign-promo -Werror $(FREETYPE_CFLAGS) `gnome-config --cflags glib libart gdk_pixbuf xml`
LDLIBS=`gnome-config --libs glib libart gdk_pixbuf xml` -lpopt $(FREETYPE_LDLIBS)

RSVG_OBJS=art_render_gradient.o \
	art_render_mask.o \
	art_render_svp.o \
	rsvg-bpath-util.o \
	rsvg-css.o \
	rsvg-defs.o \
	rsvg-ft.o \
	rsvg-paint-server.o \
	rsvg-path.o \
	rsvg.o

all:	test-rsvg test-ft test-ft-gtk

test-rsvg:	test-rsvg.o $(RSVG_OBJS)

test-ft:	test-ft.o $(RSVG_OBJS)

test-ft-gtk:	test-ft-gtk.o $(RSVG_OBJS)