patch-1.3.92 linux/drivers/net/Makefile

Next file: linux/drivers/net/README.dgrs
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.91/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -462,6 +462,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_DGRS),y)
+L_OBJS += dgrs.o
+else
+  ifeq ($(CONFIG_DGRS),m)
+  M_OBJS += dgrs.o
+  endif
+endif
+
 include $(TOPDIR)/Rules.make
 
 clean:
@@ -526,5 +534,7 @@
 
 dlci.o: dlci.c CONFIG
 
+dgrs.o: dgrs.c dgrs.h CONFIG
+	$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
 tulip.o: tulip.c CONFIG
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(TULIP_OPTS) -c $<

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this