source: gpfs_3.1_ker2.6.20/lpp/mmfs/src/config/Imakefile @ 177

Last change on this file since 177 was 16, checked in by rock, 17 years ago
File size: 1.1 KB
Line 
1/* $Id: Imakefile,v 1.3 2006/11/01 16:50:31 kywang Exp $ */
2
3#ifndef SRC_BUILD
4DIRS = $(DESTDIR) \
5  $(DESTDIR)/data \
6  $(DESTDIR)/shark \
7  $(DESTDIR)/shark/config \
8  $(DESTDIR)/include \
9  $(DESTDIR)/lib \
10  $(DESTDIR)/bin \
11  $(DESTDIR)/messages
12#else
13IRULESRC = $(DESTDIR)/config
14
15DIRS = $(DESTDIR) \
16  $(DESTDIR)/shark \
17  $(DESTDIR)/shark/config \
18  $(DESTDIR)/include \
19  $(DESTDIR)/lib \
20  $(DESTDIR)/bin
21#endif
22MkdirTarget($(DIRS))
23
24InstallFiles(site.mcr imake.tmpl, $(INSTINCFLAGS), $(DESTDIR)/shark/config)
25
26#ifndef SRC_BUILD
27config2:: install.ti
28  InstallFileToFile(depend.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin)
29#else
30InstallFileToFile(depend.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin)
31#endif
32
33/* Copy up the old site.mcr to this level from the config subdirectory */
34install.ti:: site.mcr
35
36#ifdef SRC_BUILD
37../makefile: ../Imakefile $(DESTDIR)/shark/config/imake.tmpl $(DESTDIR)/shark/config/site.mcr
38  @sh -c 'set -x; cd .. ; \
39  $(IMAKE) -Timake.tmpl -I$(DESTDIR)/shark/config -s makefile ; \
40  sleep 1; touch Imakefile ; \
41  $(MAKE) -f makefile makefile DESTDIR=$(DESTDIR)'
42#endif
43
44install.ti:: ../makefile
45
Note: See TracBrowser for help on using the repository browser.