head 1.7; access; symbols; locks; strict; comment @# @; 1.7 date 2005.12.14.19.13.48; author cworth; state Exp; branches; next 1.6; commitid 3c5043a06eec4567; 1.6 date 2005.05.13.22.33.59; author cworth; state Exp; branches; next 1.5; commitid 23ab42852b564567; 1.5 date 2005.02.21.20.32.17; author cworth; state Exp; branches; next 1.4; 1.4 date 2004.10.28.19.42.26; author otaylor; state Exp; branches; next 1.3; 1.3 date 2004.08.31.19.39.32; author cworth; state Exp; branches; next 1.2; 1.2 date 2003.11.07.20.09.14; author cworth; state Exp; branches; next 1.1; 1.1 date 2003.08.18.18.11.37; author cworth; state Exp; branches; next ; desc @@ 1.7 log @Disable compilation of cairo-demo-xcb @ text @PROGS=cairo-demo cairo-spline cairo-knockout # I'd like to put a bunch of compiler-specific warning flags here, but # I don't know a good way to choose the right flags based on the # compiler in use. # # So, for now, if you want more warnings, set them in CFLAGS before # calling make. For example, for gcc: # # CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing" make MYCFLAGS=`pkg-config --cflags cairo` MYLDFLAGS=`pkg-config --libs cairo` all: $(PROGS) %.o: %.c $(CC) -c $(CFLAGS) $(CPPFLAGS) ${MYCFLAGS} $< -o $@@ %: %.c $(CC) $(CFLAGS) $(CPPFLAGS) ${MYCFLAGS} ${MYLDFLAGS} $^ -o $@@ clean: rm -f $(PROGS) *.o @ 1.6 log @ * .cvsignore: * Makefile: * cairo-demo-xcb.c: Split XCB stuff out out cairo-demo and into its own cairo-demo-xcb. * cairo-demo.c: * cairo-demo-xcb.c: * cairo-knockout.c: * cairo-spline.c: Update all X11 demos to latest cairo API changes. @ text @d1 1 a1 1 PROGS=cairo-demo cairo-demo-xcb cairo-spline cairo-knockout @ 1.5 log @ * PS/Makefile: * X11/Makefile: * gtkcairo_slide/Makefile: * png/Makefile: Try to be kinder for portability by not including gcc-specific wanring options in the Makefile. The options really are handy, so we provide an example in the Makefile for how users who want them can get at them. @ text @d1 1 a1 1 PROGS=cairo-demo cairo-spline cairo-knockout @ 1.4 log @Thu Oct 28 15:37:55 2004 Owen Taylor * Makefile (PROGS): Remove various non-checked-in test programs that crept in. @ text @d1 10 a10 2 CFLAGS+=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo` LDFLAGS+=`pkg-config --libs cairo` d12 2 a13 1 PROGS=cairo-demo cairo-spline cairo-knockout d17 6 @ 1.3 log @Fix Makefiles so user can pass CFLAGS. Thanks to Mathieu Lacage @ text @d4 1 a4 1 PROGS=cairo-demo cairo-spline cairo-knockout cairo-spline-broken cairo-line rkumar-bug @ 1.2 log @ * cairo-spline.c: Added code to demonstrate use of cairo_in_stroke and cairo_in_fill. Various code cleanups. * Makefile (PROGS): Remove cairo-freq which wasn't adding anything. @ text @d1 2 a2 2 CFLAGS=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo` LDFLAGS=`pkg-config --libs cairo` d4 1 a4 1 PROGS=cairo-demo cairo-spline cairo-knockout @ 1.1 log @Added demos from OLS paper. @ text @d4 1 a4 1 PROGS=cairo-demo cairo-spline cairo-knockout cairo-freq @