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