Commit d2a5a4df authored by dnt's avatar dnt

[project @ 1996-11-28 11:07:07 by dnt]

Converted to new build system
parent 670df964
#define IHaveSubdirs
SUBDIRS = cfd \
dcbm \
linsolv \
par001 \
pfib \
ray \
prsa \
soda \
coins \
minimax \
parfact \
bom \
NESL
TOP = ../..
SUBDIRS = cfd dcbm linsolv par001 pfib ray prsa soda soda7 coins minimax \
parfact bom NESL
include $(TOP)/nofib/mk/nofib.mk
TOP = ../../..
PROG = NESL
include $(TOP)/nofib/mk/nofib.mk
TOP = ../../..
PROG = bom
include $(TOP)/nofib/mk/nofib.mk
module Defs where
import S_Array
import {-fool mkdependHS; ToDo: rm-}
Parallel
import Parallel
type Frac_type = Float
......
SRCS_HS = Main.hs Defs.hs Quad_def.hs S_Array.hs TG_iter.hs Gen_net.hs \
Data8.hs Norm.hs Jcb_method.hs Chl_method_q.hs S_matrix.hs C_matrix.hs \
L_matrix.hs
OBJS_O = Main.o Defs.o Quad_def.o S_Array.o TG_iter.o Gen_net.o \
Data8.o Norm.o Jcb_method.o Chl_method_q.o S_matrix.o C_matrix.o \
L_matrix.o
NoFibMultiModuleCompileAndRun(cfd, -o1 cfd.stdout)
NoFibHaskellCompile(cfd,Main,hs)
NoFibHaskellCompile(cfd,Defs,hs)
NoFibHaskellCompile(cfd,Quad_def,hs)
NoFibHaskellCompile(cfd,S_Array,hs)
NoFibHaskellCompile(cfd,TG_iter,hs)
NoFibHaskellCompile(cfd,Gen_net,hs)
NoFibHaskellCompile(cfd,Data8,hs)
NoFibHaskellCompile(cfd,Norm,hs)
NoFibHaskellCompile(cfd,Jcb_method,hs)
NoFibHaskellCompile(cfd,Chl_method_q,hs)
NoFibHaskellCompile(cfd,S_matrix,hs)
NoFibHaskellCompile(cfd,C_matrix,hs)
NoFibHaskellCompile(cfd,L_matrix,hs)
HaskellDependTarget( $(SRCS_HS) )
TOP = ../../..
PROG = cfd
SRCS = Norm.hs S_Array.hs Defs.hs Quad_def.hs L_matrix.hs C_matrix.hs \
S_matrix.hs Jcb_method.hs Chl_method_q.hs TG_iter.hs Gen_net.hs \
Data8.hs Main.hs
include $(TOP)/nofib/mk/nofib.mk
......@@ -19,8 +19,7 @@ import List(partition)--1.3
import Ix--1.3
import Norm
import {-fool mkdependHS; ToDo: rm-}
Parallel
import Parallel
infixl 9 !^
......
TOP = ../../..
PROG = coins
EXTRA_HCFLAGS = -cpp
SRCS = ParForce.hs coins.hs
include $(TOP)/nofib/mk/nofib.mk
SRCS_HS = Main.hs DCBM.hs DbParallel.hs Delay.hs Fwif.hs Types.hs
OBJS_O = Main.o DCBM.o DbParallel.o Delay.o Fwif.o Types.o \
Primitives.o
NoFibMultiModuleCompileAndRun(dcbm,)
NoFibHaskellCompile(dcbm,Main,hs)
NoFibHaskellCompile(dcbm,DCBM,hs)
NoFibHaskellCompile(dcbm,DbParallel,hs)
NoFibHaskellCompile(dcbm,Delay,hs)
NoFibHaskellCompile(dcbm,Fwif,hs)
NoFibHaskellCompile(dcbm,Types,hs)
Primitives.o : Primitives.hc
$(RM) Primitives.o
$(HC) -c $(HCFLAGS) Primitives.hc
Primitives.hc : Primitives.lhc
$(RM) Primitives.hc
lit2pgm Primitives.lhc
Primitives.hi : Primitives.lhi
$(RM) Primitives.hi
lit2pgm -o Primitives.hi Primitives.lhi
HaskellDependTarget( $(SRCS_HS) )
TOP = ../../..
PROG = dcbm
EXTRA_HCFLAGS = -cpp
SRCS = Types.hs Delay.hs DbParallel.hs Fwif.hs Primitives.hc DCBM.hs Main.hs
include $(TOP)/nofib/mk/nofib.mk
Primitives.hc : Primitives.lhc
$(RM) Primitives.hc
lit2pgm Primitives.lhc
Primitives.hi : Primitives.lhi
$(RM) Primitives.hi
lit2pgm -o Primitives.hi Primitives.lhi
interface Primitives where
import Types(BOOL)
eq :: a -> a -> Bool
boolval :: Bool -> BOOL
SRCS_HS = Main.hs CRA.hs LinSolv-par.hs Matrix-list.hs ModArithm.hs ParForce.hs
OBJS_O = Main.o CRA.o LinSolv-par.o Matrix-list.o ModArithm.o ParForce.o
NoFibMultiModuleCompileAndRun(linsolv, -o1 linsolv.stdout)
NoFibHaskellCompile(linsolv,Main,hs)
NoFibHaskellCompile(linsolv,CRA,hs)
NoFibHaskellCompile(linsolv,LinSolv-par,hs)
NoFibHaskellCompile(linsolv,Matrix-list,hs)
NoFibHaskellCompile(linsolv,ModArithm,hs)
NoFibHaskellCompile(linsolv,ParForce,hs)
NoFibDependTarget(linsolv, $(SRCS_HS))
TOP = ../../..
PROG = linsolv
EXTRA_HCFLAGS = -cpp
SRCS = ModArithm.hs ParForce.hs Matrix-list.hs CRA.hs LinSolv-par.hs Main.hs
include $(TOP)/nofib/mk/nofib.mk
TOP = ../../..
PROG = minimax
include $(TOP)/nofib/mk/nofib.mk
/* see comments in Main.hs */
NoFibOneModuleCompileAndRun(par001, 84000 -o1 par001.stdout)
TOP = ../../..
PROG = par001
EXTRA_RUNTESTFLAGS = 8400
include $(TOP)/nofib/mk/nofib.mk
TOP = ../../..
PROG = parfact
include $(TOP)/nofib/mk/nofib.mk
NoFibOneModuleCompileAndRun(pfib,)
TOP = ../../..
PROG = pfib
include $(TOP)/nofib/mk/nofib.mk
SRCS_HS = Main.hs Rsa.hs
OBJS_O = Main.o Rsa.o
NoFibMultiModuleCompileAndRun(prsa,-o1 prsa.stdout)
NoFibHaskellCompile(prsa,Main,hs)
NoFibHaskellCompile(prsa,Rsa,hs)
NoFibDependTarget(prsa, $(SRCS_HS))
TOP = ../../..
PROG = prsa
SRCS = Rsa.hs Main.hs
include $(TOP)/nofib/mk/nofib.mk
SRCS_LHS=Main.lhs
OBJS_O= Main.o
/* not multi-module, but a .lhs file... */
NoFibMultiModuleCompileAndRun(ray,-o1 ray.stdout)
NoFibHaskellCompile(ray,Main,lhs)
TOP = ../../..
PROG = ray
SRCS_HS = Main.lhs
include $(TOP)/nofib/mk/nofib.mk
NoFibOneModuleCompileAndRun(soda,)
NoFibOneModuleCompileAndRun(soda7,)
TOP = ../../..
PROG = soda
include $(TOP)/nofib/mk/nofib.mk
TOP = ../../..
PROG = soda7
EXTRA_HCFLAGS = -cpp
include $(TOP)/nofib/mk/nofib.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment