source: rtems/c/src/exec/libfs/src/dosfs/Makefile.am @ 6940f507

4.104.114.84.95
Last change on this file since 6940f507 was 6940f507, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 4, 2002 at 10:17:14 PM

2001-04-04 Joel Sherrill <joel@…>

  • src/dosfs/Makefile.am: Per PR129 do not install as many files to the $(includedir).
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2##  $Id$
3##
4
5
6include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
7include $(top_srcdir)/../../../automake/compile.am
8include $(top_srcdir)/../../../automake/lib.am
9
10INCLUDES = -I../..
11
12AM_CFLAGS += $(LIBC_DEFINES)
13
14FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c
15
16DOSFS_C_FILES = msdos_create.c msdos_dir.c msdos_eval.c msdos_file.c \
17                msdos_free.c msdos_fsunmount.c msdos_handlers_dir.c  \
18                msdos_handlers_file.c msdos_init.c msdos_initsupp.c  \
19                msdos_misc.c msdos_mknod.c msdos_node_type.c
20
21if !UNIX
22LIBNAME = libdosfs
23LIB = ${ARCH}/${LIBNAME}.a
24
25C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
26
27C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
28
29include_HEADERS = dosfs.h
30
31H_FILES = $(PROJECT_INCLUDE) \
32    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
33
34$(PROJECT_INCLUDE):
35        @$(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/%.h: %.h
38        $(INSTALL_DATA) $< $@
39
40OBJS = $(C_O_FILES)
41
42#
43# Add local stuff here using +=
44#
45all-local: ${ARCH} $(LIB)
46
47$(LIB): ${OBJS}
48        $(make-library)
49endif
50
51TMPINSTALL_FILES += $(H_FILES)
52
53EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
54
55include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.