[BACK]Return to makeconf.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

File: [local] / OpenXM / src / kan96xx / Kan / makeconf.c (download)

Revision 1.2, Thu Oct 24 05:53:37 2002 UTC (21 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.1: +3 -1 lines

Fixed a bug to generate Makefile on Solaris.

/* $OpenXM: OpenXM/src/kan96xx/Kan/makeconf.c,v 1.2 2002/10/24 05:53:37 takayama Exp $ */
#include <stdio.h>
main() {
#if defined(__CYGWIN__)
  printf("s/@@@LIBGMP@@@/$(OpenXM_HOME)\\/lib\\/libgmp.a/\n");
#elif defined(sun)
  printf("s/@@@LIBGMP@@@/$(OpenXM_HOME)\\/lib\\/libgmp.so -L $(OpenXM_HOME)\\/lib/\n");
#else
  printf("s/@@@LIBGMP@@@/$(OpenXM_HOME)\\/lib\\/libgmp.so -Wl,--rpath -Wl,$(OpenXM_HOME)\\/lib/\n");
#endif
}