#  Makefile_inc from ObjectProDSP 0.1
#  Copyright (C) 1994, Mountain Math Software, All rights reserved.
#  Licensed for free use and distribution under version 2 of the Gnu General
#  Public License. Please see file COPYING for details and restrictions.
#  
#  ObjectProDSP is a trademark of Mountain Math Software.
#  
COPYRIGHT_DEP=${OPD_ROOT}/scripts/make_copyright.sh \
	${OPD_ROOT}/src/genlib/common/obj/Makefile_inc

# Directory ${OPD_ROOT}/MOUNTAIN_MATH_NOTICES is for Mountain Math
# Software internal use only. It is not part of the user distribution.
MM_COPYRIGHT:=$(wildcard ${OPD_ROOT}/MOUNTAIN_MATH_NOTICES/*copyright_text)
ifdef MM_COPYRIGHT
DST=${LOCAL_DIR}/cpy_strings.h 
${DST} : ${MM_COPYRIGHT} ${COPYRIGHT_DEP}
	echo "/* $@ */" > $@
	sh ${OPD_ROOT}/scripts/make_copyright.sh ${MM_COPYRIGHT} >> $@
endif

COPYRIGHT=${OPD_ROOT}/scripts/user_copyright_text 
DST_USER=${LOCAL_DIR}/user_cpy_strings.h 

${DST_USER} : ${COPYRIGHT} ${COPYRIGHT_DEP}
	echo "/* $@ */" > $@
	sh ${OPD_ROOT}/scripts/make_copyright.sh ${COPYRIGHT} >> $@


