source: rtems/c/src/exec/libfs/src/dosfs/Makefile.am @ 2de2bec

4.104.114.84.95
Last change on this file since 2de2bec was 2de2bec, checked in by Joel Sherrill <joel.sherrill@…>, on 03/15/02 at 18:55:09

2002-03-14 Ralf Corsepius <corsepiu@…>

Reported and tracked as PR130.

  • src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX.
  • wrapup/Makefile.am: Disable dosfs for UNIX.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11INCLUDES = -I.
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 = fat.h fat_fat_operations.h \
30                  fat_file.h msdos.h dosfs.h
31
32H_FILES = $(PROJECT_INCLUDE) \
33    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
34
35$(PROJECT_INCLUDE):
36        @$(mkinstalldirs) $@
37
38$(PROJECT_INCLUDE)/%.h: %.h
39        $(INSTALL_DATA) $< $@
40
41OBJS = $(C_O_FILES)
42
43#
44# Add local stuff here using +=
45#
46all-local: ${ARCH} $(LIB)
47
48$(LIB): ${OBJS}
49        $(make-library)
50endif
51
52TMPINSTALL_FILES += $(H_FILES)
53
54EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
55
56include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.