Diff

Differences From Artifact [3c24fae9d6]:

To Artifact [c6cbc574e2]:


    61     61   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    62     62   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    63     63   	$(INSTALL) -m 0755 $(TARGET) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    64     64   	$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    65     65   	$(INSTALL) -m 0644 $(srcdir)/tcc.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    66     66   	$(INSTALL) -m 0644 tcc/libtcc1.a "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    67     67   	$(INSTALL) -m 0644 $(shell echo $(srcdir)/tcc/include/*) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
           68  +	@if [ "$(host_os)" = "mingw32msvc" ]; then \
           69  +		echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
           70  +		cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
           71  +	fi
    68     72   	( for file in tcl.h limits.h unistd.h; do echo "#include <$${file}>"; done ) | \
    69         -		$(CC) $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/target-headers/$(host_os)/include -I$(srcdir)/target-headers/$(host_os)/include -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include -E - | awk -f $(srcdir)/headers.awk | while read src dst; do \
           73  +		$(CC) $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include -E - | awk -f $(srcdir)/headers.awk | while read src dst; do \
    70     74   			dst="$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/$$dst"; \
    71     75   			if [ -e "$${dst}" ]; then continue; fi; \
    72     76   			dstdir="$$(dirname "$$dst")"; \
    73     77   			echo mkdir -p "$$dstdir"; \
    74     78   			mkdir -p "$$dstdir"; \
    75     79   			echo cp "$$src" "$$dst"; \
    76     80   			cp "$$src" "$$dst"; \