/* $Id: Imakefile,v 1.3 2006/11/01 16:50:31 kywang Exp $ */ #ifndef SRC_BUILD DIRS = $(DESTDIR) \ $(DESTDIR)/data \ $(DESTDIR)/shark \ $(DESTDIR)/shark/config \ $(DESTDIR)/include \ $(DESTDIR)/lib \ $(DESTDIR)/bin \ $(DESTDIR)/messages #else IRULESRC = $(DESTDIR)/config DIRS = $(DESTDIR) \ $(DESTDIR)/shark \ $(DESTDIR)/shark/config \ $(DESTDIR)/include \ $(DESTDIR)/lib \ $(DESTDIR)/bin #endif MkdirTarget($(DIRS)) InstallFiles(site.mcr imake.tmpl, $(INSTINCFLAGS), $(DESTDIR)/shark/config) #ifndef SRC_BUILD config2:: install.ti InstallFileToFile(depend.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin) #else InstallFileToFile(depend.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin) #endif /* Copy up the old site.mcr to this level from the config subdirectory */ install.ti:: site.mcr #ifdef SRC_BUILD ../makefile: ../Imakefile $(DESTDIR)/shark/config/imake.tmpl $(DESTDIR)/shark/config/site.mcr @sh -c 'set -x; cd .. ; \ $(IMAKE) -Timake.tmpl -I$(DESTDIR)/shark/config -s makefile ; \ sleep 1; touch Imakefile ; \ $(MAKE) -f makefile makefile DESTDIR=$(DESTDIR)' #endif install.ti:: ../makefile