[poppler] test: Makefile,1.7,1.8

Jeff Muizelaar jrmuizel at freedesktop.org
Sun Dec 18 16:49:42 PST 2005


Update of /cvs/poppler/test
In directory gabe:/tmp/cvs-serv25307

Modified Files:
	Makefile 
Log Message:
2005-12-18  Jeff Muizelaar  <jeff at infidigm.net>

	* Makefile:
	* test-gen/cropbox.pl:
	* tests/cropbox.pdf:
	* tests/cropbox.pdf-0-cairo-ref.png:
	* tests/cropbox.pdf-1-cairo-ref.png:
	* tests/cropbox.pdf-2-cairo-ref.png:
	* tests/cropbox.pdf-3-cairo-ref.png:
	* tests/cropbox.pdf-4-cairo-ref.png:
	* tests/cropbox.pdf-5-cairo-ref.png:
	Add cropbox test case.


Index: Makefile
===================================================================
RCS file: /cvs/poppler/test/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile	23 Nov 2005 00:44:16 -0000	1.7
+++ Makefile	19 Dec 2005 00:49:40 -0000	1.8
@@ -1,12 +1,13 @@
-CFLAGS = $(shell pkg-config --cflags poppler-glib pango gdk-2.0)
+CFLAGS = $(shell pkg-config --cflags poppler-glib pango gdk-2.0) -g
 LDLIBS = $(shell pkg-config --libs poppler-glib)
 
-PDFS = $(addprefix tests/, mask.pdf text.pdf image.pdf type3.pdf inline-image.pdf)
+PDFS = $(addprefix tests/, mask.pdf text.pdf image.pdf type3.pdf cropbox.pdf inline-image.pdf)
+POPPLER_DIR = ../poppler-build
 
 all : test-poppler $(PDFS)
 
-test-poppler: buffer-diff.o  read-png.o  test-poppler.o  write-png.o  xmalloc.o
-
+test-poppler: buffer-diff.o  read-png.o  test-poppler.o  write-png.o  xmalloc.o $(POPPLER_DIR)/poppler/libpoppler.la
+	$(POPPLER_DIR)/libtool --mode=link gcc  -g -O2   -o $@  $^ $(POPPLER_DIR)/poppler/libpoppler.la $(POPPLER_DIR)/glib/libpoppler-glib.la 
 clean :
 	rm test-poppler *.o tests/*out.png
 



More information about the poppler mailing list