source: rtems/cpukit/libfs/src/dosfs/Makefile.am @ 2d709236

4.104.114.84.95
Last change on this file since 2d709236 was 2d709236, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/02 at 06:13:49

2002-12-12 Ralf Corsepius <corsepiu@…>

  • src/imfs/Makefile.am: Eliminate C_O_FILES.
  • src/dosfs/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[f36a7bfc]1##
2##  $Id$
3##
4
5
[7077c87]6include $(top_srcdir)/../automake/multilib.am
7include $(top_srcdir)/../automake/compile.am
8include $(top_srcdir)/../automake/lib.am
[f36a7bfc]9
[3e83325]10AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)
[f36a7bfc]11
12FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c
13
14DOSFS_C_FILES = msdos_create.c msdos_dir.c msdos_eval.c msdos_file.c \
15                msdos_free.c msdos_fsunmount.c msdos_handlers_dir.c  \
16                msdos_handlers_file.c msdos_init.c msdos_initsupp.c  \
17                msdos_misc.c msdos_mknod.c msdos_node_type.c
18
[2de2bec]19if !UNIX
[3e83325]20LIB = ${ARCH}/libdosfs.a
[f36a7bfc]21
[2de2bec]22C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
[2d709236]23OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
[f36a7bfc]24
[6940f507]25include_HEADERS = dosfs.h
[f36a7bfc]26
[2de2bec]27H_FILES = $(PROJECT_INCLUDE) \
28    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
[f36a7bfc]29
30$(PROJECT_INCLUDE):
31        @$(mkinstalldirs) $@
32
33$(PROJECT_INCLUDE)/%.h: %.h
34        $(INSTALL_DATA) $< $@
35#
36# Add local stuff here using +=
37#
38all-local: ${ARCH} $(LIB)
39
40$(LIB): ${OBJS}
41        $(make-library)
[2de2bec]42endif
[f36a7bfc]43
[2de2bec]44TMPINSTALL_FILES += $(H_FILES)
[f36a7bfc]45
[2de2bec]46EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
[f36a7bfc]47
[7077c87]48include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.