Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / modules / lyr_freetype / Makefile.am
index c48daff..a778e78 100644 (file)
@@ -1,19 +1,49 @@
-# $Header: /opt/voria/cvs/synfig/src/modules/lyr_freetype/Makefile.am,v 1.3 2005/03/24 21:07:24 darco Exp $
+# $Id$
+
+MAINTAINERCLEANFILES = Makefile.in
+
+INCLUDES = \
+       -I$(top_builddir) \
+       -I$(top_srcdir)/src
+
+AM_CXXFLAGS = \
+       @CXXFLAGS@ \
+       @FREETYPE_CFLAGS@
 
-MAINTAINERCLEANFILES=Makefile.in
-INCLUDES = -I$(top_srcdir)/src
-CXXFLAGS=@CXXFLAGS@ @FREETYPE_CFLAGS@
 
 moduledir=@MODULE_DIR@
 
 if WITH_FREETYPE
+
 module_LTLIBRARIES = liblyr_freetype.la
-liblyr_freetype_la_SOURCES = main.cpp lyr_freetype.cpp lyr_freetype.h
-liblyr_freetype_la_LIBADD = -L../../synfig -lsynfig @FREETYPE_LIBS@ @SYNFIG_LIBS@
-liblyr_freetype_la_LDFLAGS = -module -no-undefined
-liblyr_freetype_la_CXXFLAGS = @SYNFIG_CFLAGS@ @FREETYPE_CFLAGS@
-else
+
+liblyr_freetype_la_SOURCES = \
+       main.cpp \
+       lyr_freetype.cpp \
+       lyr_freetype.h
+
+liblyr_freetype_la_LIBADD = \
+       ../../synfig/libsynfig.la \
+       @FREETYPE_LIBS@ \
+       @SYNFIG_LIBS@
+
+liblyr_freetype_la_LDFLAGS = \
+       -module \
+       -no-undefined \
+       -avoid-version
+
+liblyr_freetype_la_CXXFLAGS = \
+       @SYNFIG_CFLAGS@ \
+       @FREETYPE_CFLAGS@
+
+if WITH_FONTCONFIG
+liblyr_freetype_la_LIBADD += @FONTCONFIG_LIBS@
+liblyr_freetype_la_CXXFLAGS += @FONTCONFIG_CFLAGS@
+endif
+
 endif
 
 
-EXTRA_DIST= lyr_freetype.nsh unlyr_freetype.nsh
+EXTRA_DIST = \
+       lyr_freetype.nsh \
+       unlyr_freetype.nsh