1 ## automake input file for wrlib
5 AUTOMAKE_OPTIONS = no-dependencies
7 lib_LTLIBRARIES = libwraster.la
9 libwraster_la_LDFLAGS = -version-info 4:0:1
11 LIBTOOL = $(QUIET) $(SHELL) $(top_srcdir)/libtool $(LIBTOOL_ARG)
13 bin_SCRIPTS = get-wraster-flags
15 include_HEADERS = wraster.h
17 libwraster_la_SOURCES = \
49 $(QUIET)$(COMPILE) -c $<
52 $(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
54 # This is the same as LTCOMPILE but without LIBTOOL
55 LTCOMPILE1= --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
56 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
57 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
59 LTCOMPILE2=`echo $(LTCOMPILE1) | sed -e s/-fomit-frame-pointer//`
60 COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
62 # cant compile asm stuff with optimizations
63 x86_specific.lo: x86_specific.c
64 $(LIBTOOL) $(LTCOMPILE2) -O0 -c $<
66 x86_specific.o: x86_specific.c
67 $(QUIET)$(COMPILE2) -O0 -c $<
70 INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
72 libwraster_la_LIBADD = @ALLOCA@ @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
74 DISTCLEANFILES = wrlib.pc
78 $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
79 @list='wrlib.pc'; for p in $$list; do \
80 if test -f $$p; then \
81 echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
82 $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \