patch-2.1.27 linux/drivers/net/soundmodem/Makefile
Next file: linux/drivers/net/soundmodem/gentbl.c
Previous file: linux/drivers/net/sm_wss.h
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Fri Feb 21 14:58:35 1997
- Orig file:
v2.1.26/linux/drivers/net/soundmodem/Makefile
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.26/linux/drivers/net/soundmodem/Makefile linux/drivers/net/soundmodem/Makefile
@@ -0,0 +1,50 @@
+#
+# Makefile for the soundmodem device driver.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definitions are now inherited from the
+# parent makes..
+#
+
+O_TARGET := soundmodem.o
+
+O_OBJS := sm.o
+ifeq ($(CONFIG_SOUNDMODEM_SBC),y)
+O_OBJS += sm_sbc.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_WSS),y)
+O_OBJS += sm_wss.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_AFSK1200),y)
+O_OBJS += sm_afsk1200.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_AFSK2666),y)
+O_OBJS += sm_afsk2666.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_HAPN4800),y)
+O_OBJS += sm_hapn4800.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_PSK4800),y)
+O_OBJS += sm_psk4800.o
+endif
+ifeq ($(CONFIG_SOUNDMODEM_FSK9600),y)
+O_OBJS += sm_fsk9600.o
+endif
+
+M_OBJS := $(O_TARGET)
+
+gentbl: gentbl.c
+ $(HOSTCC) -Wall $< -o $@ -lm
+
+TBLHDR := sm_tbl_afsk1200.h sm_tbl_afsk2666.h sm_tbl_psk4800.h
+TBLHDR += sm_tbl_hapn4800.h sm_tbl_fsk9600.h
+
+$(TBLHDR): gentbl
+ ./gentbl
+
+fastdep: $(TBLHDR)
+
+include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov