# Buildtemplate for fexecute subdirectory
# fexecute: remote execution on a storage server using the FEXECUTE bit


fexecute.$(MACHINE) :  fexecute.$(OBJSUFFIX)
	$(CC) $(MIFLAGS) -o fexecute.$(MACHINE) fexecute.$(OBJSUFFIX) \
              $(LIBRARIES) 	
#ifdef M68K
	nm68 -nh fexecute.m68k > fexecute.sym
#else
	nm -ng fexecute.$(MACHINE) > fexecute.sym
#endif

clean:
	rm -f *.CKP *.BAK *.$(OBJSUFFIX) fexecute.$(MACHINE)  \
           *.sym .emacs* .netup*

relink:
	rm -f *.$(MACHINE)

install: fexecute.$(MACHINE)
	$(NETINSTALL) -p fexecute.$(MACHINE) $(VSYS)/bin

backup:
	cd ..; cpdir fexecute ../../Vbackup/cmds/fexecute

