#-----------------------------------------------------------------------------#
# Copyright (C) 1998-1999 The University of Melbourne.
# This file may only be copied under the terms of the GNU Library General
# Public License - see the file COPYING.LIB in the Mercury distribution.
#-----------------------------------------------------------------------------#

MAIN_TARGET = all

MCFLAGS = --no-infer-all

ADITI_API_DIR = /aditi4/stayl/aditi2/src/api

# The --Wno-strict-prototypes is to shut up warnings about prototypes
# without argument types in a header file generated by rpcgen.
MGNUCFLAGS=-I$(ADITI_API_DIR) -Wno-strict-prototypes

# Link in the Aditi API library.
MLFLAGS += -R$(ADITI_API_DIR) -L$(ADITI_API_DIR) $(EXTRA_MLFLAGS) -lapi
C2INITFLAGS = --aditi aditi.init

#-----------------------------------------------------------------------------#

DEPENDS =	aditi.depend

#-----------------------------------------------------------------------------#

.PHONY: depend
depend: $(DEPENDS)

.PHONY: all
all: aditi.o

clean_local:
	rm -f *.out *.res

#-----------------------------------------------------------------------------#
