Check-in [78d29c05b7]
Overview
Comment:Renamed everything to the name of the package (tcc4tcl)
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 78d29c05b7142e2afeec523da4718c9f390c9f25
User & Date: rkeene on 2014-05-03 20:31:22
Other Links: manifest | tags
Context
2014-05-03
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
2014-05-02
17:36
Updated version to 0.2 check-in: fae85b04ca user: rkeene tags: trunk, 0.2
Changes

Modified Makefile.in from [048e8a608f] to [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

Modified build/makearch.info from [a350b3e41a] to [14f5faeb84].

     1      1   # This is the name of the utility, it will be prefixed to the tarball name
     2      2   UTIL="tcc4tcl"
     3      3   
     4      4   # This is the name of output files that should exist after configure 
     5      5   # procedures.
     6         -BINS="tcltcc.so"
            6  +BINS="tcc4tcl.so"
     7      7   
     8      8   # This lists the name of files that are required to exist
     9      9   REQS="pkgIndex.tcl"
    10     10   
    11     11   # Version of utility, if empty it will be guessed.
    12     12   # If set to "auto" it will be maintained in a file called .version
    13     13   # in the source directory and the revision will be incremented

Modified configure.ac from [8b39413dfe] to [77b6918fa2].

    31     31   fi
    32     32   
    33     33   if test "${TCC4TCL_TARGET}" = "shared"; then
    34     34   	dnl Determine how to make shared objects
    35     35   	DC_GET_SHOBJFLAGS
    36     36   
    37     37   	dnl Only export symbols we wish to expose
    38         -	DC_SETVERSIONSCRIPT([tcltcc.syms], [tcltcc.vers])
    39         -	DC_FIND_STRIP_AND_REMOVESYMS([tcltcc.syms])
           38  +	DC_SETVERSIONSCRIPT([tcc4tcl.syms], [tcc4tcl.vers])
           39  +	DC_FIND_STRIP_AND_REMOVESYMS([tcc4tcl.syms])
    40     40   
    41         -	TARGET="tcltcc.${SHOBJEXT}"
           41  +	TARGET="tcc4tcl.${SHOBJEXT}"
    42     42   else
    43         -	TARGET="tcltcc-static.a"
           43  +	TARGET="tcc4tcl-static.a"
    44     44   fi
    45     45   AC_SUBST(TARGET)
    46     46   AC_SUBST(TCC4TCL_TARGET)
    47     47   
    48     48   dnl Find out if we have the functions needed to open shared objects
    49     49   AC_SEARCH_LIBS(dlopen, dl,, [
    50     50           AC_SEARCH_LIBS(shl_load, dld dl)
................................................................................
    54     54   dnl Look for appropriate headers
    55     55   AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)
    56     56   
    57     57   dnl Perform Tcl Extension required stuff
    58     58   TCLEXT_INIT
    59     59   
    60     60   dnl Produce output
    61         -AC_OUTPUT(Makefile pkgIndex.tcl tcltcc.syms)
           61  +AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)

Modified pkgIndex.tcl.in from [c9a6ef9ff1] to [00c586db9f].

     1         -package ifneeded tcc4tcl @PACKAGE_VERSION@ [list source [file join $dir tcc.tcl]]
            1  +package ifneeded tcc4tcl @PACKAGE_VERSION@ [list source [file join $dir tcc4tcl.tcl]]

Name change from tcltcc.c to tcc4tcl.c.


Name change from tcltcc.syms.in to tcc4tcl.syms.in.


Modified tcc4tcl.tcl from [356b248a0a] to [cf29842e65].

     9      9      variable commands
    10     10   
    11     11      set dir [file dirname [info script]]
    12     12      if {[info command ::tcc4tcl] == ""} {
    13     13         catch { load {} tcc4tcl }
    14     14      }
    15     15      if {[info command ::tcc4tcl] == ""} {
    16         -       load [file join $dir tcltcc[info sharedlibextension]] tcc4tcl
           16  +       load [file join $dir tcc4tcl[info sharedlibextension]] tcc4tcl
    17     17      }
    18     18      set libs $dir/lib
    19     19      set includes $dir/include
    20     20      set count 0
    21     21      set command_count 0
    22     22      array set commands {}
    23     23      proc new {} {