############################################################
#
#	PGM display
#
############################################################
#
# @(#) $Header$
#
# $Log$
#
############################################################
#
# Definitions
#
############################################################

SRCS =  AddInformation.c AssocColour.c AppliLexyy.c AppliRuleExec.c \
	AssocFamilyFilled.c BatchInteract_control.c ChangInit.c \
           ChangLoad.c ChangSave.c Colour.c ComponentScale.c CreateRPC.c \
           Display.c ErrorHandler.c ExecPattern.c \
           ExpandScale.c FamilyFilled.c GetBitWeight.c GetStatus.c \
           GetUseParam.c Highlevel_control.c IOTake.c Init_control.c \
           InterconnectCreate.c LevelMonitorCreate.c LevelParamCreate.c \
           LevelRuleCreate.c LoadSave_control.c MagaliExecute.c MagaliPattern.c \

           MagaliRandWeight.c MoreExpandScale.c NEWGetWeight.c NewScale.c nCtop_control.c \
           ParamCreate.c ParamFamilyFilled.c Patset_control.c Pgmtarget_control.c \
           RuleCreate.c RuleDisplayParamCreate.c Run_control.c Select.c SetAlgorithm.c \
           SetInput.c SparseWeight.c StepCont_control.c TermRpc.c \
           TresholdOption.c Utilities.c WidthHeight.c cluster_level.c \
           layer_level.c logo.c main.c mike_colour.c net_level.c \
           neuron_level.c showconf.c system_level.c
OBJS =  AddInformation.o AssocColour.o AppliLexyy.o AppliRuleExec.o \
	AssocFamilyFilled.o BatchInteract_control.o ChangInit.o \
           ChangLoad.o ChangSave.o Colour.o ComponentScale.o CreateRPC.o \
           Display.o ErrorHandler.o ExecPattern.o \
           ExpandScale.o FamilyFilled.o GetBitWeight.o GetStatus.o \
           GetUseParam.o Highlevel_control.o IOTake.o Init_control.o \
           InterconnectCreate.o LevelMonitorCreate.o LevelParamCreate.o \
           LevelRuleCreate.o LoadSave_control.o MagaliExecute.o MagaliPattern.o \
           MagaliRandWeight.o MoreExpandScale.o NEWGetWeight.o NewScale.o nCtop_control.o \
           ParamCreate.o ParamFamilyFilled.o Patset_control.o Pgmtarget_control.o \
           RuleCreate.o RuleDisplayParamCreate.o Run_control.o Select.o SetAlgorithm.o \
           SetInput.o SparseWeight.o StepCont_control.o TermRpc.o \
           TresholdOption.o Utilities.o WidthHeight.o cluster_level.o \
           layer_level.o logo.o main.o mike_colour.o net_level.o \
           neuron_level.o showconf.o system_level.o
# DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT

HEADERS		= ../../h
XHEADERS	= ../../Xr$(X11REL)h

XINC		= $(XH)
RPCINT		= ../rpc
BITMAPS		= ../../../data/bitmaps

XR4FLAGS	= -DXAW_BC
XR3FLAGS	=
XRFLAGS		= $(XR$(X11REL)FLAGS)

XR4LDFLAGS	= -lX11 -lXmu -lXaw -loldX -lXt
XR3LDFLAGS	= 
XRLDFLAGS	= $(XR$(X11REL)LDFLAGS)

#CFLAGS		= $(CCOPTIONS) -f68881 -I${RPCINT} -I${BITMAPS}
CFLAGS		= $(CCOPTIONS) $(XRFLAGS) -I${XHEADERS} -I${RPCINT} -I${BITMAPS} -I${HEADERS} 
LDFLAGS		= $(LDOPTIONS)
############################################################
#
# Building Rules
#
############################################################

default:	pgm

pgm:		$(OBJS) ../rpc/rpcint_xdr.o ../rpc/rpcint_clnt.o
		$(CC) -o pgm \
		${OBJS} ../rpc/rpcint_xdr.o ../rpc/rpcint_clnt.o \
		${LIBPGM} ${XLIB} \
		$(LDFLAGS) $(XRLDFLAGS)

clean:		tidy
		rm -f $(OBJS) pgm

tidy:
		rm -f core a.out *.old *.BAK *.bak \#*

define:
		$(DEFINE) Makefile

depend:
		$(DEPEND) -I$(RPCH) -I$(XINC) -I$(XHEADERS) -I$(HEADERS) -I${RPCINT} -I$(BITMAPS) $(SRCS)
#		$(DEPEND) -I$(HEADERS) -I${RPCINT} -I$(XH-depend) -I$(XHEXT-depend) -I$(XAWH-depend) -I$(BITMAPS) $(SRCS)

install:	install-dir install-files

install-dir:	$(PYGBIN)

install-files:	$(PYGBIN)/pgm

$(PYGBIN)/pgm:	pgm
		cp pgm $@
		-$(CHMOD) 755 $@

############################################################
#
# End of Building Rules
#
############################################################
# DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
# Dependencies follow
AddInformation.o: AddInformation.c
AddInformation.o: ../../Xr3h/myheader.h
AssocColour.o: AssocColour.c
AssocColour.o: ../../Xr3h/mymonitor.h
AppliLexyy.o: AppliLexyy.c
AppliRuleExec.o: AppliRuleExec.c
AppliRuleExec.o: ../../h/rpcheader.h
AppliRuleExec.o: ../../Xr3h/everything.h
AppliRuleExec.o: ../rpc/rpcint.h
AppliRuleExec.o: ../../h/pgmrc.h
AppliRuleExec.o: ../../Xr3h/mymonitor.h
AssocFamilyFilled.o: AssocFamilyFilled.c
AssocFamilyFilled.o: ../../Xr3h/myheader.h
AssocFamilyFilled.o: ../../Xr3h/mymonitor.h
BatchInteract_control.o: BatchInteract_control.c
BatchInteract_control.o: ../../Xr3h/everything.h
BatchInteract_control.o: ../rpc/rpcint.h
BatchInteract_control.o: ../../h/pgmrc.h
BatchInteract_control.o: ../../Xr3h/myheader.h
ChangInit.o: ChangInit.c
ChangInit.o: ../../Xr3h/everything.h
ChangInit.o: ../rpc/rpcint.h
ChangInit.o: ../../h/pgmrc.h
ChangLoad.o: ChangLoad.c
ChangLoad.o: ../../Xr3h/everything.h
ChangLoad.o: ../rpc/rpcint.h
ChangLoad.o: ../../h/pgmrc.h
ChangSave.o: ChangSave.c
ChangSave.o: ../../Xr3h/everything.h
ChangSave.o: ../rpc/rpcint.h
ChangSave.o: ../../h/pgmrc.h
Colour.o: Colour.c
Colour.o: ../../Xr3h/mymonitor.h
Colour.o: ../../Xr3h/mike_display.h
Colour.o: ../../h/pgmrc.h
ComponentScale.o: ComponentScale.c
ComponentScale.o: ../../Xr3h/everything.h
ComponentScale.o: ../rpc/rpcint.h
ComponentScale.o: ../../h/pgmrc.h
ComponentScale.o: ../../Xr3h/mymonitor.h
ComponentScale.o: ../../Xr3h/mike_display.h
ComponentScale.o: ../../h/pgmrc.h
CreateRPC.o: CreateRPC.c
CreateRPC.o: ../../Xr3h/everything.h
CreateRPC.o: ../rpc/rpcint.h
CreateRPC.o: ../../h/pgmrc.h
CreateRPC.o: ../../Xr3h/myheader.h
Display.o: Display.c
Display.o: ../../Xr3h/mike_display.h
Display.o: ../../h/pgmrc.h
Display.o: ../../Xr3h/everything.h
Display.o: ../rpc/rpcint.h
Display.o: ../../h/pgmrc.h
ErrorHandler.o: ErrorHandler.c
ErrorHandler.o: ../../Xr3h/myheader.h
ErrorHandler.o: ../../Xr3h/everything.h
ErrorHandler.o: ../rpc/rpcint.h
ErrorHandler.o: ../../h/pgmrc.h
ExecPattern.o: ExecPattern.c
ExecPattern.o: ../../Xr3h/myheader.h
ExpandScale.o: ExpandScale.c
ExpandScale.o: ../../Xr3h/mymonitor.h
FamilyFilled.o: FamilyFilled.c
FamilyFilled.o: ../../Xr3h/myheader.h
FamilyFilled.o: ../../Xr3h/mymonitor.h
GetBitWeight.o: GetBitWeight.c
GetBitWeight.o: ../../Xr3h/everything.h
GetBitWeight.o: ../rpc/rpcint.h
GetBitWeight.o: ../../h/pgmrc.h
GetBitWeight.o: ../../h/rpcheader.h
GetStatus.o: GetStatus.c
GetStatus.o: ../../Xr3h/everything.h
GetStatus.o: ../rpc/rpcint.h
GetStatus.o: ../../h/pgmrc.h
GetStatus.o: ../../h/rpcheader.h
GetUseParam.o: GetUseParam.c
GetUseParam.o: ../../Xr3h/everything.h
GetUseParam.o: ../rpc/rpcint.h
GetUseParam.o: ../../h/pgmrc.h
GetUseParam.o: ../../Xr3h/mymonitor.h
GetUseParam.o: ../../h/rpcheader.h
Highlevel_control.o: Highlevel_control.c
Highlevel_control.o: ../../Xr3h/everything.h
Highlevel_control.o: ../rpc/rpcint.h
Highlevel_control.o: ../../h/pgmrc.h
Highlevel_control.o: ../../Xr3h/myheader.h
IOTake.o: IOTake.c
IOTake.o: ../../Xr3h/everything.h
IOTake.o: ../rpc/rpcint.h
IOTake.o: ../../h/pgmrc.h
IOTake.o: ../../Xr3h/myheader.h
IOTake.o: ../../../data/bitmaps/graypix.bm
IOTake.o: ../../Xr3h/mike_display.h
IOTake.o: ../../h/pgmrc.h
Init_control.o: Init_control.c
Init_control.o: ../../Xr3h/everything.h
Init_control.o: ../rpc/rpcint.h
Init_control.o: ../../h/pgmrc.h
Init_control.o: ../../Xr3h/myheader.h
InterconnectCreate.o: InterconnectCreate.c
InterconnectCreate.o: ../../Xr3h/everything.h
InterconnectCreate.o: ../rpc/rpcint.h
InterconnectCreate.o: ../../h/pgmrc.h
InterconnectCreate.o: ../../Xr3h/mymonitor.h
InterconnectCreate.o: ../../Xr3h/mike_display.h
InterconnectCreate.o: ../../h/pgmrc.h
LevelMonitorCreate.o: LevelMonitorCreate.c
LevelMonitorCreate.o: ../../Xr3h/everything.h
LevelMonitorCreate.o: ../rpc/rpcint.h
LevelMonitorCreate.o: ../../h/pgmrc.h
LevelMonitorCreate.o: ../../Xr3h/mymonitor.h
LevelMonitorCreate.o: ../../Xr3h/mike_display.h
LevelMonitorCreate.o: ../../h/pgmrc.h
LevelParamCreate.o: LevelParamCreate.c
LevelParamCreate.o: ../../Xr3h/everything.h
LevelParamCreate.o: ../rpc/rpcint.h
LevelParamCreate.o: ../../h/pgmrc.h
LevelParamCreate.o: ../../Xr3h/mymonitor.h
LevelParamCreate.o: ../../h/rpcheader.h
LevelRuleCreate.o: LevelRuleCreate.c
LevelRuleCreate.o: ../../Xr3h/everything.h
LevelRuleCreate.o: ../rpc/rpcint.h
LevelRuleCreate.o: ../../h/pgmrc.h
LevelRuleCreate.o: ../../Xr3h/mymonitor.h
LevelRuleCreate.o: ../../h/rpcheader.h
LoadSave_control.o: LoadSave_control.c
LoadSave_control.o: ../../Xr3h/everything.h
LoadSave_control.o: ../rpc/rpcint.h
LoadSave_control.o: ../../h/pgmrc.h
LoadSave_control.o: ../../Xr3h/myheader.h
MagaliExecute.o: MagaliExecute.c
MagaliExecute.o: ../../Xr3h/everything.h
MagaliExecute.o: ../rpc/rpcint.h
MagaliExecute.o: ../../h/pgmrc.h
MagaliPattern.o: MagaliPattern.c
MagaliPattern.o: ../../Xr3h/everything.h
MagaliPattern.o: ../rpc/rpcint.h
MagaliPattern.o: ../../h/pgmrc.h
MagaliRandWeight.o: MagaliRandWeight.c
MagaliRandWeight.o: ../../Xr3h/everything.h
MagaliRandWeight.o: ../rpc/rpcint.h
MagaliRandWeight.o: ../../h/pgmrc.h
MoreExpandScale.o: MoreExpandScale.c
MoreExpandScale.o: ../../Xr3h/everything.h
MoreExpandScale.o: ../rpc/rpcint.h
MoreExpandScale.o: ../../h/pgmrc.h
MoreExpandScale.o: ../../Xr3h/myheader.h
NEWGetWeight.o: NEWGetWeight.c
NEWGetWeight.o: ../../Xr3h/everything.h
NEWGetWeight.o: ../rpc/rpcint.h
NEWGetWeight.o: ../../h/pgmrc.h
NEWGetWeight.o: ../../h/rpcheader.h
NewScale.o: NewScale.c
NewScale.o: ../../Xr3h/everything.h
NewScale.o: ../rpc/rpcint.h
NewScale.o: ../../h/pgmrc.h
NewScale.o: ../../Xr3h/mymonitor.h
NewScale.o: ../../Xr3h/mike_display.h
NewScale.o: ../../h/pgmrc.h
nCtop_control.o: nCtop_control.c
nCtop_control.o: ../../Xr3h/everything.h
nCtop_control.o: ../rpc/rpcint.h
nCtop_control.o: ../../h/pgmrc.h
nCtop_control.o: ../../Xr3h/myheader.h
nCtop_control.o: ../../Xr3h/mymonitor.h
nCtop_control.o: ../../Xr3h/mike_display.h
nCtop_control.o: ../../h/pgmrc.h
ParamCreate.o: ParamCreate.c
ParamCreate.o: ../../Xr3h/mymonitor.h
ParamCreate.o: ../../Xr3h/everything.h
ParamCreate.o: ../rpc/rpcint.h
ParamCreate.o: ../../h/pgmrc.h
ParamFamilyFilled.o: ParamFamilyFilled.c
ParamFamilyFilled.o: ../../Xr3h/myheader.h
ParamFamilyFilled.o: ../../Xr3h/mymonitor.h
Patset_control.o: Patset_control.c
Patset_control.o: ../../Xr3h/everything.h
Patset_control.o: ../rpc/rpcint.h
Patset_control.o: ../../h/pgmrc.h
Patset_control.o: ../../Xr3h/myheader.h
Pgmtarget_control.o: Pgmtarget_control.c
Pgmtarget_control.o: ../../Xr3h/everything.h
Pgmtarget_control.o: ../rpc/rpcint.h
Pgmtarget_control.o: ../../h/pgmrc.h
Pgmtarget_control.o: ../../Xr3h/myheader.h
RuleCreate.o: RuleCreate.c
RuleCreate.o: ../../Xr3h/mymonitor.h
RuleCreate.o: ../../Xr3h/myheader.h
RuleCreate.o: ../../Xr3h/everything.h
RuleCreate.o: ../rpc/rpcint.h
RuleCreate.o: ../../h/pgmrc.h
RuleDisplayParamCreate.o: RuleDisplayParamCreate.c
RuleDisplayParamCreate.o: ../../Xr3h/myheader.h
RuleDisplayParamCreate.o: ../../Xr3h/everything.h
RuleDisplayParamCreate.o: ../rpc/rpcint.h
RuleDisplayParamCreate.o: ../../h/pgmrc.h
RuleDisplayParamCreate.o: ../../Xr3h/mymonitor.h
RuleDisplayParamCreate.o: ../../Xr3h/mike_display.h
RuleDisplayParamCreate.o: ../../h/pgmrc.h
Run_control.o: Run_control.c
Run_control.o: ../../Xr3h/everything.h
Run_control.o: ../rpc/rpcint.h
Run_control.o: ../../h/pgmrc.h
Run_control.o: ../../Xr3h/myheader.h
Run_control.o: ../../Xr3h/mike_display.h
Run_control.o: ../../h/pgmrc.h
Select.o: Select.c
Select.o: ../../Xr3h/everything.h
Select.o: ../rpc/rpcint.h
Select.o: ../../h/pgmrc.h
Select.o: ../../Xr3h/mymonitor.h
Select.o: ../../Xr3h/mike_display.h
Select.o: ../../h/pgmrc.h
SetAlgorithm.o: SetAlgorithm.c
SetAlgorithm.o: ../../Xr3h/myheader.h
SetAlgorithm.o: ../../Xr3h/everything.h
SetAlgorithm.o: ../rpc/rpcint.h
SetAlgorithm.o: ../../h/pgmrc.h
SetInput.o: SetInput.c
SetInput.o: ../../Xr3h/myheader.h
SparseWeight.o: SparseWeight.c
SparseWeight.o: ../../Xr3h/everything.h
SparseWeight.o: ../rpc/rpcint.h
SparseWeight.o: ../../h/pgmrc.h
SparseWeight.o: ../../h/rpcheader.h
StepCont_control.o: StepCont_control.c
StepCont_control.o: ../../Xr3h/everything.h
StepCont_control.o: ../rpc/rpcint.h
StepCont_control.o: ../../h/pgmrc.h
StepCont_control.o: ../../Xr3h/myheader.h
StepCont_control.o: ../../Xr3h/mike_display.h
StepCont_control.o: ../../h/pgmrc.h
TermRpc.o: TermRpc.c
TermRpc.o: ../../Xr3h/everything.h
TermRpc.o: ../rpc/rpcint.h
TermRpc.o: ../../h/pgmrc.h
TresholdOption.o: TresholdOption.c
TresholdOption.o: ../../Xr3h/everything.h
TresholdOption.o: ../rpc/rpcint.h
TresholdOption.o: ../../h/pgmrc.h
TresholdOption.o: ../../Xr3h/myheader.h
Utilities.o: Utilities.c
Utilities.o: ../../Xr3h/everything.h
Utilities.o: ../rpc/rpcint.h
Utilities.o: ../../h/pgmrc.h
WidthHeight.o: WidthHeight.c
WidthHeight.o: ../../Xr3h/mike_display.h
WidthHeight.o: ../../h/pgmrc.h
cluster_level.o: cluster_level.c
cluster_level.o: ../../Xr3h/mike_display.h
cluster_level.o: ../../h/pgmrc.h
cluster_level.o: ../../Xr3h/everything.h
cluster_level.o: ../rpc/rpcint.h
cluster_level.o: ../../h/pgmrc.h
layer_level.o: layer_level.c
layer_level.o: ../../Xr3h/mike_display.h
layer_level.o: ../../h/pgmrc.h
layer_level.o: ../../Xr3h/everything.h
layer_level.o: ../rpc/rpcint.h
layer_level.o: ../../h/pgmrc.h
logo.o: logo.c
logo.o: ../../Xr3h/mike_display.h
logo.o: ../../h/pgmrc.h
logo.o: ../../../data/bitmaps/pgm_logo.bm
logo.o: ../../../data/bitmaps/pgm_logo_inv.bm
logo.o: ../../../data/bitmaps/pgm_credits.bm
main.o: main.c
main.o: ../../Xr3h/everything.h
main.o: ../rpc/rpcint.h
main.o: ../../h/pgmrc.h
main.o: ../../Xr3h/myheader.h
main.o: ../../Xr3h/mike_display.h
main.o: ../../h/pgmrc.h
main.o: ../../Xr3h/mymonitor.h
mike_colour.o: mike_colour.c
mike_colour.o: ../../Xr3h/mike_display.h
mike_colour.o: ../../h/pgmrc.h
mike_colour.o: ../../Xr3h/everything.h
mike_colour.o: ../rpc/rpcint.h
mike_colour.o: ../../h/pgmrc.h
net_level.o: net_level.c
net_level.o: ../../Xr3h/mike_display.h
net_level.o: ../../h/pgmrc.h
net_level.o: ../../Xr3h/everything.h
net_level.o: ../rpc/rpcint.h
net_level.o: ../../h/pgmrc.h
neuron_level.o: neuron_level.c
neuron_level.o: ../../Xr3h/mike_display.h
neuron_level.o: ../../h/pgmrc.h
neuron_level.o: ../../Xr3h/everything.h
neuron_level.o: ../rpc/rpcint.h
neuron_level.o: ../../h/pgmrc.h
showconf.o: showconf.c
showconf.o: ../../Xr3h/everything.h
showconf.o: ../rpc/rpcint.h
showconf.o: ../../h/pgmrc.h
system_level.o: system_level.c
system_level.o: ../../Xr3h/mike_display.h
system_level.o: ../../h/pgmrc.h
system_level.o: ../../Xr3h/everything.h
system_level.o: ../rpc/rpcint.h
system_level.o: ../../h/pgmrc.h

# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see make depend above
