builddir = @builddir@
top_builddir = @top_builddir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@

prefix	= @prefix@
exec_prefix	= @exec_prefix@
mandir		= @mandir@
includedir	= @includedir@

VPATH = @srcdir@

INSTALL		= @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@

.PHONY: default install clean distclean

default:

install: 
	mkdir -p $(DESTDIR)/$(includedir)
	mkdir -p $(DESTDIR)/$(includedir)/mach-o
	for h in loader.h fat.h; do		\
		$(INSTALL_DATA) $(srcdir)/mach-o/$$h		\
			$(DESTDIR)/$(includedir)/mach-o/$$h;	\
	done
	$(INSTALL_DATA) $(srcdir)/mach-o/arch-install.h \
		$(DESTDIR)/$(includedir)/mach-o/arch.h
	$(INSTALL_DATA) $(srcdir)/mach/machine.h \
		$(DESTDIR)/$(includedir)/mach-o/

clean:
