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

4.104.114.84.95
Last change on this file since c125425 was c125425, checked in by Chris Johns <chrisj@…>, on Jul 2, 2003 at 2:09:15 PM

Patch from Victor V. Vengerov <vvv@…> to remove Linux code.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2##  $Id$
3##
4
5
6include $(top_srcdir)/../automake/multilib.am
7include $(top_srcdir)/../automake/compile.am
8include $(top_srcdir)/../automake/lib.am
9
10AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)
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                msdos_conv.c
19
20if !UNIX
21LIB = ${ARCH}/libdosfs.a
22
23C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
24OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
25
26include_HEADERS = dosfs.h
27
28H_FILES = $(PROJECT_INCLUDE) \
29    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
30
31PREINSTALL_FILES = $(PROJECT_INCLUDE) \
32    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
33
34
35$(PROJECT_INCLUDE):
36        @$(mkinstalldirs) $@
37
38$(PROJECT_INCLUDE)/%.h: %.h
39        $(INSTALL_DATA) $< $@
40#
41# Add local stuff here using +=
42#
43all-local: ${ARCH} $(LIB)
44
45$(LIB): ${OBJS}
46        $(make-library)
47endif
48
49TMPINSTALL_FILES += $(H_FILES)
50
51EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
52
53include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.