[gtranslator] Cleanup makefile.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Cleanup makefile.
- Date: Wed, 12 Jan 2011 00:20:26 +0000 (UTC)
commit 197c43894a55306ad736ba0bc996a015d2a40501
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jan 12 01:20:39 2011 +0100
Cleanup makefile.
src/Makefile.am | 34 ++++++++++++++++------------------
1 files changed, 16 insertions(+), 18 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index bedc730..22f7f7a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,31 +12,30 @@ lib_LTLIBRARIES = libgtranslator-private.la
INCLUDES = \
-I$(top_srcdir) \
- -I$(includedir) \
-I$(top_srcdir)/src/dialogs \
-I$(top_srcdir)/src/toolbareditor \
-I$(top_srcdir)/src/translation-memory \
- -I$(top_srcdir)/src/translation-memory/berkeley \
- -DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\" \
- -DPREFIX=\""$(prefix)"\" \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DPKGDATADIR=\""$(pkgdatadir)"\" \
- -DDATADIR=\""$(datadir)"\" \
- -DLIBDIR=\""$(libdir)"\" \
- $(GTRANSLATOR_CFLAGS) \
- $(GTKSPELL_CFLAGS) \
- $(SPELLCHECK_CFLAGS) \
+ $(GTRANSLATOR_CFLAGS) \
+ $(GTKSPELL_CFLAGS) \
$(WARN_CFLAGS) \
- $(DISABLE_DEPRECATED) \
- -DG_LOG_DOMAIN=\""$(PACKAGE)"\" \
- -DPIXMAPSDIR=\""$(datadir)"/pixmaps/gtranslator\"
+ $(DISABLE_DEPRECATED_CFLAGS) \
+ $(INTROSPECTION_CFLAGS) \
+ -DDATADIR=\""$(datadir)"\" \
+ -DLIBDIR=\""$(libdir)"\"
bin_PROGRAMS = \
gtranslator
gtranslator_SOURCES = main.c
-gtranslator_LDADD = libgtranslator.la libgtranslator-private.la $(GTRANSLATOR_LIBS) $(GTKSPELL_LIBS) $(INTLLIBS) -lgettextpo
+gtranslator_LDADD = \
+ libgtranslator.la \
+ libgtranslator-private.la \
+ $(GTRANSLATOR_LIBS) \
+ $(GTKSPELL_LIBS) \
+ $(INTLLIBS) \
+ $(INTROSPECTION_LIBS) \
+ -lgettextpo
if PLATFORM_WIN32
gtranslator_LDFLAGS = -Wl,--export-all-symbols -mwindows -Wl,--out-implib,libgedit-$(GTR_API_VERSION).a
@@ -44,7 +43,6 @@ else
gtranslator_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
endif
-
libgtranslator_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
BUILT_SOURCES = \
@@ -136,10 +134,10 @@ libgtranslator_la_SOURCES = \
$(INST_H_FILES)
libgtranslator_la_LIBADD = \
- $(GTRANSLATOR_LIBS) \
dialogs/libdialogs.la \
toolbareditor/libtoolbareditor.la \
- translation-memory/libtranslationmemory.la
+ translation-memory/libtranslationmemory.la \
+ $(GTRANSLATOR_LIBS)
gtr-enum-types.h: gtr-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS)
$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtr-enum-types.h.template $(INST_H_FILES)) > $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]