summaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/Makefile
blob: 82aa26e4cdf52173908248480506a3746ecc64fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Makefile for the SysKonnect FDDI PCI adapter driver
#

ifeq ($(CONFIG_SKFP),y)
    O_TARGET := skfp.o
    O_OBJS =  skfddi.o    hwmtm.o    fplustm.o  smt.o      cfm.o     \
              ecm.o       pcmplc.o   pmf.o      queue.o    rmt.o     \
	      smtdef.o    smtinit.o  smttimer.o srf.o      lnkstat.o \
              smtparse.o  hwt.o      drvfbi.o   ess.o
else
  ifeq ($(CONFIG_SKFP),m)
    MOD_LIST_NAME := SKFP_MODULES
    M_OBJS := skfp.o
    O_TARGET := skfp.o
    O_OBJS =  skfddi.o    hwmtm.o    fplustm.o  smt.o      cfm.o     \
              ecm.o       pcmplc.o   pmf.o      queue.o    rmt.o     \
	      smtdef.o    smtinit.o  smttimer.o srf.o      lnkstat.o \
              smtparse.o  hwt.o      drvfbi.o   ess.o
  endif
endif

# NOTE:
#   Compiling this driver produces some warnings (and some more are 
#   switched off below), but I did not fix this, because the Hardware
#   Module source (see skfddi.c for details) is used for different
#   drivers, and fixing it for Linux might bring problems on other
#   projects. To keep the source common for all those drivers (and
#   thus simplify fixes to it), please do not clean it up!
 
EXTRA_CFLAGS += -I. -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes 

include $(TOPDIR)/Rules.make

clean:
	rm -f core *.o *.a *.s