diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-28 10:52:28 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-05-28 10:52:28 +0000 |
commit | 6ef4a443851a5c730631465398318a718b054df0 (patch) | |
tree | 3f317ea9c423b728ff7ec1e27443f992cc64a3f9 /Build/source/texk/web2c/synctex/synctex.mk | |
parent | 53c6c8b59113fa84a73dd2071e2c17cde0e160ea (diff) |
make synctex 64-bit-compatible, clean up warnings
git-svn-id: svn://tug.org/texlive/trunk@8380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctex/synctex.mk')
-rw-r--r-- | Build/source/texk/web2c/synctex/synctex.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/synctex/synctex.mk b/Build/source/texk/web2c/synctex/synctex.mk index 711c7cb50c1..bd8fe448509 100644 --- a/Build/source/texk/web2c/synctex/synctex.mk +++ b/Build/source/texk/web2c/synctex/synctex.mk @@ -37,6 +37,10 @@ synctex_dir = $(srcdir)/synctex +LIBOBSDCOMPATDIR=../../libs/obsdcompat +LIBOBSDCOMPATSRCDIR=$(srcdir)/$(LIBOBSDCOMPATDIR) +XCPPFLAGS=-I$(LIBOBSDCOMPATDIR) -I$(LIBOBSDCOMPATDIR)/.. -I$(LIBOBSDCOMPATSRCDIR) -I$(LIBOBSDCOMPATSRCDIR)/.. + Makefile: $(synctex_dir)/synctex.mk # for all the engines, this trick allows to enable or disable SyncTeX support from here. @@ -208,8 +212,8 @@ synctex_parser.o: $(synctex_dir)/synctex_parser.c $(synctex_dir)/synctex_parser. synctex_main.o: $(synctex_dir)/synctex_main.c $(synctex_dir)/synctex_parser.h $(compile) -c -I$(synctex_dir) $(ZLIBCPPFLAGS) -o $@ $< -synctex:synctex_main.o synctex_parser.o $(ZLIBDEPS) - $(link_command) synctex_main.o synctex_parser.o $(LDZLIB) +synctex:synctex_main.o synctex_parser.o $(ZLIBDEPS) $(LIBOBSDDEP) + $(link_command) synctex_main.o synctex_parser.o $(LDZLIB) $(LDLIBOBSD) # Cleaning up. clean:: synctex-clean |