GNUmakefile 556 Bytes
include $(ROOT)/usr/include/make/commondefs

SUBDIRS = audiofile libimage

default: af_config
	cd audiofile; make all
	cd libimage; make default

include $(COMMONRULES)

af_config:	$(_FORCE)
	cd audiofile; if test ! -f Makefile ; then ./configure ; fi

clean: af_config
	$(SUBDIRS_MAKERULE)

clobber:	af_config
	cd audiofile; make distclean
	cd libimage; make clobber

install: af_config default
	cd libimage; make install
	$(INSTALL) -F /host_lib audiofile/libaudiofile/.libs/libaudiofile.a
	$(INSTALL) -F /host_include audiofile/libaudiofile/audiofile.h