
# Copyright Notices

# This software was developed for use by the U.S. Government as
# represented by the Administrator of the National Aeronautics and
# Space Administration. No copyright is claimed in the United States
# under 17 U.S.C. 105.

# This software may be used, copied, and provided to others only as
# permitted under the terms of the contract or other agreement under
# which it was acquired from the U.S. Government.  Neither title to nor
# ownership of the software is hereby transferred.  This notice shall
# remain on all copies of the software.

include ../commonMakeOptions.imake

PARENT=$(patsubst %/,%,$(dir $(HERE)))
PARENT2=$(patsubst %/,%,$(dir $(HERE)))

OBJECTS=	FlawCache.o \
		FlawCacheConnection.o \
		Flaw.o \
		FlawQuery.o \
		FilterCriteria.o \
		Condition.o \
		AttributeCondition.o \
		PredicateCondition.o \
		Horizon.o \
		HorizonCondition.o \
		HorizonTrigger.o \
		TemporalVariableCondition.o \
		TemporalVariableTrigger.o \
		UnaryCondition.o \
		UnaryTrigger.o \
		BasePlanInfoAdapter.o

all: depend $(OBJECTS)
	echo $@ > $@

libPlanInfo.a: $(OBJECTS)
	$(AR) $@ $?
	$(RANLIB) $@

libPlanInfo.so: $(OBJECTS)
	$(LD) $(LDFLAG) -o $@ $(OBJECTS)

clean:
	/bin/rm -f *.o *.so *.a all depend core

depend: makefile *.cc $(PARENT)/Includes/version.hh
	$(DEPEND)
	test -s $@

include depend
