source: rtems-libbsd/services/ftpfs/Makefile @ 116c6cf

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 116c6cf was 116c6cf, checked in by Joel Sherrill <joel.sherrill@…>, on 08/03/12 at 13:40:27

ftpfs: Add to services

  • Property mode set to 100644
File size: 688 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 += -I include
11CFLAGS += -std=gnu99
12CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d
13
14C_FILES =
15C_FILES += ftpfs.c
16
17C_O_FILES = $(C_FILES:%.c=%.o)
18C_D_FILES = $(C_FILES:%.c=%.d)
19
20LIB = libftpfs.a
21
22all: $(LIB)
23
24$(LIB): $(C_O_FILES)
25        $(AR) rcu $@ $^
26
27install: $(LIB)
28        install -d $(INSTALL_BASE)/include/rtems
29        install -c -m 644 include/rtems/ftpfs.h $(INSTALL_BASE)/
30        install -c -m 644 $(LIB) $(INSTALL_BASE)
31
32clean:
33        rm -f $(LIB) $(C_O_FILES) $(C_D_FILES) $(GEN_FILES)
34
35-include $(C_D_FILES)
36
37doc:
38
Note: See TracBrowser for help on using the repository browser.