source:
rtems/cpukit/libfs/src/dosfs/Makefile.am
@
47ef863a
Last change on this file since 47ef863a was 47ef863a, checked in by Joel Sherrill <joel.sherrill@…>, on 05/28/02 at 17:21:17 | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[f36a7bfc] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
5 | ||
[47ef863a] | 6 | include $(top_srcdir)/../../../../automake/multilib.am |
7 | include $(top_srcdir)/../../../../automake/compile.am | |
8 | include $(top_srcdir)/../../../../automake/lib.am | |
[f36a7bfc] | 9 | |
[c31deeb] | 10 | INCLUDES = -I../.. |
11 | ||
[2de2bec] | 12 | AM_CFLAGS += $(LIBC_DEFINES) |
[f36a7bfc] | 13 | |
14 | FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c | |
15 | ||
16 | DOSFS_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 | ||
[2de2bec] | 21 | if !UNIX |
22 | LIBNAME = libdosfs | |
23 | LIB = ${ARCH}/${LIBNAME}.a | |
[f36a7bfc] | 24 | |
[2de2bec] | 25 | C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES) |
[f36a7bfc] | 26 | |
27 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) | |
28 | ||
[6940f507] | 29 | include_HEADERS = dosfs.h |
[f36a7bfc] | 30 | |
[2de2bec] | 31 | H_FILES = $(PROJECT_INCLUDE) \ |
32 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
[f36a7bfc] | 33 | |
34 | $(PROJECT_INCLUDE): | |
35 | @$(mkinstalldirs) $@ | |
36 | ||
37 | $(PROJECT_INCLUDE)/%.h: %.h | |
38 | $(INSTALL_DATA) $< $@ | |
39 | ||
40 | OBJS = $(C_O_FILES) | |
41 | ||
42 | # | |
43 | # Add local stuff here using += | |
44 | # | |
45 | all-local: ${ARCH} $(LIB) | |
46 | ||
47 | $(LIB): ${OBJS} | |
48 | $(make-library) | |
[2de2bec] | 49 | endif |
[f36a7bfc] | 50 | |
[2de2bec] | 51 | TMPINSTALL_FILES += $(H_FILES) |
[f36a7bfc] | 52 | |
[2de2bec] | 53 | EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES) |
[f36a7bfc] | 54 | |
[47ef863a] | 55 | include $(top_srcdir)/../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.