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