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 07/27/12 at 13:03:55
|
mghttpd: Add services directory with mghttpd as first
|
-
Property mode set to
100644
|
File size:
715 bytes
|
Rev | Line | |
---|
[2cbf1af] | 1 | include ../../config.inc |
---|
| 2 | |
---|
| 3 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
| 4 | include $(RTEMS_CUSTOM) |
---|
| 5 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
| 6 | |
---|
| 7 | CFLAGS += -I $(INSTALL_BASE)/include |
---|
| 8 | |
---|
| 9 | CFLAGS += -w |
---|
| 10 | CFLAGS += -std=gnu99 |
---|
| 11 | CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d |
---|
| 12 | # CFLAGS += -DHAVE_MD5 |
---|
| 13 | CFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI |
---|
| 14 | |
---|
| 15 | C_FILES = |
---|
| 16 | C_FILES += mongoose.c |
---|
| 17 | |
---|
| 18 | C_O_FILES = $(C_FILES:%.c=%.o) |
---|
| 19 | C_D_FILES = $(C_FILES:%.c=%.d) |
---|
| 20 | |
---|
| 21 | LIB = libmghttpd.a |
---|
| 22 | |
---|
| 23 | all: $(LIB) |
---|
| 24 | |
---|
| 25 | $(LIB): $(C_O_FILES) |
---|
| 26 | $(AR) rcu $@ $^ |
---|
| 27 | |
---|
| 28 | install: $(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 | |
---|
| 33 | clean: |
---|
| 34 | rm -f $(LIB) $(C_O_FILES) $(C_D_FILES) $(GEN_FILES) |
---|
| 35 | |
---|
| 36 | -include $(C_D_FILES) |
---|
| 37 | |
---|
| 38 | doc: |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.