Different makefiles for different machines M.Z.
This commit is contained in:
28
hardsup/make_gen
Normal file
28
hardsup/make_gen
Normal file
@@ -0,0 +1,28 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the SINQ hardware support library
|
||||
# included by a machine specific makefile
|
||||
#
|
||||
# Mark Koennecke, November 1996
|
||||
# Markus Zolliker, March 2003
|
||||
#--------------------------------------------------------------------------
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
OBJ= el734_utility.o asynsrv_utility.o stredit.o \
|
||||
strjoin.o failinet.o geterrno.o el737_utility.o sinqhm.o serialsinq.o \
|
||||
itc4util.o dillutil.o table.o el755_utility.o el755_errorlog.o \
|
||||
makeprint.o StrMatch.o
|
||||
|
||||
libhlib.a: $(OBJ)
|
||||
rm -f libhlib.a
|
||||
ar cr libhlib.a $(OBJ)
|
||||
ranlib libhlib.a
|
||||
|
||||
clean:
|
||||
rm -f *.o *.a
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
15
hardsup/makefile_alpha
Normal file
15
hardsup/makefile_alpha
Normal file
@@ -0,0 +1,15 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the SINQ hardware support library
|
||||
# machine-dependent part for Tru64 Unix
|
||||
#
|
||||
# Mark Koennecke, November 1996
|
||||
# Markus Zolliker, March 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following line only for fortified version
|
||||
DFORTIFY=-DFORTIFY
|
||||
#==========================================================================
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -std1 -g $(DFORTIFY) -I$(SRC).. -I$(SRC).
|
||||
|
||||
include make_gen
|
||||
15
hardsup/makefile_linux
Normal file
15
hardsup/makefile_linux
Normal file
@@ -0,0 +1,15 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the SINQ hardware support 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 -DLINUX $(DFORTIFY) -I$(SRC). -I$(SRC).. -I../src
|
||||
|
||||
include $(SRC)make_gen
|
||||
Reference in New Issue
Block a user