patch-2.3.14 linux/net/khttpd/Makefile

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

diff -u --recursive --new-file v2.3.13/linux/net/khttpd/Makefile linux/net/khttpd/Makefile
@@ -0,0 +1,28 @@
+#
+# Makefile for kHTTPd
+#
+# 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 definition is now in the main makefile...
+
+O_TARGET := khttpd.o
+MOD_LIST_NAME := NET_MODULES
+
+M_OBJS := $(O_TARGET)
+O_OBJS := 	main.o accept.o datasending.o logging.o misc.o rfc.o rfc_time.o security.o \
+		sockets.o sysctl.o userspace.o waitheaders.o
+
+
+
+include $(TOPDIR)/Rules.make
+
+rfc_time.o: times.h
+
+
+make_times_h: make_times_h.c
+	$(HOSTCC) $(HOSTCFLAGS) -o make_times_h make_times_h.c
+
+times.h: make_times_h
+	./make_times_h

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)