Changeset 83f55f in git


Ignore:
Timestamp:
Mar 16, 2011, 3:14:45 PM (12 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
78eba1c65363ae01de639e1d0f3bf47b2089d828
Parents:
f2c9d702b900671c1430c68b61f0cc0c5883a3fe
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-03-16 15:14:45+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:01:06+01:00
Message:
added support for dynamic linking by defining LINKAGE
Location:
libpolys/polys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/Makefile.am

    rf2c9d7 r83f55f  
    3030        kbuckets.h sbuckets.h simpleideals.h
    3131
    32 libp_Procs_FieldGeneral_la_CPPFLAGS = -Dp_Procs_FieldGeneral
    33 libp_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep
    34 libp_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ
    35 libp_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp
     32P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
     33libp_Procs_FieldGeneral_la_CPPFLAGS = -Dp_Procs_FieldGeneral ${P_PROCS_CPPFLAGS_COMMON}
     34libp_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON}
     35libp_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON}
     36libp_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON}
    3637
    3738P_PROCS = templates/p_Procs_Lib.cc
  • libpolys/polys/templates/p_Procs_Dynamic.cc

    rf2c9d7 r83f55f  
    3030#define LINKAGE extern "C"
    3131#define p_Procs_Kernel
    32 #include "p_Procs_Dynamic.inc"
     32#include "p_Procs.inc"
    3333
    3434#include <polys/p_Procs_Dynamic.h>
  • libpolys/polys/templates/p_Procs_Lib.cc

    rf2c9d7 r83f55f  
    99 *  Version: $Id$
    1010 *******************************************************************/
     11
     12#ifdef DYNAMIC_VERSION
     13#define LINKAGE extern "C"
     14#else
     15#define LINKAGE
     16#endif
     17
    1118#include "polys/config.h"
    1219#include <misc/auxiliary.h>
Note: See TracChangeset for help on using the changeset viewer.