source: gpfs_3.1_ker2.6.20/lpp/mmfs/src/gpl-linux/i386/Imakefile

Last change on this file was 16, checked in by rock, 17 years ago
File size: 731 bytes
Line 
1/* $Id: Imakefile,v 1.27 2006/03/26 04:24:37 eshel Exp $ */
2
3/* Only include portability and cxi headers in this layer */
4SetGplIncludePath()
5
6NormalObjectRule()
7
8#undef i386
9HEADERS =
10STD_KINCLUDES += -I$(KERNEL_HEADER_DIR)/../arch/i386/mach-generic \
11                -I$(KERNEL_HEADER_DIR)/asm-i386/mach-default
12
13#if (LINUX_KERNEL_VERSION >= 2061600)
14comma = ,
15name-fix = $(subst $(comma),_,$(subst -,_,$1))
16basename_flags = -D"KBUILD_BASENAME=KBUILD_STR($(call name-fix,$(*F)))"
17KCFLAGS += -D"KBUILD_STR(s)=\#s" $(basename_flags)
18#endif
19
20LINUX_CUSTOM = cfiles_cust.ko
21GPL_LIBS = libarch-gpl_cust.a
22
23kLibraryTarget(libarch-gpl_cust.a, $(LINUX_CUSTOM))
24InstallLibraries($(GPL_LIBS), $(GPL_LIB_DIR))
25
26TRACELIST =
27
28DependTargetPK()
Note: See TracBrowser for help on using the repository browser.