1 ## automake input file for wrlib
3 AUTOMAKE_OPTIONS = no-dependencies
5 lib_LTLIBRARIES = libwraster.la
7 libwraster_la_LDFLAGS = -version-info 2:0:0
9 bin_SCRIPTS = get-wraster-flags
11 noinst_PROGRAMS = testgrad testdraw view testrot
13 EXTRA_DIST = test.png tile.xpm ballot_box.xpm
14 include_HEADERS = wraster.h
16 libwraster_la_SOURCES = \
47 LTCOMPILE2=`echo $(LTCOMPILE) | sed -e s/-fomit-frame-pointer//`
48 COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
50 # cant compile asm stuff with optimizations
51 x86_specific.lo: x86_specific.c
52 $(LTCOMPILE2) -O0 -c $<
54 x86_specific.o: x86_specific.c
60 INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
62 LIBLIST = $(top_builddir)/wrlib/libwraster.la @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
66 view_LDADD = $(LIBLIST)
68 testgrad_SOURCES = testgrad.c
70 testgrad_LDADD = $(LIBLIST)
72 testrot_SOURCES = testrot.c
74 testrot_LDADD = $(LIBLIST)
77 testdraw_SOURCES = testdraw.c
79 testdraw_LDADD = $(LIBLIST)
82 libwraster_la_LIBADD = @ALLOCA@