Compiles and runs under Mac OS X

VS: ----------------------------------------------------------------------


SKIPPED:
	psi/arrobj.c
	psi/pardef.c
	psi/polterwrite.c
	psi/tecs/tecs_cli.c
This commit is contained in:
koennecke
2008-07-23 12:15:06 +00:00
parent d4608d814e
commit af3461c774
11 changed files with 64 additions and 8 deletions

42
makefile_macosx Normal file
View File

@ -0,0 +1,42 @@
#---------------------------------------------------------------------------
# Makefile for SICS
# machine-dependent part for Mac OS X
#
# Mark Koennecke 1996-2001
# Markus Zolliker, March 2003
# Mark Koennecke, July 2008
#==========================================================================
# assign if the National Instrument GPIB driver is available
SINQDIR=/Users/Shared
#NI= -DHAVENI
#NIOBJ= nigpib.o
#NILIB=$(SINQDIR)/sl5/lib/cib.o
include macosx_def
CC = gcc
CFLAGS = -I$(HDFROOT)/include -I/sw/include -DNXXML -DHDF5 -DHDF4 $(NI) -DMACOSX \
-Ipsi/hardsup -I. \
-Werror -DNONINTF -g $(DFORTIFY) \
-Wall -Wno-unused -Wno-comment -Wno-switch
BINTARGET = bin
EXTRA=nintf.o
SUBLIBS = psi/libpsi.a psi/hardsup/libhlib.a matrix/libmatrix.a \
psi/tecs/libtecsl.a
LIBS = -L$(HDFROOT)/lib -L/sw/lib $(SUBLIBS) $(NILIB)\
-ltcl $(HDFROOT)/lib/libhdf5.a -lmfhdf -ldf \
$(HDFROOT)/lib/libsz.a \
$(HDFROOT)/lib/libjson.a -ljpeg \
-ldl -lz -lmxml $(HDFROOT)/lib/libghttp.a -lm -lc
include make_gen