Overview
Comment: | Updated to only expose public symbols |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5adbc973d7a1451c2b5dd959781e3e5d |
User & Date: | rkeene on 2014-05-02 04:00:04 |
Other Links: | manifest | tags |
Context
2014-05-02
| ||
04:00 | Added public symbols list check-in: 265940cce3 user: rkeene tags: trunk | |
04:00 | Updated to only expose public symbols check-in: 5adbc973d7 user: rkeene tags: trunk | |
03:46 | Updated to install additional files check-in: 36efa528f3 user: rkeene tags: trunk | |
Changes
Modified .fossil-settings/ignore-glob from [41d740e8ec] to [2cf6ddabba].
︙ | ︙ | |||
12 13 14 15 16 17 18 | pkgIndex.tcl tcc/* work/* tcltcc.o tcltcc-static.a tcltcc.so tcltcc.sl | > > | 12 13 14 15 16 17 18 19 20 | pkgIndex.tcl tcc/* work/* tcltcc.o tcltcc-static.a tcltcc.so tcltcc.sl tcltcc.syms tcltcc.vers |
Modified Makefile.in from [152ca49ad5] to [67523e2b58].
︙ | ︙ | |||
9 10 11 12 13 14 15 | INSTALL = @INSTALL@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ TCLCONFIGPATH = @TCLCONFIGPATH@ PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) TARGETS = @TARGETS@ | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | INSTALL = @INSTALL@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ TCLCONFIGPATH = @TCLCONFIGPATH@ PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION) TARGETS = @TARGETS@ TCC_CONFIGURE_OPTS = --extra-cflags='$(CPPFLAGS) $(CFLAGS)' --with-tcl=$(TCLCONFIGPATH) srcdir = @srcdir@ all: $(TARGETS) tcc/config.h: if [ "$(srcdir)" = "." ]; then \ cd tcc && ./configure $(TCC_CONFIGURE_OPTS); \ |
︙ | ︙ | |||
33 34 35 36 37 38 39 40 41 42 43 44 45 46 | $(MAKE) -C tcc libtcc1.a tcltcc.o: $(srcdir)/tcltcc.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h $(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c tcltcc.@SHOBJEXT@: tcltcc.o tcc/libtcc.a $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tcltcc.@SHOBJEXT@ tcltcc.o tcc/libtcc.a $(LIBS) tcltcc-static.a: tcltcc.o tcc/libtcc.a cp tcc/libtcc.a tcltcc-static.new.a $(AR) rcu tcltcc-static.new.a tcltcc.o -$(RANLIB) tcltcc-static.new.a mv tcltcc-static.new.a tcltcc-static.a | > > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | $(MAKE) -C tcc libtcc1.a tcltcc.o: $(srcdir)/tcltcc.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h $(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c tcltcc.@SHOBJEXT@: tcltcc.o tcc/libtcc.a $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tcltcc.@SHOBJEXT@ tcltcc.o tcc/libtcc.a $(LIBS) -@WEAKENSYMS@ tcltcc.@SHOBJEXT@ -@REMOVESYMS@ tcltcc.@SHOBJEXT@ tcltcc-static.a: tcltcc.o tcc/libtcc.a cp tcc/libtcc.a tcltcc-static.new.a $(AR) rcu tcltcc-static.new.a tcltcc.o -$(RANLIB) tcltcc-static.new.a mv tcltcc-static.new.a tcltcc-static.a |
︙ | ︙ | |||
59 60 61 62 63 64 65 | rm -f tcltcc.@SHOBJEXT@ tcltcc-static.a rm -f tcltcc.@SHOBJEXT@.a tcltcc.@SHOBJEXT@.def -$(MAKE) -C tcc clean distclean: clean rm -rf autom4te.cache rm -f config.log config.status | | | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | rm -f tcltcc.@SHOBJEXT@ tcltcc-static.a rm -f tcltcc.@SHOBJEXT@.a tcltcc.@SHOBJEXT@.def -$(MAKE) -C tcc clean distclean: clean rm -rf autom4te.cache rm -f config.log config.status rm -f pkgIndex.tcl tcltcc.syms tcltcc.vers rm -f Makefile -$(MAKE) -C tcc distclean mrproper: distclean rm -rf __TMP__ rm -rf tcc rm -f configure aclocal.m4 rm -f config.guess config.sub install-sh .PHONY: all install clean distclean mrproper |
Modified configure.ac from [7c8c9edb2e] to [f0cb7ec28f].
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | target=shared ]) if test "${target}" = "shared"; then dnl Determine how to make shared objects DC_GET_SHOBJFLAGS TARGETS="tcltcc.${SHOBJEXT}" else TARGETS="tcltcc-static.a" fi AC_SUBST(TARGETS) dnl Find out if we have the functions needed to open shared objects AC_SEARCH_LIBS(dlopen, dl,, [ AC_SEARCH_LIBS(shl_load, dld dl) ]) AC_CHECK_FUNCS(dlopen shl_load) dnl Look for appropriate headers AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h) dnl Perform Tcl Extension required stuff TCLEXT_INIT dnl Produce output | > > > > | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | target=shared ]) if test "${target}" = "shared"; then dnl Determine how to make shared objects DC_GET_SHOBJFLAGS dnl Only export symbols we wish to expose DC_SETVERSIONSCRIPT([tcltcc.syms], [tcltcc.vers]) DC_FIND_STRIP_AND_REMOVESYMS([tcltcc.syms]) TARGETS="tcltcc.${SHOBJEXT}" else TARGETS="tcltcc-static.a" fi AC_SUBST(TARGETS) dnl Find out if we have the functions needed to open shared objects AC_SEARCH_LIBS(dlopen, dl,, [ AC_SEARCH_LIBS(shl_load, dld dl) ]) AC_CHECK_FUNCS(dlopen shl_load) dnl Look for appropriate headers AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h) dnl Perform Tcl Extension required stuff TCLEXT_INIT dnl Produce output AC_OUTPUT(Makefile pkgIndex.tcl tcltcc.syms) |