1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 00:12:31 +01:00
Files
wmaker/wrlib/Makefile.am
Brad Jorsch 5afe745c01 Automake dependency tracking
I just spent an hour trying to find out why the latest wmaker-crm was
ignoring a number of the preferences in my configuration file. It turns
out the problem was that commit f41db5 added a value into the middle of
the enum in src/keybind.h, and the setting of
AUTOMAKE_OPTIONS = no-dependencies in all the Makefile.ams meant that
make wasn't smart enough to rebuild the files depending on it.

Would anyone mind if we just remove no-dependencies from
AUTOMAKE_OPTIONS? People can still run ./configure with
--disable-dependency-tracking to disable it at configure time.
2010-09-15 20:37:48 +02:00

75 lines
1.3 KiB
Makefile

## automake input file for wrlib
SUBDIRS = .
AUTOMAKE_OPTIONS =
EXTRA_DIST = tests
lib_LTLIBRARIES = libwraster.la
libwraster_la_LDFLAGS = -version-info @WRASTER_VERSION@
if HAVE_LD_VERSION_SCRIPT
libwraster_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libwraster.map
endif
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 \
bench.h \
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
LTCOMPILE2=`echo $(LTCOMPILE) | 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
$(LTCOMPILE2) -O0 -c $<
x86_specific.o: x86_specific.c
$(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