source: rtems-libbsd/services/mghttpd/Makefile @ 2cbf1af

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 2cbf1af was 2cbf1af, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 27, 2012 at 1:03:55 PM

mghttpd: Add services directory with mghttpd as first

  • Property mode set to 100644
File size: 715 bytes
Line 
1include ../../config.inc
2
3include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
4include $(RTEMS_CUSTOM)
5include $(PROJECT_ROOT)/make/leaf.cfg
6
7CFLAGS += -I $(INSTALL_BASE)/include
8
9CFLAGS += -w
10CFLAGS += -std=gnu99
11CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d
12# CFLAGS += -DHAVE_MD5
13CFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI
14
15C_FILES =
16C_FILES += mongoose.c
17
18C_O_FILES = $(C_FILES:%.c=%.o)
19C_D_FILES = $(C_FILES:%.c=%.d)
20
21LIB = libmghttpd.a
22
23all: $(LIB)
24
25$(LIB): $(C_O_FILES)
26        $(AR) rcu $@ $^
27
28install: $(LIB)
29        install -d $(INSTALL_BASE)/include
30        install -c -m 644 mongoose.h $(INSTALL_BASE)
31        install -c -m 644 $(LIB) $(INSTALL_BASE)
32
33clean:
34        rm -f $(LIB) $(C_O_FILES) $(C_D_FILES) $(GEN_FILES)
35
36-include $(C_D_FILES)
37
38doc: 
39
Note: See TracBrowser for help on using the repository browser.