* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / fc4 / Makefile
blob540167bbfc030dfcbf65283da875afeb0992e3f9
1 # File: drivers/fc4/Makefile
3 # Makefile for the Linux Fibre Channel device drivers.
6 L_TARGET := fc4.a
7 M_OBJS :=
8 MOD_LIST_NAME := FC4_MODULES
10 include ../../.config
12 ifeq ($(CONFIG_FC4),y)
13 FC4 = fc.o
14 ifeq ($(CONFIG_MODULES),y)
15 O_TARGET := fc_n_syms.o
16 O_OBJS := fc.o
17 OX_OBJS := fc_syms.o
18 FC4 := $(O_TARGET)
19 endif
20 L_OBJS += $(FC4)
21 else
22 ifeq ($(CONFIG_FC4),m)
23 MIX_OBJS += fc_syms.o
24 M_OBJS += fc4.o
25 endif
26 endif
28 ifeq ($(CONFIG_FC4_SOC),y)
29 L_OBJS += soc.o
30 else
31 ifeq ($(CONFIG_FC4_SOC),m)
32 M_OBJS += soc.o
33 endif
34 endif
36 ifeq ($(CONFIG_FC4_SOCAL),y)
37 L_OBJS += socal.o
38 else
39 ifeq ($(CONFIG_FC4_SOCAL),m)
40 M_OBJS += socal.o
41 endif
42 endif
44 include $(TOPDIR)/Rules.make
46 fc4.o: $(MIX_OBJS) fc.o
47 $(LD) $(LD_RFLAG) -r -o $@ $(MIX_OBJS) fc.o