Changeset 2728

Show
Ignore:
Timestamp:
06/06/07 14:59:37 (1 year ago)
Author:
tg
Message:

tools that are both host and target tools get a Makefile.inc
this way, tommi will never forget to upgrade both again ☺also, switch cxxtools and tntnet to shared, because they use dlopen
I get this on mirbsd now:
/home/.data/tg/svn/trunk/freewrt/cross_mipsel/host/bin/tntnet:./hellow.so: undefined symbol '_ZN3tnt9Component6endTagERNS_11HttpRequestERNS_9HttpReplyERN8cxxtools11QueryParamsE'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/cxxtools/Makefile

    r2678 r2728  
    66 
    77include ${TOPDIR}/rules.mk 
    8  
    9 PKG_NAME:=              cxxtools 
    10 PKG_VERSION:=           1.4.4 
    11 PKG_RELEASE:=           2 
    12 PKG_MD5SUM:=            a6d63362b90c4db79d1bd67158cbb72d 
    13 MASTER_SITES:=          http://www.tntnet.org/download/ 
    14  
     8include Makefile.inc 
    159include ${TOPDIR}/mk/package.mk 
    1610 
  • trunk/freewrt/package/tntnet/Makefile

    r2678 r2728  
    66 
    77include ${TOPDIR}/rules.mk 
    8  
    9 PKG_NAME:=              tntnet 
    10 PKG_VERSION:=           1.6.0 
    11 PKG_RELEASE:=           2 
    12 PKG_MD5SUM:=            7ab631459e7775ef6cf4737614406cbb 
    13  
    14 MASTER_SITES:=          http://www.tntnet.org/download/ 
    15  
     8include Makefile.inc 
    169include ${TOPDIR}/mk/package.mk 
    1710 
  • trunk/freewrt/tools/cxxtools/Makefile

    r2725 r2728  
    55# or at http://www.freewrt.org/licence for details. 
    66 
    7 PKG_NAME:=              cxxtools 
    8 PKG_VERSION:=           1.4.3.6 
    9 PKG_RELEASE:=           2 
    10 PKG_MD5SUM:=            83ab81e0d5f937f0d87ba72a4aa51e11 
    11 MASTER_SITES:=          http://www.tntnet.org/download/ 
    12  
    137include $(TOPDIR)/rules.mk 
     8include ${TOPDIR}/package/cxxtools/Makefile.inc 
    149include ../rules.mk 
    1510 
    1611$(WRKBUILD)/.configured: ${WRKBUILD}/.prepared 
    17         @mkdir -p $(STAGING_TOOLS)/bin $(STAGING_TOOLS)/lib $(STAGING_TOOLS)/include 
     12        mkdir -p $(STAGING_TOOLS)/bin $(STAGING_TOOLS)/lib $(STAGING_TOOLS)/include 
    1813        cd $(WRKBUILD); rm -rf config.cache; ${MBSH} configure \ 
    1914                --disable-nls \ 
     
    2116                --disable-dependency-tracking \ 
    2217                --disable-libtool-lock \ 
    23                 --enable-static \ 
    24                 --disable-shared 
     18                --disable-static \ 
     19                --enable-rpath \ 
     20                --enable-shared 
    2521        touch $@ 
    2622 
  • trunk/freewrt/tools/fwcf/Makefile

    r2678 r2728  
    88include ${TOPDIR}/package/fwcf/Makefile.inc 
    99include ../rules.mk 
    10 #include ${TOPDIR}/mk/fetch.mk 
    1110 
    1211EXTRA_SRCS= 
  • trunk/freewrt/tools/tntnet/Makefile

    r2724 r2728  
    55# or at http://www.freewrt.org/licence for details. 
    66 
    7 PKG_NAME:=              tntnet 
    8 PKG_VERSION:=           1.5.3.6 
    9 PKG_RELEASE:=           3 
    10 PKG_MD5SUM:=            2108da4e68b22b2e6260c21964cee685 
    11 MASTER_SITES:=          http://www.tntnet.org/download/ 
    12  
    137include $(TOPDIR)/rules.mk 
     8include ${TOPDIR}/package/tntnet/Makefile.inc 
    149include ../rules.mk 
    1510 
    1611$(WRKBUILD)/.configured: ${WRKBUILD}/.prepared 
    17         @mkdir -p $(STAGING_TOOLS)/bin 
     12        mkdir -p $(STAGING_TOOLS)/bin 
    1813        cd $(WRKBUILD); rm -rf config.cache; \ 
    19             PATH=$(STAGING_TOOLS)/bin:$$PATH \ 
    20             LDFLAGS="-L$(STAGING_TOOLS)/lib" \ 
    21             CPPFLAGS="-I$(STAGING_TOOLS)/include" \ 
     14            env \ 
     15                PATH=$(STAGING_TOOLS)/bin:$$PATH \ 
     16                LDFLAGS='${HOSTLDFLAGS} -L$(STAGING_TOOLS)/lib' \ 
     17                CPPFLAGS='${HOSTCPPFLAGS} -I$(STAGING_TOOLS)/include' \ 
    2218            ${MBSH} configure \ 
    2319                --with-cgi=no \ 
     
    2925                --disable-dependency-tracking \ 
    3026                --disable-libtool-lock \ 
    31                 --enable-static \ 
    32                 --disable-shared 
     27                --disable-static \ 
     28                --enable-rpath \ 
     29                --enable-shared 
    3330        touch $@ 
    3431 
     
    4542compile: $(WRKBUILD)/sdk/tools/ecppc/ecppc $(STAGING_TOOLS)/bin/ecppc 
    4643install: $(STAGING_TOOLS)/bin/ecppc 
    47 clean:  
     44clean: 
    4845        rm -rf $(WRKBUILD)