Changeset b54a36e in git


Ignore:
Timestamp:
Aug 3, 2011, 8:56:41 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
ed82272d0e143c59b60e31b441961e2bbc3f3afd
Parents:
2c52441d528d3c9973ac9373c0325fe522bab68e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 20:56:41+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:24+01:00
Message:
ADD: make should now also build libkernel*...
ADD: 'make check' in kernel/ will try to link against libpolys AND libkernel_g.a
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r2c52441 rb54a36e  
    88endif
    99 
    10 PACKAGES=$(ALLOC) $(USE_FACTORY) libpolys
     10PACKAGES=$(ALLOC) $(USE_FACTORY) libpolys kernel
    1111
    1212SUBDIRS=$(PACKAGES)
    1313
    14 TESTDIRS=libpolys
     14TESTDIRS=libpolys kernel
  • kernel/makefile

    r2c52441 rb54a36e  
    3535## compiler and linker options
    3636##
    37 LIBPOLYS_CFLAGS = `sh ../libpolys/libpolys-config --cflags`
     37LIBPOLYS_CFLAGS = -I.. -I../libpolys
     38LIBPOLYS_LIBS   = -L../factory -L../omalloc -L../libpolys/misc -L../libpolys/reporter -L../libpolys/resources -L../libpolys/coeffs -L../libpolys/polys -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lfactory -lomalloc_g
    3839
    3940PIPE            = -pipe
     
    300301
    301302
     303test.o: test.cc mod2.h libkernel_g.a 
     304        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
     305
     306
    302307# My headers test
    303 # test: test.o
    304 
    305 test.o: test.cc mod2.h
    306         $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} -c $< -o $@
     308check: test.o
     309        $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSG} $< -o test -L. -lkernel_g ${LIBPOLYS_LIBS} -lntl -ldl -lgmp
  • kernel/test.cc

    r2c52441 rb54a36e  
    11#include <omalloc/omalloc.h>
    2 
    32#include <misc/auxiliary.h>
     3
    44#include <misc/intvec.h>
     5#include <misc/int64vec.h>
    56#include <misc/mylimits.h>
    67#include <misc/options.h>
     
    1516#include <coeffs/si_gmp.h>
    1617
    17 #include <polys/clapconv.h>
    18 #include <polys/clapsing.h>
     18/*
    1919#include <polys/kbuckets.h>
    2020#include <polys/matpol.h>
     
    3737#include <polys/nc/summator.h>
    3838
    39 #include <polys/operations/pShallowCopyDelete.h>
     39//WRONG???/// #include <polys/operations/pShallowCopyDelete.h> // TODO!
    4040
    4141#include <polys/templates/p_MemAdd.h>
    4242#include <polys/templates/p_Procs.h>
    4343
     44// #include <polys/clapconv.h> // factory?
     45// #include <polys/clapsing.h>
     46*/
     47
     48
     49#ifdef HAVE_FACTORY
     50int initializeGMP(){ return 1; } // NEEDED FOR MAIN APP. LINKING!!!
     51#endif
     52
     53/*
    4454extern ring currRing;
    45 
    46 //#ifdef HAVE_FACTORY
    47 //int initializeGMP(){ return 1; } // NEEDED FOR MAIN APP. LINKING!!!
    48 //#endif
    49 
    5055
    5156#include <coeffs/numbers.h>
     
    5863
    5964#include "hutil.h"
    60 #include "idrec.h"
     65//#include "idrec.h" // moved to Singular
    6166#include "stairc.h"
    6267#include "ideals.h"
    6368#include "structs.h"
    64 #include "int64vec.h"
    6569#include "syz.h"
    6670#include "fast_maps.h"
     
    9397#include "gfan.h"
    9498
    95 // #include "kutil.h" // ???
    96 
    97 
    98 /* ALL: */
     99#include "kutil.h"
     100
    99101
    100102// #include "CCRing.h" // Too old!
     
    102104#include "digitech.h"
    103105#include "eigenval.h"
    104 // #include "F4.h" // uses tgb_internal
    105 #include "F5cData.h"
     106#include "F4.h" // uses tgb_internal
     107//#include "F5cData.h"
    106108#include "f5c.h"
    107 #include "F5cLists.h"
     109//#include "F5cLists.h"
    108110#include "f5data.h"
    109111#include "f5gb.h"
     
    122124// #include "Ideal.h" // Too old?
    123125#include "ideals.h"
    124 #include "idrec.h"
    125126#include "IIntvec.h"
    126 #include "int64vec.h"
    127127#include "khstd.h"
    128128#include "kmatrix.h"
     
    154154#include "tgbgauss.h"
    155155#include "tgb.h"
    156 // #include "tgb_internal.h" // uses kutil :(
     156#include "tgb_internal.h" // uses kutil :(
    157157#include "timer.h"
    158158#include "units.h"
     
    161161#include "walkSupport.h"
    162162
    163 /* */
    164 
    165 
     163*/
    166164
    167165
    168166// Sources:
    169 
     167/*
    170168#include "febase.cc"
    171169#include "feread.cc"
     
    291289#include "walkProc.cc"
    292290#include "walkSupport.cc"
     291*/
     292
     293
     294
     295int main( int, char *argv[] )
     296{
     297  feInitResources(argv[0]);
     298
     299  StringSetS("ressources in use (as reported by feStringAppendResources(0):\n");
     300  feStringAppendResources(0);
     301  PrintS(StringAppendS("\n"));
     302   
     303  return 0;
     304}
  • standalone.test/test.cc

    r2c52441 rb54a36e  
    166166  PrintLn();
    167167 
     168  return 0;
    168169}
Note: See TracChangeset for help on using the changeset viewer.