#####################################################
# Makefile for auxiliary stuff of XMGR              #
#####################################################
# You should not change anything here.              #
# Please read INSTALL file in the upper directory   #
#####################################################

TOP=..

include $(TOP)/Make.conf

AUXILIARIES = README jul2greg.c greg2jul.c magic.xmgr \
	icons/xmgr3.xpm icons/xmgr1.xpm icons/xmgr2.xpm icons/README.icons

all: dummy

clean: dummy

distclean: dummy

devclean: dummy

install: $(AUXILIARIES) fdf2fit
	$(INSTALL) -d -m 755 $(GR_HOME)/auxiliary
	for i in $(AUXILIARIES); do $(INSTALL) -m 644 $$i $(GR_HOME)/auxiliary; done
	$(INSTALL) -m 755 fdf2fit $(GR_HOME)/auxiliary

tests: dummy

links: fdf2fit
	$(INSTALL) -d -m 755 $(PREFIX)/bin
	cd $(PREFIX)/bin; $(RM) fdf2fit; $(LN_S) $(GR_HOME)/auxiliary/fdf2fit fdf2fit

dummy:
