Commit 74562712d4588d3d3cb56d8d433e3e40593a3536

Authored by Georg Hopp
1 parent 925bdb7d

fix for include file installation

1 -nobase_include_HEADERS = token 1 +nobase_include_HEADERS = token/*.h token/dyntype/*.h
@@ -70,6 +70,8 @@ am__base_list = \ @@ -70,6 +70,8 @@ am__base_list = \
70 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 70 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
71 am__installdirs = "$(DESTDIR)$(includedir)" 71 am__installdirs = "$(DESTDIR)$(includedir)"
72 HEADERS = $(nobase_include_HEADERS) 72 HEADERS = $(nobase_include_HEADERS)
  73 +ETAGS = etags
  74 +CTAGS = ctags
73 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
74 ACLOCAL = @ACLOCAL@ 76 ACLOCAL = @ACLOCAL@
75 AMTAR = @AMTAR@ 77 AMTAR = @AMTAR@
@@ -184,7 +186,7 @@ target_alias = @target_alias@ @@ -184,7 +186,7 @@ target_alias = @target_alias@
184 top_build_prefix = @top_build_prefix@ 186 top_build_prefix = @top_build_prefix@
185 top_builddir = @top_builddir@ 187 top_builddir = @top_builddir@
186 top_srcdir = @top_srcdir@ 188 top_srcdir = @top_srcdir@
187 -nobase_include_HEADERS = token 189 +nobase_include_HEADERS = token/*.h token/dyntype/*.h
188 all: all-am 190 all: all-am
189 191
190 .SUFFIXES: 192 .SUFFIXES:
@@ -247,12 +249,58 @@ uninstall-nobase_includeHEADERS: @@ -247,12 +249,58 @@ uninstall-nobase_includeHEADERS:
247 test -n "$$files" || exit 0; \ 249 test -n "$$files" || exit 0; \
248 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ 250 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
249 cd "$(DESTDIR)$(includedir)" && rm -f $$files 251 cd "$(DESTDIR)$(includedir)" && rm -f $$files
  252 +
  253 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  254 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  255 + unique=`for i in $$list; do \
  256 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  257 + done | \
  258 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  259 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  260 + mkid -fID $$unique
250 tags: TAGS 261 tags: TAGS
251 -TAGS:  
252 262
  263 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  264 + $(TAGS_FILES) $(LISP)
  265 + set x; \
  266 + here=`pwd`; \
  267 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  268 + unique=`for i in $$list; do \
  269 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  270 + done | \
  271 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  272 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  273 + shift; \
  274 + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  275 + test -n "$$unique" || unique=$$empty_fix; \
  276 + if test $$# -gt 0; then \
  277 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  278 + "$$@" $$unique; \
  279 + else \
  280 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  281 + $$unique; \
  282 + fi; \
  283 + fi
253 ctags: CTAGS 284 ctags: CTAGS
254 -CTAGS:  
255 - 285 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  286 + $(TAGS_FILES) $(LISP)
  287 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  288 + unique=`for i in $$list; do \
  289 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  290 + done | \
  291 + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  292 + END { if (nonempty) { for (i in files) print i; }; }'`; \
  293 + test -z "$(CTAGS_ARGS)$$unique" \
  294 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  295 + $$unique
  296 +
  297 +GTAGS:
  298 + here=`$(am__cd) $(top_builddir) && pwd` \
  299 + && $(am__cd) $(top_srcdir) \
  300 + && gtags -i $(GTAGS_ARGS) "$$here"
  301 +
  302 +distclean-tags:
  303 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
256 304
257 distdir: $(DISTFILES) 305 distdir: $(DISTFILES)
258 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 306 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -322,7 +370,7 @@ clean-am: clean-generic clean-libtool mostlyclean-am @@ -322,7 +370,7 @@ clean-am: clean-generic clean-libtool mostlyclean-am
322 370
323 distclean: distclean-am 371 distclean: distclean-am
324 -rm -f Makefile 372 -rm -f Makefile
325 -distclean-am: clean-am distclean-generic 373 +distclean-am: clean-am distclean-generic distclean-tags
326 374
327 dvi: dvi-am 375 dvi: dvi-am
328 376
@@ -384,18 +432,18 @@ uninstall-am: uninstall-nobase_includeHEADERS @@ -384,18 +432,18 @@ uninstall-am: uninstall-nobase_includeHEADERS
384 432
385 .MAKE: install-am install-strip 433 .MAKE: install-am install-strip
386 434
387 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \  
388 - distclean distclean-generic distclean-libtool distdir dvi \  
389 - dvi-am html html-am info info-am install install-am \  
390 - install-data install-data-am install-dvi install-dvi-am \  
391 - install-exec install-exec-am install-html install-html-am \  
392 - install-info install-info-am install-man \  
393 - install-nobase_includeHEADERS install-pdf install-pdf-am \  
394 - install-ps install-ps-am install-strip installcheck \  
395 - installcheck-am installdirs maintainer-clean \  
396 - maintainer-clean-generic mostlyclean mostlyclean-generic \  
397 - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \  
398 - uninstall-nobase_includeHEADERS 435 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  436 + clean-libtool ctags distclean distclean-generic \
  437 + distclean-libtool distclean-tags distdir dvi dvi-am html \
  438 + html-am info info-am install install-am install-data \
  439 + install-data-am install-dvi install-dvi-am install-exec \
  440 + install-exec-am install-html install-html-am install-info \
  441 + install-info-am install-man install-nobase_includeHEADERS \
  442 + install-pdf install-pdf-am install-ps install-ps-am \
  443 + install-strip installcheck installcheck-am installdirs \
  444 + maintainer-clean maintainer-clean-generic mostlyclean \
  445 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  446 + tags uninstall uninstall-am uninstall-nobase_includeHEADERS
399 447
400 448
401 # Tell versions [3.59,3.63) of GNU make to not export all variables. 449 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Please register or login to post a comment