summaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/skfp/Makefile')
-rw-r--r--drivers/net/skfp/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/net/skfp/Makefile b/drivers/net/skfp/Makefile
new file mode 100644
index 000000000..82aa26e4c
--- /dev/null
+++ b/drivers/net/skfp/Makefile
@@ -0,0 +1,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
+
+
+