diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-09 10:53:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-09 10:53:09 +0000 |
commit | 741468a4fbc1314e083ec3961934fedbc6a2d90f (patch) | |
tree | 272a135ce5cd21fcd4f42f2baa04a45f47658773 /Build/source/texk/web2c/synctexdir/am | |
parent | b0cc890be0ceec49e914a5b50cea4428b37044ee (diff) |
texk/web2c: Reorganize rules for libsynctex
git-svn-id: svn://tug.org/texlive/trunk@36470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/am')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/am/synctex.am | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/Build/source/texk/web2c/synctexdir/am/synctex.am b/Build/source/texk/web2c/synctexdir/am/synctex.am index c4481ae1cad..1f3f366de71 100644 --- a/Build/source/texk/web2c/synctexdir/am/synctex.am +++ b/Build/source/texk/web2c/synctexdir/am/synctex.am @@ -1,42 +1,30 @@ ## texk/web2c/synctexdir/am/synctex.am: Makefile fragment for SyncTeX. ## -## Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## The SyncTeX tool if SYNCTEX bin_PROGRAMS += synctex +lib_LTLIBRARIES += $(LTLIBSYNCTEX) +lib_LIBRARIES += $(LIBSYNCTEX) endif SYNCTEX EXTRA_PROGRAMS += synctex +EXTRA_LTLIBRARIES += libsynctex.la +EXTRA_LIBRARIES += libsynctex.a synctex_SOURCES = \ synctexdir/synctex_main.c synctex_CPPFLAGS = -I$(srcdir)/synctexdir -if SYSTEM_ZLIB -libsynctex = libsynctex.la -else !SYSTEM_ZLIB -libsynctex = libsynctex.a -endif !SYSTEM_ZLIB - synctex_LDADD = $(libsynctex) $(ZLIB_LIBS) $(synctex_OBJECTS): $(libsynctex) ## The (shared or nonshared) SyncTeX parser library - -EXTRA_LTLIBRARIES = libsynctex.la -EXTRA_LIBRARIES += libsynctex.a - -if SYNCTEX -if SYSTEM_ZLIB -lib_LTLIBRARIES = $(WANTEDLIBS) -else !SYSTEM_ZLIB -lib_LIBRARIES = libsynctex.a -endif !SYSTEM_ZLIB -endif SYNCTEX +libsynctex = $(LTLIBSYNCTEX) $(LIBSYNCTEX) libsynctex_la_CPPFLAGS = -I$(srcdir)/synctexdir $(ZLIB_INCLUDES) -DSYNCTEX_USE_LOCAL_HEADER libsynctex_a_CPPFLAGS = $(libsynctex_la_CPPFLAGS) |