~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/drivers/pcmcia/Makefile

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #
  2 # Makefile for the kernel pcmcia subsystem (c/o David Hinds)
  3 #
  4 # Note! Dependencies are done automagically by 'make dep', which also
  5 # removes any old dependencies. DON'T put your own dependencies here
  6 # unless it's something special (ie not a .c file).
  7 #
  8 # Note 2! The CFLAGS definitions are now inherited from the
  9 # parent makes..
 10 
 11 O_TARGET := pcmcia.o
 12 
 13 export-objs := ds.o cs.o cb_enabler.o yenta.o pci_socket.o
 14 
 15 multi-list = pcmcia_core.o yenta_socket.o
 16 
 17 yenta_socket-objs := pci_socket.o yenta.o
 18 pcmcia_core-objs := cistpl.o rsrc_mgr.o bulkmem.o cs.o
 19 
 20 ifeq ($(CONFIG_CARDBUS),y)
 21   pcmcia_core-objs += cardbus.o
 22 endif
 23 
 24 ifeq ($(CONFIG_PCMCIA),y)
 25   obj-y   := cistpl.o rsrc_mgr.o bulkmem.o ds.o cs.o
 26   ifeq ($(CONFIG_CARDBUS),y)
 27     obj-y += cardbus.o cb_enabler.o yenta.o pci_socket.o
 28   endif
 29   ifeq ($(CONFIG_I82365),y)
 30     obj-y += i82365.o
 31   endif
 32   ifeq ($(CONFIG_TCIC),y)
 33     obj-y += tcic.o
 34   endif
 35 else
 36   ifeq ($(CONFIG_PCMCIA),m)
 37     obj-m   := pcmcia_core.o ds.o
 38     ifeq ($(CONFIG_I82365),y)
 39       obj-m += i82365.o
 40     endif
 41     ifeq ($(CONFIG_TCIC),y)
 42       obj-m += tcic.o
 43     endif
 44      ifeq ($(CONFIG_CARDBUS),y)
 45         obj-m += yenta_socket.o cb_enabler.o
 46      endif
 47   endif
 48 endif
 49 
 50 include $(TOPDIR)/Rules.make
 51 
 52 pcmcia_core.o:  $(pcmcia_core-objs)
 53         $(LD) $(LD_RFLAG) -r -o $@ $(pcmcia_core-objs)
 54 
 55 yenta_socket.o: $(yenta_socket-objs)
 56         $(LD) $(LD_RFLAG) -r -o $@ $(yenta_socket-objs)

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.