# This file (c) Copyright 1998 - 2002 The MITRE Corporation # # This file is part of the Galaxy Communicator system. It is licensed # under the conditions described in the file LICENSE in the root # directory of the Galaxy Communicator system. # Set the MITRE_ROOTDIR to the directory which dominates # the examples/ directory. Obligatory. MITRE_ROOTDIR = $(shell cd ../..; pwd) # Clear the environment. Obligatory. include $(MITRE_ROOTDIR)/templates/env_clear.make # A MITRE example will contain both servers and scripts. # Each script will expect to find its corresponding .in file. # If you provide scripts, you should also declare whatever # SCRIPTVARS you use in the scripts, and you should provide # values for those vars. For each var , the script may # contain a reference to MF_, which will be resolved using # an automatically generated sed script. The script may # refer to ROOTDIR, since will be defined. SCRIPTS = double.csh complex_double.csh validating_complex_double.csh \ scriptless_complex_double.csh logging_complex_double.csh \ client_complex_double.csh continuation_double.csh SCRIPTVARS = MITRE_ROOTDIR # For each server you intend to define, a Makefile will be # generated automatically. For each server, you should provide # a list of sources, named SRCS.. Obligatory. The # MIT Makefile templates will be used. SERVERS = double multiply headerless_double SRCS.double = double_core.c double.c THREAD_SAFE.double = 1 SRCS.multiply = multiply.c THREAD_SAFE.multiply = 1 SRCS.headerless_double = double_core.c headerless_double.c THREAD_SAFE.headerless_double = 1 # If there are any subdirectories which need to be compiled, then # they should be included here. Examples in various languages are # a good case. SUBDIRS = python acl java include $(MITRE_ROOTDIR)/templates/subdir.make include $(MITRE_ROOTDIR)/templates/MITRE_example.make