source: rtems/c/src/libfs/src/dosfs/Makefile.am @ 05b8b60

4.104.114.84.95
Last change on this file since 05b8b60 was 05b8b60, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:49:35

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

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • src/dosfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • src/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • src/imfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.2 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 = 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.