1998-09-29 22:36:29 +00:00
|
|
|
## automake input file for wrlib
|
|
|
|
|
|
2010-01-05 18:36:43 +01:00
|
|
|
SUBDIRS = .
|
2005-01-06 15:48:42 +00:00
|
|
|
|
1998-09-29 22:36:29 +00:00
|
|
|
AUTOMAKE_OPTIONS = no-dependencies
|
|
|
|
|
|
2010-04-09 10:40:51 -04:00
|
|
|
EXTRA_DIST = tests
|
|
|
|
|
|
1999-01-06 15:22:33 +00:00
|
|
|
lib_LTLIBRARIES = libwraster.la
|
|
|
|
|
|
2004-10-26 04:06:37 +00:00
|
|
|
libwraster_la_LDFLAGS = -version-info 4:0:1
|
1998-09-29 22:36:29 +00:00
|
|
|
|
2010-04-09 23:56:26 +02:00
|
|
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool $(LIBTOOL_ARG)
|
2008-11-05 02:09:10 +01:00
|
|
|
|
1999-01-25 19:06:50 +00:00
|
|
|
bin_SCRIPTS = get-wraster-flags
|
1998-09-29 22:36:29 +00:00
|
|
|
|
|
|
|
|
include_HEADERS = wraster.h
|
|
|
|
|
|
1999-01-06 15:22:33 +00:00
|
|
|
libwraster_la_SOURCES = \
|
1998-09-29 22:36:29 +00:00
|
|
|
raster.c \
|
|
|
|
|
draw.c \
|
|
|
|
|
color.c \
|
|
|
|
|
load.c \
|
1998-10-21 14:43:47 +00:00
|
|
|
save.c \
|
1998-09-29 22:36:29 +00:00
|
|
|
gradient.c \
|
|
|
|
|
xpixmap.c \
|
2010-04-09 10:40:51 -04:00
|
|
|
bench.h \
|
1998-09-29 22:36:29 +00:00
|
|
|
convert.c \
|
2002-09-30 12:39:22 +00:00
|
|
|
x86_specific.c \
|
1998-09-29 22:36:29 +00:00
|
|
|
context.c \
|
|
|
|
|
misc.c \
|
|
|
|
|
scale.c \
|
2000-02-27 19:51:30 +00:00
|
|
|
rotate.c \
|
1998-09-29 22:36:29 +00:00
|
|
|
convolve.c \
|
|
|
|
|
nxpm.c \
|
|
|
|
|
xpm.c \
|
|
|
|
|
xutil.c \
|
|
|
|
|
ppm.c \
|
|
|
|
|
png.c \
|
|
|
|
|
jpeg.c \
|
|
|
|
|
tiff.c \
|
|
|
|
|
gif.c
|
|
|
|
|
|
|
|
|
|
|
2008-11-05 02:09:10 +01:00
|
|
|
.c:
|
|
|
|
|
$(QUIET)$(COMPILE) -c $<
|
|
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
|
$(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
|
|
|
|
|
|
# This is the same as LTCOMPILE but without LIBTOOL
|
|
|
|
|
LTCOMPILE1= --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
|
|
|
|
|
|
LTCOMPILE2=`echo $(LTCOMPILE1) | sed -e s/-fomit-frame-pointer//`
|
2002-09-30 12:39:22 +00:00
|
|
|
COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
|
|
|
|
|
|
|
|
|
|
# cant compile asm stuff with optimizations
|
|
|
|
|
x86_specific.lo: x86_specific.c
|
2008-11-05 02:09:10 +01:00
|
|
|
$(LIBTOOL) $(LTCOMPILE2) -O0 -c $<
|
2002-09-30 12:39:22 +00:00
|
|
|
|
|
|
|
|
x86_specific.o: x86_specific.c
|
2008-11-05 02:09:10 +01:00
|
|
|
$(QUIET)$(COMPILE2) -O0 -c $<
|
2002-09-30 12:39:22 +00:00
|
|
|
|
2000-01-14 16:39:15 +00:00
|
|
|
|
2000-04-09 23:55:46 +00:00
|
|
|
INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
|
1998-09-29 22:36:29 +00:00
|
|
|
|
2009-03-24 17:06:00 +03:00
|
|
|
libwraster_la_LIBADD = @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
|
1998-09-29 22:36:29 +00:00
|
|
|
|
2003-04-18 01:15:07 +00:00
|
|
|
DISTCLEANFILES = wrlib.pc
|
|
|
|
|
|
|
|
|
|
install-exec-local:
|
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
|
|
|
|
|
@list='wrlib.pc'; for p in $$list; do \
|
|
|
|
|
if test -f $$p; then \
|
|
|
|
|
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
|
|
|
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
|
|
|
|
|
else :; fi; \
|
|
|
|
|
done
|
2008-11-05 02:09:10 +01:00
|
|
|
|
|
|
|
|
|