Changeset f890c9 in git


Ignore:
Timestamp:
Oct 9, 1997, 3:01:27 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
dbf92f4b21fb5e2527dd8e6e58d284a85b3281b5
Parents:
9e5b1588ec35e6da435f785a95cb21fcf36ac103
Message:
* added target staticbindist


git-svn-id: file:///usr/local/Singular/svn/trunk@788 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    r9e5b15 rf890c9  
    77DISTNAME        = ${PRODUCT}-full-${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}
    88BINDISTNAME     = ${PRODUCT}-${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.@host@
     9STATIC_BINDISTNAME      = ${PRODUCT}-${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.static.@host@
    910SHAREDISTNAME   = ${PRODUCT}-${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}-share
    1011MKINSTALLDIRS   = ./mkinstalldirs
     
    6667                mv mod2.h mod2.h.orig ;\
    6768                sed -f ../sed.bindist.cmd mod2.h.orig > mod2.h ;\
    68                 /bin/rm -f febase.o misc.o;\
     69                /bin/rm -f febase.o misc.o Singular; \
     70                touch *.inc *.o;\
    6971                ${MAKE} Singular ;\
    7072                /bin/rm -f febase.o misc.o;\
     
    7476        strip ${BINDISTNAME}
    7577        gzip -9 ${BINDISTNAME}
     78
     79staticbindist: ${bindir}/Singular-static
     80        rm -rf  ${STATIC_BINDISTNAME}*
     81        if test "${datadir}" != /usr/local/share || \
     82           test "${infodir}" != /usr/local/info; then \
     83                cd Singular ;\
     84                mv mod2.h mod2.h.orig ;\
     85                sed -f ../sed.bindist.cmd mod2.h.orig > mod2.h ;\
     86                /bin/rm -f febase.o misc.o Singular-static; \
     87                touch *.inc *.o;\
     88                ${MAKE} Singular-static ;\
     89                /bin/rm -f febase.o misc.o;\
     90                mv mod2.h.orig mod2.h;\
     91        fi
     92        mv Singular/Singular-static ${STATIC_BINDISTNAME}
     93        strip ${STATIC_BINDISTNAME}
     94        gzip -9 ${STATIC_BINDISTNAME}
    7695
    7796dosdist: Singular/Singular.exe
     
    113132
    114133${bindir}/Singular:
    115         ${MAKE} install
     134        cd Singular; ${MAKE} Singular   
     135
     136${bindir}/Singular-static :
     137        cd Singular; ${MAKE} Singular-static
    116138
    117139Singular/Singular.exe:
Note: See TracChangeset for help on using the changeset viewer.