Changeset 0ee865 in git


Ignore:
Timestamp:
Dec 20, 2011, 5:31:59 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6a659c20185f2628f7529db3a7ab7934c9ba8948
Parents:
7c7495aa219ca8147f27848093f468e695d940e5
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-12-20 17:31:59+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:09:33+01:00
Message:
preparation for libparse standalone program

ADD: started to add automake building rules for standalone libparse
FIX: libparse may need libSingular/libfactory and thus needs mmInit etc.
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    r7c7495 r0ee865  
    207207########################### Singular* #########################
    208208
    209 bin_PROGRAMS = Singular Singularg Singulard Singulardg
     209bin_PROGRAMS = Singular Singularg Singulard Singulardg
     210# libparse
     211# libparse_CPPFLAGS = -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER
     212# libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
     213# libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     214 
     215# libparse_SOURCES = libparse.cc
     216# nodist_libparse_SOURCES = libSingular.la
     217 
     218# # libSingular.la -lnumeric
     219# libparse_LDADD = -lkernel -lpolys $(FACTORY_LIBS) -lomalloc -lfindexec $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD}
     220# libparse_LDFLAGS = -static ${AM_LDFLAGS}
     221
    210222
    211223Singular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
  • Singular/libparse.cc

    r7c7495 r0ee865  
    10591059#include <kernel/mod2.h>
    10601060#ifdef STANDALONE_PARSER
    1061   #include "utils.h"
     1061#include <Singular/utils.h>
     1062
     1063# ifdef HAVE_FACTORY
     1064int initializeGMP(){ return 1; } // NEEDED FOR MAIN APP. LINKING!!!
     1065int mmInit(void) {return 1; } // ? due to SINGULAR!!!...???
     1066# endif
     1067
    10621068  #define HAVE_LIBPARSER
    10631069  #define YYLPDEBUG 1
  • Singular/libparse.ll

    r7c7495 r0ee865  
    1111#ifdef STANDALONE_PARSER
    1212  #include <Singular/utils.h>
     13
     14# ifdef HAVE_FACTORY
     15  int initializeGMP(){ return 1; } // NEEDED FOR MAIN APP. LINKING!!!
     16  int mmInit(void) {return 1; } // ? due to SINGULAR!!!...???
     17# endif
     18
    1319  #define HAVE_LIBPARSER
    1420  #define YYLPDEBUG 1
Note: See TracChangeset for help on using the changeset viewer.