(file) Return to suflag.txt CVS log (file) (dir) Up to [Development] / JSOC

File: [Development] / JSOC / Attic / suflag.txt (download)
Revision: 1.2, Tue Oct 13 18:22:37 2009 UTC (13 years, 7 months ago) by arta
Branch: MAIN
CVS Tags: Ver_5-6
Changes since 1.1: +70 -1 lines
Add support for ia64 machines, and specific machines (j1, d02, database servers, cluster machines, dcs) to the make/build

# This file identifies that this CVS working directory contains Stanford-specific project configuration and make files.
# It also contains Stanford-specific DEFAULT configuration. To override this, use config.local.

# Stanford third-party libraries
    POSTGRES_LIB = pq
    CFITSIO_LIB = cfitsio

    ifeq ($(JSOC_MACHINE), linux_x86_64)
      POSTGRES_INCS = /usr/include
      POSTGRES_LIBS = /usr/lib64
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif

    ifeq ($(JSOC_MACHINE), linux_ia32)
      POSTGRES_INCS = /usr/include
      POSTGRES_LIBS = /usr/lib
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-ia32
    endif

    ifeq ($(JSOC_MACHINE), linux_ia64)
      POSTGRES_INCS = /usr/include/pgsql
      POSTGRES_LIBS = /usr/lib
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif

# Try to specialize for non-default machines
    ifeq ($(MACHTYPE), j1)
      POSTGRES_INCS = /usr/include/pgsql
      POSTGRES_LIBS = /usr/lib64
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif

    ifeq ($(MACHTYPE), d02)
      POSTGRES_INCS = /usr/include/pgsql
      POSTGRES_LIBS = /usr/lib
      CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__
      CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__
   endif

    ifeq ($(MACHTYPE), dbserver)
      POSTGRES_INCS = /usr/local/pgsql/include
      POSTGRES_LIBS = /usr/lib64
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif

    ifeq ($(MACHTYPE), cluster)
      POSTGRES_INCS = __POSTGRES_DEVELOP_NOT_INSTALLED__
      POSTGRES_LIBS = /usr/lib64
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif

    ifeq ($(MACHTYPE), dcs)
      POSTGRES_INCS = /usr/include/pgsql
      POSTGRES_LIBS = /usr/lib64
      CFITSIO_INCS = /home/jsoc/include
      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
    endif
# Set custom make file to tell the make system that the gcc cfitsio library is called
# libcfitsio_gcc.a
    ifeq ($(COMPILER), gcc)
      ifeq ($(JSOC_MACHINE), linux_x86_64)
        CFITSIO_LIB = cfitsio_gcc
      endif
    endif

Karen Tian
Powered by
ViewCVS 0.9.4