Check-in [387d530657]
Overview
Comment:Added MAKE definition if needed
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 387d5306577c5db7133b50872edba60aadda9c3c
User & Date: rkeene on 2014-05-02 17:07:38.901
Other Links: manifest | tags
Context
2014-05-02
17:12
Added target headers for Windows check-in: 1a9ce97cc9 user: rkeene tags: trunk
17:07
Added MAKE definition if needed check-in: 387d530657 user: rkeene tags: trunk
16:37
Corrected macro check for Tcl Stubs and renamed functions check-in: ff7febee23 user: rkeene tags: trunk
Changes
19
20
21
22
23
24
25

26
27
28
29
30
31
32
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33







+








TCLCONFIGPATH = @TCLCONFIGPATH@
TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
tcllibdir = $(shell if echo "$(libdir)" | grep '^UNSPECIFIED' >/dev/null; then echo $(TCL_PACKAGE_PATH); else echo "$(libdir)"; fi)
PACKAGE_INSTALL_DIR = $(tcllibdir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
TCC_CONFIGURE_OPTS = --extra-cflags='$(CPPFLAGS) $(CFLAGS)' --with-tcl=$(TCLCONFIGPATH) --sysincludepaths='{B}/include' --libpaths='{B}/lib' @TCC_CONFIGURE_OPTS@
srcdir = @srcdir@
@SET_MAKE@

all: $(TARGET)

tcc/config.h:
	if [ "$(srcdir)" = "." ]; then \
		cd tcc && ./configure $(TCC_CONFIGURE_OPTS); \
	else \