Commit 6fd427e8 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

Rename to GNOME LaTeX: pkg-config CFLAGS and LDFLAGS variables

parent ba0f2430
......@@ -101,7 +101,7 @@ PKG_PROG_PKG_CONFIG
# Checks for dependencies
AX_REQUIRE_DEFINED([PKG_CHECK_MODULES])
PKG_CHECK_MODULES([LATEXILA], [
PKG_CHECK_MODULES([DEP], [
glib-2.0 >= ${GLIB_REQUIRED_VERSION}
gio-2.0 >= ${GLIB_REQUIRED_VERSION}
gtk+-3.0 >= ${GTK_REQUIRED_VERSION}
......
......@@ -82,10 +82,10 @@ latexila_CPPFLAGS = \
-w
latexila_CFLAGS = \
$(LATEXILA_CFLAGS)
$(DEP_CFLAGS)
latexila_LDADD = \
$(LATEXILA_LIBS) \
$(DEP_LIBS) \
liblatexila/liblatexila.la
# GResource
......
noinst_LTLIBRARIES = libevince.la
libevince_la_CFLAGS = \
$(LATEXILA_CFLAGS) \
libevince_la_CFLAGS = \
$(DEP_CFLAGS) \
$(WARN_CFLAGS)
libevince_la_LDFLAGS = \
$(WARN_LDFLAGS)
libevince_la_LIBADD = \
$(LATEXILA_LIBS)
$(DEP_LIBS)
libevince_built_sources = \
evince-gdbus-generated.c \
......
......@@ -6,7 +6,7 @@ liblatexila_la_CPPFLAGS = \
$(CODE_COVERAGE_CPPFLAGS)
liblatexila_la_CFLAGS = \
$(LATEXILA_CFLAGS) \
$(DEP_CFLAGS) \
$(WARN_CFLAGS) \
$(CODE_COVERAGE_CFLAGS) \
-I$(top_builddir)/src/evince
......@@ -15,7 +15,7 @@ liblatexila_la_LDFLAGS = \
$(WARN_LDFLAGS)
liblatexila_la_LIBADD = \
$(LATEXILA_LIBS) \
$(DEP_LIBS) \
$(CODE_COVERAGE_LIBS) \
../evince/libevince.la
......
......@@ -4,13 +4,13 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/src/liblatexila \
-I$(top_builddir)/src/liblatexila \
$(LATEXILA_CFLAGS) \
$(DEP_CFLAGS) \
$(WARN_CFLAGS)
AM_LDFLAGS = $(WARN_LDFLAGS)
LDADD = $(top_builddir)/src/liblatexila/liblatexila.la \
$(LATEXILA_LIBS)
$(DEP_LIBS)
build-tools-resources.c: build-tools.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/build-tools.gresource.xml)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/build-tools.gresource.xml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment