Changeset 023784b in freewrt for tools


Ignore:
Timestamp:
Jun 6, 2007, 2:59:37 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
2d663bf
Parents:
91430b6
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'

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2728 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/cxxtools/Makefile

    r91430b6 r023784b  
    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
  • tools/fwcf/Makefile

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

    r91430b6 r023784b  
    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)
Note: See TracChangeset for help on using the changeset viewer.