summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/net/khttpd/Makefile
blob: a7b2e022178b8d2ccbe1bec9c6ac333429f7a122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# 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

obj-m := 	$(O_TARGET)
obj-y := 	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