Check-in [dcdeaec8b9]
Overview
Comment:Added standard C header files
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dcdeaec8b9e5b3a11a61f9ef6a55465ddb758d45
User & Date: rkeene on 2014-05-03 20:37:59
Other Links: manifest | tags
Context
2014-05-03
20:38
Updated ignores to match rename check-in: 3f97094b5f user: rkeene tags: trunk
20:37
Added standard C header files check-in: dcdeaec8b9 user: rkeene tags: trunk
20:31
Renamed everything to the name of the package (tcc4tcl) check-in: 78d29c05b7 user: rkeene tags: trunk
Changes

Modified Makefile.in from [32a25d22a0] to [ed723b7cb2].

    19     19   PACKAGE_VERSION = @PACKAGE_VERSION@
    20     20   
    21     21   TCLCONFIGPATH = @TCLCONFIGPATH@
    22     22   TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
    23     23   tcllibdir = $(shell if echo "$(libdir)" | grep '^UNSPECIFIED' >/dev/null; then echo $(TCL_PACKAGE_PATH); else echo "$(libdir)"; fi)
    24     24   PACKAGE_INSTALL_DIR = $(tcllibdir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
    25     25   TCC_CONFIGURE_OPTS = --extra-cflags='$(CPPFLAGS) $(CFLAGS)' --with-tcl=$(TCLCONFIGPATH) --sysincludepaths='{B}/include' --libpaths='{B}/lib' @TCC_CONFIGURE_OPTS@
           26  +INSTALL_HEADERS = tcl.h assert.h ctype.h errno.h float.h limits.h locale.h math.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h time.h wctype.h
    26     27   srcdir = @srcdir@
    27     28   host_os = @host_os@
    28     29   @SET_MAKE@
    29     30   
    30     31   all: $(TARGET)
    31     32   
    32     33   tcc/config.h:
................................................................................
    66     67   	$(INSTALL) -m 0644 $(srcdir)/tcc4tcl.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    67     68   	$(INSTALL) -m 0644 tcc/libtcc1.a "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    68     69   	$(INSTALL) -m 0644 $(shell echo $(srcdir)/tcc/include/*) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    69     70   	@if ! echo "_WIN32" | $(CPP) $(CPPFLAGS) - | grep '^_WIN32$$' >/dev/null; then \
    70     71   		echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
    71     72   		cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
    72     73   	fi
    73         -	( for file in tcl.h limits.h unistd.h; do echo "#include <$${file}>"; done ) | \
           74  +	( for file in $(INSTALL_HEADERS); do echo "#include <$${file}>"; done ) | \
    74     75   		$(CPP) $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include - | awk -f $(srcdir)/headers.awk | while read src dst; do \
    75     76   			dst="$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/$$dst"; \
    76     77   			if [ -e "$${dst}" ]; then continue; fi; \
    77     78   			dstdir="$$(dirname "$$dst")"; \
    78     79   			echo mkdir -p "$$dstdir"; \
    79     80   			mkdir -p "$$dstdir"; \
    80     81   			echo cp "$$src" "$$dst"; \