mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-29 09:52:29 +01:00
- The throwing out of autogen.sh in favor of autoreconf comes from http://www.gnu.org/software/automake/manual/autoconf/autoreconf-Invocation.html#autoreconf-Invocation - 'think that instead of the exit, some better way should be put in to control whether or not to automatically run configure. Or maybe just don't even run it.
81 lines
1.6 KiB
Makefile
81 lines
1.6 KiB
Makefile
## automake input file for wrlib
|
|
|
|
SUBDIRS = .
|
|
|
|
AUTOMAKE_OPTIONS = no-dependencies
|
|
|
|
lib_LTLIBRARIES = libwraster.la
|
|
|
|
libwraster_la_LDFLAGS = -version-info 4:0:1
|
|
|
|
LIBTOOL = $(QUIET) $(SHELL) $(top_builddir)/libtool $(LIBTOOL_ARG)
|
|
|
|
bin_SCRIPTS = get-wraster-flags
|
|
|
|
include_HEADERS = wraster.h
|
|
|
|
libwraster_la_SOURCES = \
|
|
raster.c \
|
|
draw.c \
|
|
color.c \
|
|
load.c \
|
|
save.c \
|
|
gradient.c \
|
|
xpixmap.c \
|
|
convert.c \
|
|
x86_specific.c \
|
|
context.c \
|
|
misc.c \
|
|
scale.c \
|
|
rotate.c \
|
|
convolve.c \
|
|
nxpm.c \
|
|
xpm.c \
|
|
xutil.c \
|
|
ppm.c \
|
|
png.c \
|
|
jpeg.c \
|
|
tiff.c \
|
|
gif.c
|
|
|
|
|
|
.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//`
|
|
COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
|
|
|
|
# cant compile asm stuff with optimizations
|
|
x86_specific.lo: x86_specific.c
|
|
$(LIBTOOL) $(LTCOMPILE2) -O0 -c $<
|
|
|
|
x86_specific.o: x86_specific.c
|
|
$(QUIET)$(COMPILE2) -O0 -c $<
|
|
|
|
|
|
INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
|
|
|
|
libwraster_la_LIBADD = @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm
|
|
|
|
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
|
|
|
|
|