include Config.mk

all:		   
		make -C src ftpd
		@mv src/ftpd pheard
		@echo "Compile Complete. Do make install to install!"

install: 	
		install -s -m755 pheard $(BINDIR)/$(BINNAME)
		killall -HUP inetd
		@echo
		@echo -n "Now, to build helper apps type \"make helpers\""
		@echo
   		     
utils:
		make -C utils all
utils_all:
		make -C utils all
		make -C utils install
		
clean:
		make -C src clean
		make -C utils clean  
		make -C fatetag clean
		rm -f core *~ pheard
		
package:
		rm -f ./pheard.$(VERS).tar
		tar c . > ./pheard.$(VERS).tar
		gzip pheard.$(VERS).tar

upgrade_patch:
		@echo "No Upgrade Patch This Time"

upgrade:
		make -C all
		make -C install
