patch-2.1.49 linux/drivers/char/hfmodem/Makefile
Next file: linux/drivers/char/hfmodem/gentbl.c
Previous file: linux/drivers/char/Makefile
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Tue Aug 5 09:48:55 1997
- Orig file:
v2.1.48/linux/drivers/char/hfmodem/Makefile
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.48/linux/drivers/char/hfmodem/Makefile linux/drivers/char/hfmodem/Makefile
@@ -0,0 +1,37 @@
+#
+# Makefile for the hfmodem 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 := hfmodem.o
+
+O_OBJS := refclock.o modem.o main.o
+ifeq ($(CONFIG_HFMODEM_SBC),y)
+O_OBJS += sbc.o
+endif
+ifeq ($(CONFIG_HFMODEM_WSS),y)
+O_OBJS += wss.o
+endif
+
+M_OBJS := $(O_TARGET)
+
+all: all_targets
+.PHONY: all
+
+gentbl: gentbl.c
+ $(HOSTCC) -Wall $< -o $@ -lm
+
+TBLHDR := tables.h
+
+tables.h: 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