#
#	BeCopy Installation
# 
#  Copyright (C) S. I. Electronics, Ltd.  ALL RIGHTS RESERVED
#  
# This file is a part of BeCopy
#
# BeCopy is a free software.  This means you can copy 
# it as many times as you like and use it on any number of
# machines without charges.
#
# This software cannot be saled or bundled without explicit
# acknowledgement of the author. 
#
# This Makefile is for installation of BeCopy
#

BIN_PATH	= /boot/home/config/bin/
APP_NAME	= BeCopy

MACHINE = $(shell uname -m)
ifeq ($(MACHINE), BePC)
	CPU = x86
else
	CPU = ppc
endif

ifeq ($(CPU), x86)
	BIN_NAME	= BeCopy102x86
else

ifeq ($(CPU), ppc)
	BIN_NAME	= BeCopy102PPC
endif
endif

install:
	rm -f $(BIN_PATH)$(APP_NAME)
	cp -p $(BIN_NAME) $(BIN_PATH)$(APP_NAME)

	mimeset -f $(BIN_PATH)$(APP_NAME)

