config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

Makefile.am (1330B)


      1 bin_PROGRAMS = epdfinfo
      2 epdfinfo_CFLAGS = -Wall $(glib_CFLAGS) $(poppler_glib_CFLAGS) $(poppler_CFLAGS) \
      3 			$(png_CFLAGS)
      4 # Need -lm to link libm.so.6
      5 epdfinfo_LDADD =  $(glib_LIBS) $(poppler_glib_LIBS) $(poppler_LIBS) \
      6 			$(png_LIBS) libsynctex.a $(zlib_LIBS) -lm
      7 epdfinfo_SOURCES = epdfinfo.c epdfinfo.h
      8 
      9 noinst_LIBRARIES = libsynctex.a
     10 libsynctex_a_SOURCES = synctex_parser.c synctex_parser_utils.c synctex_parser.h	\
     11 			synctex_parser_local.h synctex_parser_utils.h
     12 libsynctex_a_CFLAGS = -w $(zlib_CFLAGS) -DSYNCTEX_USE_LOCAL_HEADER
     13 
     14 if HAVE_W32
     15 epdfinfo_LDADD += -lshlwapi
     16 endif
     17 
     18 SYNCTEX_UPSTREAM = svn://tug.org/texlive/trunk/Build/source/texk/web2c/synctexdir
     19 SYNCTEX_FILES = synctex_parser.c		\
     20 		synctex_parser.h		\
     21 		synctex_parser_readme.txt	\
     22 		synctex_parser_utils.c		\
     23 		synctex_parser_utils.h		\
     24 		synctex_parser_version.txt      \
     25 		synctex_version.h		\
     26 		synctex_parser_advanced.h
     27 
     28 
     29 check-local:
     30 	@if $(MAKE) --version 2>&1 | grep -q GNU; then \
     31 		cd test && $(MAKE) $(AM_MAKEFLAGS); \
     32 	else \
     33 		echo "Skipping tests in server/test (requires GNU make)"; \
     34 	fi
     35 
     36 synctex-pull:
     37 	@if [ -n "$$(git status --porcelain)" ]; then \
     38 		git status; \
     39 		echo "Not checking-out files into a dirty work-directory"; \
     40 		false; \
     41 	fi
     42 	for file in $(SYNCTEX_FILES); do \
     43 		svn export --force $(SYNCTEX_UPSTREAM)/$$file; \
     44 	done