/usr/share/cernlib/config/MacOSX.cf is in cernlib-base-dev 20061220+dfsg3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | XCOMM platform: $SFO: MOSXS.cf,v 1.0 95/11/19 23:21:00 sl Exp $
#define OSVendor Apple Computer, Inc.
#ifdef MacOSXArchitecture
#define OSName MacOSX
#define OSMajorVersion DefaultOSMajorVersion
#define OSMinorVersion DefaultOSMinorVersion
#define OSTeenyVersion 0
#endif
XCOMM #define ProjectRulesFile <MacOSX.rules>
XCOMM #define ProjectTmplFile <MacOSX.tmpl>
#define InstKmemFlags -m 2755 -g kmem
/* #define ConstructMFLAGS NO */
#define HasNdbm YES
#define SetTtyGroup YES
#define HasBsearch YES
#ifdef MacOSXArchitecture
#define HasPutenv YES
#define MathLibrary /**/
#define DBMLibrary /**/
#define TermcapLibrary /**/
#define HasBSD44Sockets YES
#define HAS_SNPRINTF YES
#endif
#define NeedConstPrototypes YES
#define NeedVarargsPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedWidePrototypes NO
#define GzipFontCompression YES
#define CompressAllFonts YES
#ifndef HasShm
# define HasShm YES
#endif
#ifndef BuildGlxExt
# define BuildGlxExt YES
# define GlxUseNSGL YES
#endif
#define BuildServer YES
#define BuildXprint NO
#define BuildFonts YES
#define BuildDPMS NO
#define TenonServer YES
#define XprtServer NO
#define XVendorString "Tenon Intersystems Xtools"
#define XVendorRelease 1000
#ifndef UseRgbTxt
#define UseRgbTxt YES
#endif
#define BuildPexExt NO
#ifndef BuildGLXLibrary
# define BuildGLXLibrary YES
#endif
/* no direct graphics extension */
#define BuildXF86DGA NO
/* no extra tablets and weird input devices */
#define BuildXInputExt NO
/* Build Xinerama (aka panoramiX) extension */
#define BuildXinerama YES
/* no Display Power Management extension */
#define BuildDPMSExt NO
# define BuildXvExt NO
#ifndef OptimizationLevel
# define OptimizationLevel -O
#endif
#define OptimizedCDebugFlags OptimizationLevel -g -pipe
#define ExtraLoadFlags -L/usr/X11R6/lib -L/sw/lib
#define BuildExamples YES
/*#define StandardDefines -DCERNLIB_LINUX -DCERNLIB_PPC -DCERNLIB_MACOSX \
-Dunix=unix -D__powerpc__ -D__DARWIN__ */
#define StandardDefines -DCERNLIB_LINUX -DCERNLIB_MACOSX \
-Dunix=unix -D__DARWIN__
/* -DX_NOT_POSIX -DX_LOCALE */
#define HasVoidSignalReturn YES
#ifndef DependFlags
#define DependFlags -I/usr/include/ansi -I/usr/include/bsd -I/sw/include
#endif
#define StandardIncludes -I/sw/include
#define InstallCmd install /* unlink old */
/* #define ArCmd libtool -a -o */
#define ArCmd ar -r
#ifndef RanlibCmd
#define RanlibCmd ranlib -c -s
#endif
/* see below for ServerDefines */
#define PrimaryScreenResolution 95 /* for 17 inch screen */
#define ServerCDebugFlags OptimizationLevel -g -pipe
/* #define HasGcc YES */
#ifndef HasGcc
#define HasGcc YES
#endif
#undef CcCmd
#undef CplusplusCmd
#ifdef MacOSXArchitecture
#if 0
#define CcCmd cc -arch "ppc" -no-cpp-precomp -ftree-vectorize
#define CplusplusCmd c++ -no-cpp-precomp -ftree-vectorize
#else
#define CcCmd cc -ftree-vectorize
#define CplusplusCmd c++ -ftree-vectorize
#endif
#endif
#ifndef CcCmd
#define CcCmd cc -g
#endif
#define CppCmd /usr/bin/cpp
#include <MacOSX.rules>
#include <xf86.rules>
#undef XFree86Server
/* #define GLX_DIRECT_RENDERING */
#define f2cFortran YES
#define FortranCmd gfortran -g
#define XargsCmd xargs
#define FortranSaveFlags /* -fno-automatic */ /* Everything static !? */
#define OptimisedFortranFlags OptimizationLevel -g -funroll-loops \
-ftree-vectorize
#define DefaultFCOptions -fno-second-underscore OptimizationLevel
#ifndef CernlibLocalDefines
# define CernlibLocalDefines
#endif
#ifdef PpcDarwinArchitecture
#define CernlibSystem -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX \
-DCERNLIB_PPC -DCERNLIB_QMGLIBC \
-DCERNLIB_MACOSX -DCERNLIB_GFORTRAN \
CernlibLocalDefines
#else
#define CernlibSystem -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX \
-DCERNLIB_QMGLIBC \
-DCERNLIB_MACOSX -DCERNLIB_GFORTRAN \
CernlibLocalDefines
#endif
/* #define CERNLIB_SHIFT NO */
#define CERNLIB_LINUX
#define CERNLIB_UNIX
#define CERNLIB_LNX
#ifdef PpcDarwinArchitecture
# define CERNLIB_PPC
#endif
#define CERNLIB_QMGLIBC
#define CERNLIB_MACOSX
#define CERNLIB_GFORTRAN
#define X11Includes -I/usr/X11R6/include
/*
* Create a Make Variable to allow building with/out Motif
*/
#define MotifIncludes -I/sw/include
#undef MotifDependantMakeVar
#define MotifDependantMakeVar(variable,value) @@\
ifneq ($(strip $(HAVE_MOTIF)),) @@\
variable=value @@\
endif @@\
/* End CERNLIB changes */
|