Changeset 4b72f6 in git for Singular/Makefile.in


Ignore:
Timestamp:
Nov 24, 1999, 7:50:43 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
6171f8981338ed758a299513c58c53a874f984ed
Parents:
5d32fdb9ecb9fff4978a30bd8fb80b5e9fcdb7b0
Message:
insatllation proocedure


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

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.in

    r5d32fd r4b72f6  
    2626includedir      = @includedir@
    2727slibdir         = ${prefix}/LIB
    28 
     28install_bindir  = ${install_prefix}/${SINGUNAME}
     29install_slibdir = ${install_prefix}/LIB
    2930
    3031##
     
    3839BISON           = bison
    3940INSTALL         = ./install-sh -c
    40 INSTALL_PROGRAM = ${INSTALL}
     41INSTALL_PROGRAM = ${INSTALL} 
    4142INSTALL_DATA    = ${INSTALL} -m 644
    4243MKINSTALLDIRS   = ./mkinstalldirs
     
    138139ASO_OBJS := $(ASO_SOURCES:.aso.cc=.aso)
    139140
     141#
    140142# Singular libraries which go into distribution
     143# MAKE SURE THAT THIS IS UP_TO_DATE
     144#
    141145SLIBS = algebra.lib        all.lib            classify.lib       deform.lib  \
    142146        elim.lib           factor.lib         finvar.lib         general.lib \
     
    147151        primitiv.lib       random.lib         ring.lib           sing.lib    \
    148152        solve.lib          solver.lib         spcurve.lib        standard.lib\
    149         surf.lib           template.lib
     153        surf.lib           triang.lib         template.lib
     154
     155SLIBS_FILES = $(addprefix LIB/,${SLIBS})
     156
     157GFTABLES = $(wildcard LIB/gftables/[1-9]*)
    150158
    151159##
     
    242250        ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${LIBS}
    243251
     252ESingular-static: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \
     253           feOptES.inc
     254        ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${STATIC_LDFLAGS} ${LIBS}
     255
    244256feOpt.h: feOpt.inc feOptES.inc
    245257
     
    338350        echo "#define MAKE_DISTRIBUTION " > distrib.h
    339351        ${MAKE} Singular ESingular
    340         strip Singular ESingular
    341         ${INSTALL} -s Singular Singular-bindist
    342         ${INSTALL} -s ESingular ESingular-bindist
     352        ${INSTALL_PROGRAM} -s Singular Singular-bindist
     353        ${INSTALL_PROGRAM} -s ESingular ESingular-bindist
    343354        echo "#undef MAKE_DISTRIBUTION " > distrib.h
    344355
    345356Singular-static-bindist: ${OBJS} Makefile
    346357        echo "#define MAKE_DISTRIBUTION " > distrib.h
    347         ${MAKE} Singular-static ESingular
    348         strip Singular-static ESingular
    349         mv Singular-static Singular-static-bindist
    350         ${INSTALL} -s ESingular ESingular-bindist
     358        ${MAKE} Singular-static ESingular-static
     359        ${INSTALL_PROGRAM} -s Singular-static Singular-static-bindist
     360        ${INSTALL_PROGRAM} -s ESingular-static ESingular-static-bindist
    351361        echo "#undef MAKE_DISTRIBUTION " > distrib.h
     362
     363install-bindist: Singular-bindist ESingular-bindist libparse
     364        ${MKINSTALLDIRS} ${install_bindir}
     365        ${INSTALL_PROGRAM} Singular-bindist ${install_bindir}/Singular
     366        ${INSTALL_PROGRAM} ESingular-bindist ${install_bindir}/ESingular
     367        ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse
     368
     369install-static-bindist: Singular-static-bindist ESingular-static-bindist libparse
     370        ${MKINSTALLDIRS} ${install_bindir}
     371        ${INSTALL_PROGRAM} Singular-static-bindist ${install_bindir}/Singular
     372        ${INSTALL_PROGRAM} ESingular-static-bindist ${install_bindir}/ESingular
     373        ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse
     374
     375install-sharedist: ${SLIBS_FILES} LIB/gftables
     376        ${MKINSTALLDIRS} ${install_slibdir}
     377        cp ${SLIBS_FILES} ${install_slibdir}
     378        ${MKINSTALLDIRS} ${install_slibdir}/gftables
     379        cp ${GFTABLES} ${install_slibdir}/gftables
     380        chmod -R +rX ${install_slibdir}/*
    352381
    353382tar:
     
    532561        ${LD_DYN_FLAGS} gmalloc.ot
    533562
    534 iparith.ot: iparith.inc iparith.cc
     563iparith.ot: iparith.ic iparith.cc
    535564        $(CXXP)  ${CXXFLAGST} ${CXXTEMPLFLAGSB} ${CPPFLAGS} ${DEFST} -c iparith.cc -o iparith.ot
    536565
Note: See TracChangeset for help on using the changeset viewer.