Diff

Differences From Artifact [048e8a608f]:

To Artifact [32a25d22a0]:


    39     39   
    40     40   tcc/libtcc.a: tcc/config.h
    41     41   	$(MAKE) -C tcc libtcc.a
    42     42   
    43     43   tcc/libtcc1.a: tcc/config.h
    44     44   	$(MAKE) -C tcc libtcc1.a
    45     45   
    46         -tcltcc.o: $(srcdir)/tcltcc.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h
    47         -	$(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c
           46  +tcc4tcl.o: $(srcdir)/tcc4tcl.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h
           47  +	$(CC) $(CPPFLAGS) $(CFLAGS) -o tcc4tcl.o -c $(srcdir)/tcc4tcl.c
           48  +
           49  +tcc4tcl.@SHOBJEXT@: tcc4tcl.o tcc/libtcc.a
           50  +	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tcc4tcl.@SHOBJEXT@ tcc4tcl.o tcc/libtcc.a $(LIBS)
           51  +	-@WEAKENSYMS@ tcc4tcl.@SHOBJEXT@
           52  +	-@REMOVESYMS@ tcc4tcl.@SHOBJEXT@
    48     53   
    49         -tcltcc.@SHOBJEXT@: tcltcc.o tcc/libtcc.a
    50         -	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tcltcc.@SHOBJEXT@ tcltcc.o tcc/libtcc.a $(LIBS)
    51         -	-@WEAKENSYMS@ tcltcc.@SHOBJEXT@
    52         -	-@REMOVESYMS@ tcltcc.@SHOBJEXT@
           54  +tcc4tcl-static.a: tcc4tcl.o tcc/libtcc.a
           55  +	cp tcc/libtcc.a tcc4tcl-static.new.a
           56  +	$(AR) rcu tcc4tcl-static.new.a tcc4tcl.o
           57  +	-$(RANLIB) tcc4tcl-static.new.a
           58  +	mv tcc4tcl-static.new.a tcc4tcl-static.a
    53     59   
    54         -tcltcc-static.a: tcltcc.o tcc/libtcc.a
    55         -	cp tcc/libtcc.a tcltcc-static.new.a
    56         -	$(AR) rcu tcltcc-static.new.a tcltcc.o
    57         -	-$(RANLIB) tcltcc-static.new.a
    58         -	mv tcltcc-static.new.a tcltcc-static.a
    59         -
    60         -install: $(TARGET) pkgIndex.tcl $(srcdir)/tcc.tcl tcc/libtcc1.a $(shell echo $(srcdir)/tcc/include/*) $(srcdir)/headers.awk
           60  +install: $(TARGET) pkgIndex.tcl $(srcdir)/tcc4tcl.tcl tcc/libtcc1.a $(shell echo $(srcdir)/tcc/include/*) $(srcdir)/headers.awk
    61     61   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    62     62   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    63     63   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    64     64   	$(INSTALL) -m 0755 $(TARGET) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    65     65   	$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    66         -	$(INSTALL) -m 0644 $(srcdir)/tcc.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
           66  +	$(INSTALL) -m 0644 $(srcdir)/tcc4tcl.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    67     67   	$(INSTALL) -m 0644 tcc/libtcc1.a "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    68     68   	$(INSTALL) -m 0644 $(shell echo $(srcdir)/tcc/include/*) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    69     69   	@if ! echo "_WIN32" | $(CPP) $(CPPFLAGS) - | grep '^_WIN32$$' >/dev/null; then \
    70     70   		echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
    71     71   		cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
    72     72   	fi
    73     73   	( for file in tcl.h limits.h unistd.h; do echo "#include <$${file}>"; done ) | \
................................................................................
    78     78   			echo mkdir -p "$$dstdir"; \
    79     79   			mkdir -p "$$dstdir"; \
    80     80   			echo cp "$$src" "$$dst"; \
    81     81   			cp "$$src" "$$dst"; \
    82     82   		done
    83     83   
    84     84   clean:
    85         -	rm -f tcltcc.o
    86         -	rm -f tcltcc.@SHOBJEXT@ tcltcc-static.a
    87         -	rm -f tcltcc.@SHOBJEXT@.a tcltcc.@SHOBJEXT@.def
           85  +	rm -f tcc4tcl.o
           86  +	rm -f tcc4tcl.@SHOBJEXT@ tcc4tcl-static.a
           87  +	rm -f tcc4tcl.@SHOBJEXT@.a tcc4tcl.@SHOBJEXT@.def
    88     88   	-$(MAKE) -C tcc clean
    89     89   
    90     90   distclean: clean
    91     91   	rm -rf autom4te.cache
    92     92   	rm -f config.log config.status
    93         -	rm -f pkgIndex.tcl tcltcc.syms tcltcc.vers
           93  +	rm -f pkgIndex.tcl tcc4tcl.syms tcc4tcl.vers
    94     94   	rm -f Makefile
    95     95   	-$(MAKE) -C tcc distclean
    96     96   
    97     97   mrproper: distclean
    98     98   	rm -rf __TMP__
    99     99   	rm -rf tcc
   100    100   	rm -f configure aclocal.m4
   101    101   	rm -f config.guess config.sub install-sh
   102    102   
   103    103   .PHONY: all install clean distclean mrproper