source: gpfs_3.1_ker2.6.20/lpp/mmfs/src/misc/Imakefile @ 16

Last change on this file since 16 was 16, checked in by rock, 16 years ago
File size: 1.1 KB
Line 
1/* $Id: Imakefile,v 1.9 2006/10/12 00:53:43 kywang Exp $ */
2/* Misc items to correctly perform stand-alone build for GPL Linux layer */
3/* with standard GPFS development build framework; this avoids keeping */
4/* yet another set of makefiles in synch. */
5
6
7MkdirTarget($(CXI_HEADER_DIR))
8MkdirTarget($(GPL_LIB_DIR))
9
10#ifndef SRC_BUILD
11InstallHeaders(DirIds.h, $(CXI_HEADER_DIR))
12#endif
13
14#ifdef SRC_BUILD
15HEADERS = gpfs.h errids.h defragQueue.h
16InstallHeaders($(HEADERS), $(DESTDIR)/include)
17#endif
18
19# stub for mktrace
20InstallFiles(mktrace, $(INSTSHELLFLAGS), $(DESTDIR)/bin)
21
22/* Install patch scripts */
23InstallFileToFile(createpatch.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin)
24InstallFileToFile(applypatch.sh, $(INSTSHELLFLAGS), $(DESTDIR)/bin)
25
26stubs::
27  echo "#!/bin/ksh" > mktrace
28  echo "# mktrace stub" >> mktrace
29  echo "exit 0" >> mktrace
30
31getupdatelevel.o:       getupdatelevel.c
32  $(RM) $@
33  $(CC) -c $(CFLAGS)  -I$(KERNEL_HEADER_DIR) -D__KERNEL__ $*.c
34
35ProgramTarget(getupdatelevel, getupdatelevel.o,  ,  )
36InstallFileToFile(getupdatelevel, , $(DESTDIR)/bin)
37
38clean::
39  rm -f mktrace
Note: See TracBrowser for help on using the repository browser.