#  Makefile from ObjectProDSP 0.2
#  Copyright (C) 1994 1995, Mountain Math Software. All rights reserved.
#  
#  This file is part of ObjectProDSP, a tool for Digital Signal
#  Processing design, development and implementation. It is free
#  software provided you use and distribute it under the terms of
#  version 2 of the GNU General Public License as published
#  by the Free Software Foundation. You may NOT distribute it or
#  works derived from it or code that it generates under ANY
#  OTHER terms.  In particular NONE of the ObjectProDSP system is
#  licensed for use under the GNU General Public LIBRARY License.
#  Mountain Math Software plans to offer a commercial version of
#  ObjectProDSP for a fee. That version will allow redistribution
#  of generated code under standard commercial terms.
#  
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#  GNU General Public License for more details.
#  
#  You should have received a copy of version 2 of the GNU General
#  Public License along with this program. See file COPYING. If not
#  or if you wish information on commercial versions and licensing
#  write Mountain Math Software, P. O. Box 2124, Saratoga, CA 95070,
#  USA, or send us e-mail at: support@mtnmath.com.
#  
#  You may also obtain the GNU General Public License by writing the
#  Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
#  USA.  However if you received a copy of this program without the
#  file COPYING or without a copyright notice attached to all text
#  files, libraries and executables please inform Mountain Math Software.
#  
#  ObjectProDSP is a trademark of Mountain Math Software.
#  
############### From `../../../../scripts/Makefile_head' ###############
#  Makefile_head_base from ObjectProDSP 0.2
#  Copyright (C) 1994 1995, 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.
#  
ifndef OPD_ROOT
DUMMY::
	@echo "OPD_ROOT is not set. It must be set to the root directory in which ObjectProDSP"
	@echo "is installed. You can set it by going to that directory and entering:"
	@echo ". set_root"
	@echo "DO NOT DO THIS IN ANOTHER DIRECTORY. You must \`cd' to the installation root."
endif

OPD_SHELL=/bin/bash
OPD_MAKE=make
############### End  `../../../../scripts/Makefile_head' ###############
############### From `../../../../scripts/Makefile_head.linux' ###############
#  Makefile_head.linux from ObjectProDSP 0.2
#  Copyright (C) 1994 1995, 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.
#  
CC = ${OPD_CC}
C_LINK = ${CC}
############### End  `../../../../scripts/Makefile_head.linux' ###############
HD_3 = ../../../../src/include/ObjProNoGui/ObjProComGui
HD_10 = ../../../../src/include/ObjProNoGui
HD_2 = ../../../../src/include/ObjProGen
HD_1 = ../../../../src/include
HD_7 = ../../../../src/include/ObjProDSP
HD_5 = ../../../../src/include/ObjProNoDSP/ObjProGui
HD_6 = ../../../../src/include/ObjProArithDum/ObjProArith
HD_9 = ../../../../src/include/ObjProArithDum
HD_0 = ../../../../src/genlib/opdgen
HD_4 = ../../../../src/include/ObjProNoGui/ObjProGui
HD_8 = ../../../../src/include/ObjProArithGen
INC_DIRS = -I${HD_1} -I${HD_2} -I${HD_3} -I${HD_5} -I${HD_6} -I${HD_7} -I${HD_9} -I${HD_10}
LOCAL_DIR = ..
MAIN_DIR = ..
USR_H_DIR  = ${OPD_ROOT}/src/include/ObjProDSPint/ObjProUsr

SUB_DIR = obj

OBJS = baseio.${OPD_OBJ} cpyrght_exe.${OPD_OBJ} dirfil.${OPD_OBJ} \
    error.${OPD_OBJ} fileios.${OPD_OBJ} hlpfil.${OPD_OBJ} makedir.${OPD_OBJ} myfloat.${OPD_OBJ} \
    nbits.${OPD_OBJ} newaloc.${OPD_OBJ} outtok.${OPD_OBJ} specopt.${OPD_OBJ} stattyp.${OPD_OBJ} \
    syssig.${OPD_OBJ} textfrag.${OPD_OBJ} textrans.${OPD_OBJ} texutil.${OPD_OBJ} 
C_DIR_0 = ../../../../src/genlib/opdgen/obj
C_DIR_B_0 = ../../../../src/genlib/opdgen
../../../../lib/Libopdgen_Link :  UsrMakes LocalMakes ${OBJS} \
	../../../../lib/Libopdgen${OPD_LIB_SUF}

UsrMakes : 
COLL_OBJS = ${OBJS} \

../../../../lib/Libopdgen${OPD_LIB_SUF} :  ${COLL_OBJS} 
	touch LibCollopdgen${OPD_LIB_SUF}
	rm LibCollopdgen${OPD_LIB_SUF}
	${OPD_LIB}LibCollopdgen${OPD_LIB_SUF}  ${COLL_OBJS}
	mv LibCollopdgen${OPD_LIB_SUF} ../../../../lib/Libopdgen${OPD_LIB_SUF}
	${LAST_ACTION}

Target LocalTarget : LibCollopdgen${OPD_LIB_SUF}

LocalMakes :
baseio.${OPD_OBJ} : ${LOCAL_DIR}/baseio.cxx ${HD_3}/dbgcode.h \
   ${HD_2}/usriotyp.h ${HD_7}/portable.h ${HD_7}/mousret.h ${HD_3}/usercom.h \
   ${HD_2}/errcode.h ${HD_3}/grphio.h ${HD_2}/debug.h ${HD_2}/baseio.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/baseio.cxx


cpyrght_exe.${OPD_OBJ} : ${LOCAL_DIR}/cpyrght_exe.cxx ${HD_2}/cpyrght_exe.h \
   ${HD_7}/version.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/cpyrght_exe.cxx


dirfil.${OPD_OBJ} : ${LOCAL_DIR}/dirfil.cxx ${HD_3}/dbgcode.h \
   ${HD_7}/portable.h ${HD_2}/dirfil.h ${HD_2}/debug.h ${HD_3}/cgidbg.h \
   ${HD_2}/mkstr.h ${HD_3}/usercom.h ${HD_2}/errcode.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/dirfil.cxx


error.${OPD_OBJ} : ${LOCAL_DIR}/error.cxx ${HD_2}/error.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/error.cxx


fileios.${OPD_OBJ} : ${LOCAL_DIR}/fileios.cxx ${HD_3}/dbgcode.h \
   ${HD_7}/portable.h ${HD_2}/copyright.h ${HD_2}/debug.h ${HD_3}/cgidbg.h \
   ${HD_2}/mkstr.h ${HD_2}/fileios.h ${HD_2}/errcode.h ${HD_2}/stack.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/fileios.cxx


hlpfil.${OPD_OBJ} : ${LOCAL_DIR}/hlpfil.cxx ${HD_3}/dbgcode.h \
   ${HD_2}/hlpfil.h ${HD_2}/helpdir.h ${HD_2}/errcode.h ${HD_2}/environ.h \
   ${HD_2}/debug.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/hlpfil.cxx


makedir.${OPD_OBJ} : ${LOCAL_DIR}/makedir.cxx ${HD_3}/dbgcode.h \
   ${HD_7}/portable.h ${HD_5}/yacintfc.h ${HD_2}/makedir.h ${HD_2}/debug.h \
   ${HD_3}/cgidbg.h ${HD_3}/usercom.h ${HD_2}/errcode.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/makedir.cxx


myfloat.${OPD_OBJ} : ${LOCAL_DIR}/myfloat.cxx ${HD_2}/dspguicom.h \
   ${HD_7}/portable.h ${HD_2}/myfloat.h ${HD_2}/arthnm.h ${HD_7}/arthtyp.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/myfloat.cxx


nbits.${OPD_OBJ} : ${LOCAL_DIR}/nbits.cxx ${HD_6}/hrdarth.h ${HD_7}/arthtyp.h \
   ${HD_7}/portable.h ${HD_2}/nbits.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/nbits.cxx


newaloc.${OPD_OBJ} : ${LOCAL_DIR}/newaloc.cxx ${HD_2}/newaloc.h \
   ${HD_7}/portable.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/newaloc.cxx


outtok.${OPD_OBJ} : ${LOCAL_DIR}/outtok.cxx ${HD_2}/outtok.h \
   ${HD_3}/dbgcode.h ${HD_2}/usriotyp.h ${HD_7}/portable.h ${HD_2}/texutil.h \
   ${HD_2}/myfloat.h ${HD_2}/textrans.h ${HD_2}/texspec.h ${HD_2}/debug.h \
   ${HD_2}/baseio.h ${HD_3}/cgidbg.h ${HD_3}/usercom.h ${HD_2}/specopt.h \
   ${HD_2}/errcode.h ${HD_2}/debug.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/outtok.cxx


specopt.${OPD_OBJ} : ${LOCAL_DIR}/specopt.cxx ${HD_3}/dbgcode.h \
   ${HD_7}/portable.h ${HD_2}/debug.h ${HD_3}/cgidbg.h ${HD_2}/errcode.h \
   ${HD_2}/specopt.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/specopt.cxx


stattyp.${OPD_OBJ} : ${LOCAL_DIR}/stattyp.cxx ${HD_7}/attrib.h \
   ${HD_3}/dbgcode.h ${HD_7}/arthtyp.h ${HD_7}/portable.h ${HD_2}/debug.h \
   ${HD_3}/cgidbg.h ${HD_2}/stattyp.h ${HD_2}/errcode.h ${HD_6}/hrdarth.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/stattyp.cxx


syssig.${OPD_OBJ} : ${LOCAL_DIR}/syssig.cxx ${HD_7}/sysintfc.h \
   ${HD_2}/syssig.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/syssig.cxx


textfrag.${OPD_OBJ} : ${LOCAL_DIR}/textfrag.cxx ${HD_2}/outtok.h \
   ${HD_3}/dbgcode.h ${HD_2}/usriotyp.h ${HD_7}/portable.h ${HD_2}/texutil.h \
   ${HD_2}/textrans.h ${HD_2}/slist.h ${HD_2}/textfrag.h ${HD_2}/texspec.h \
   ${HD_2}/debug.h ${HD_2}/baseio.h ${HD_3}/cgidbg.h ${HD_2}/specopt.h \
   ${HD_2}/errcode.h ${HD_2}/debug.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/textfrag.cxx


textrans.${OPD_OBJ} : ${LOCAL_DIR}/textrans.cxx ${HD_2}/outtok.h \
   ${HD_3}/dbgcode.h ${HD_2}/usriotyp.h ${HD_7}/portable.h ${HD_2}/texutil.h \
   ${HD_2}/textrans.h ${HD_2}/slist.h ${HD_2}/textfrag.h ${HD_2}/texspec.h \
   ${HD_2}/debug.h ${HD_2}/baseio.h ${HD_3}/cgidbg.h ${HD_2}/specopt.h \
   ${HD_2}/errcode.h ${HD_2}/texutil.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/textrans.cxx


texutil.${OPD_OBJ} : ${LOCAL_DIR}/texutil.cxx ${HD_2}/outtok.h \
   ${HD_3}/dbgcode.h ${HD_2}/usriotyp.h ${HD_7}/portable.h ${HD_2}/debug.h \
   ${HD_2}/baseio.h ${HD_3}/cgidbg.h ${HD_2}/specopt.h ${HD_2}/errcode.h \
   ${HD_2}/texutil.h
	${CC} ${CFLAGS} ${INC_DIRS} ${LOCAL_DIR}/texutil.cxx



############### From `../../../../scripts/Makefile_tail.linux' ###############
#  Makefile_tail.linux from ObjectProDSP 0.2
#  Copyright (C) 1994 1995, 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.
#  
CLEAN : 
	rm ${ALL_OBJS}

CFLAGS = -c -O ${EXTRA_CFLAGS} -DPROTOTYPE 
LKFLAGS = ${EXTRA_LK_FLAGS} -lm 
C_LINK = ${OPD_CC}

############### End  `../../../../scripts/Makefile_tail.linux' ###############
OPD_MAKEFILE_CREATOR:=$(wildcard ${OPD_ROOT}/bin/makemake${OPD_EXE_SUF})
ifdef OPD_MAKEFILE_CREATOR
Makefile: domakemake ../../../../scripts/set_opt
	${OPD_SHELL} domakemake
endif

include ../../../../scripts/Makefile_main_include

../../../../scripts/Makefile_main_include:
	domakemake

