source: rtems-libbsd/services/mghttpd/Makefile @ f415cbb

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since f415cbb was a3dc1f0, checked in by Joel Sherrill <joel.sherrill@…>, on 07/28/12 at 10:58:03

Makefile: install mongoose.h under rtems/

  • Property mode set to 100644
File size: 727 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/rtems
30        install -c -m 644 mongoose.h $(INSTALL_BASE)/rtems
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.