- Added makefiles for linux
SKIPPED: psi/makefile_linux psi/sinqhmdriv.i psi/sinqhmdriv.w psi/swmotor.c psi/hardsup/makefile_linux psi/tecs/makefile_linux
This commit is contained in:
@ -8,7 +8,9 @@
|
||||
|
||||
OBJ=dummy.o
|
||||
|
||||
libpsi.a: $(OBJ)
|
||||
all: libdummy.a
|
||||
|
||||
libdummy.a: $(OBJ)
|
||||
- rm libdummy.a
|
||||
ar cr libdummy.a $(OBJ)
|
||||
ranlib libdummy.a
|
||||
|
14
dummy/makefile_linux_dummy
Normal file
14
dummy/makefile_linux_dummy
Normal file
@ -0,0 +1,14 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the Dummy specific part of SICS
|
||||
# machine-dependent part for Tru64 Unix
|
||||
#
|
||||
# Mark Koennecke, June 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following line only for fortified version
|
||||
#DFORTIFY=-DFORTIFY
|
||||
#==========================================================================
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g $(DFORTIFY) -I..
|
||||
|
||||
include make_gen
|
@ -26,13 +26,14 @@ FORTIFYOBJ=strdup.o fortify.o
|
||||
MFLAGS= -f makefile_linux
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) -I$(SRC)hardsup \
|
||||
CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) -Ipsi/hardsup -I.y \
|
||||
-fwritable-strings -DCYGNUS -DNONINTF -g $(DFORTIFY)
|
||||
|
||||
BINTARGET = bin
|
||||
HDFROOT=/afs/psi.ch/project/sinq/linux
|
||||
EXTRA=nintf.o
|
||||
SUBLIBS = hardsup/libhlib.a matrix/libmatrix.a tecs/libtecsl.a
|
||||
SUBLIBS = psi/libpsi.a psi/hardsup/libhlib.a matrix/libmatrix.a \
|
||||
psi/tecs/libtecsl.a
|
||||
LIBS = -L$(HDFROOT)/lib $(SUBLIBS) \
|
||||
-ltcl8.3 $(HDFROOT)/lib/libhdf5.a \
|
||||
$(HDFROOT)/lib/libmfhdf.a $(HDFROOT)/lib/libdf.a \
|
||||
|
37
makefile_linux_dummy
Normal file
37
makefile_linux_dummy
Normal file
@ -0,0 +1,37 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for SICS
|
||||
# machine-dependent part for Tru64 Unix
|
||||
#
|
||||
# Mark Koennecke 1996-2001
|
||||
# Markus Zolliker, March 2003
|
||||
#==========================================================================
|
||||
# the following lines only for fortified version
|
||||
#DFORTIFY=-DFORTIFY
|
||||
#FORTIFYOBJ=strdup.o fortify.o
|
||||
#==========================================================================
|
||||
# assign if the National Instrument GPIB driver is available
|
||||
#NI= -DHAVENI
|
||||
#NIOBJ= nigpib.o
|
||||
#NILIB=-lgpibenet
|
||||
#----------------select proper Makefile
|
||||
MFLAGS= -f makefile_linux_dummy
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -I$(HDFROOT)/include -DHDF4 -DHDF5 $(NI) -I. \
|
||||
-fwritable-strings -DCYGNUS -DNONINTF -g $(DFORTIFY)
|
||||
|
||||
BINTARGET = bin
|
||||
HDFROOT=/afs/psi.ch/project/sinq/linux
|
||||
EXTRA=nintf.o
|
||||
SUBLIBS = dummy/libdummy.a matrix/libmatrix.a
|
||||
LIBS = -L$(HDFROOT)/lib $(SUBLIBS) \
|
||||
-ltcl8.3 $(HDFROOT)/lib/libhdf5.a \
|
||||
$(HDFROOT)/lib/libmfhdf.a $(HDFROOT)/lib/libdf.a \
|
||||
$(HDFROOT)/lib/libjpeg.a -lz -lm -ll -lc
|
||||
|
||||
|
||||
include make_gen_dummy
|
||||
|
||||
|
||||
|
||||
|
15
matrix/makefile_linux_dummy
Normal file
15
matrix/makefile_linux_dummy
Normal file
@ -0,0 +1,15 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the Matrix library
|
||||
# machine-dependent part for Redhat Linux with AFS at PSI
|
||||
#
|
||||
# Mark Koennecke, November 1996
|
||||
# Markus Zolliker, March 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following line only for fortified version
|
||||
DFORTIFY=-DFORTIFY
|
||||
#==========================================================================
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g $(DFORTIFY)
|
||||
|
||||
include $(SRC)make_gen
|
Reference in New Issue
Block a user