Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Wed Apr 22 13:09:42 2015 +0100 (2015-04-22)
changeset 465 271bb9e6e10f
parent 351 48b0adfe3059
permissions -rw-r--r--
Add -lole32 to link libraries.

This fixes a problem when compiling with mingw-headers version 3.3
where the use of SHGetFolderPath() expands to a call to CoTaskMemFree()
which is defined in libole32.dll:

/usr/x86_64-w64-mingw32/sys-root/mingw/include/shobjidl.h:29954: undefined reference to `__imp_CoTaskMemFree'
rhughes@241
     1
## Process this file with automake to produce Makefile.in
rhughes@241
     2
ali@351
     3
SUBDIRS = data docs gl librazor src test po
ali@323
     4
ali@323
     5
ACLOCAL_AMFLAGS = -I gl/m4
rhughes@241
     6
ali@455
     7
DISTCHECK_CONFIGURE_FLAGS = --enable-tests
ali@455
     8
rhughes@241
     9
# Creating ChangeLog from git log (taken from cairo/Makefile.am):
rhughes@241
    10
ChangeLog: $(srcdir)/ChangeLog
rhughes@241
    11
rhughes@241
    12
$(srcdir)/ChangeLog:
rhughes@241
    13
	@if test -d "$(srcdir)/.git"; then \
rhughes@241
    14
	  (cd "$(srcdir)" && \
rhughes@241
    15
	  ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
rhughes@241
    16
	  && mv -f $@.tmp $@ \
rhughes@241
    17
	  || ($(RM) $@.tmp; \
rhughes@241
    18
	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
rhughes@241
    19
	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
rhughes@241
    20
	else \
rhughes@241
    21
	  test -f $@ || \
rhughes@241
    22
	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
rhughes@241
    23
	  echo A git checkout and git-log is required to generate this file >> $@); \
rhughes@241
    24
	fi
rhughes@241
    25
rhughes@241
    26
.PHONY: ChangeLog $(srcdir)/ChangeLog
rhughes@241
    27
rhughes@241
    28
EXTRA_DIST = 			\
rhughes@241
    29
	TODO	 		\
rhughes@241
    30
	ChangeLog 		\
rhughes@241
    31
	intltool-extract.in 	\
rhughes@241
    32
	intltool-merge.in 	\
rhughes@241
    33
	intltool-update.in
rhughes@241
    34
rhughes@241
    35
DISTCLEANFILES = \
rhughes@241
    36
	intltool-extract	\
rhughes@241
    37
	intltool-merge		\
rhughes@241
    38
	intltool-update
rhughes@241
    39
rhughes@241
    40
clean-local :
rhughes@241
    41
	rm -f *~
rhughes@241
    42