source:
rtems/cpukit/libfs/src/dosfs/Makefile.am
@
2d709236
Last change on this file since 2d709236 was 2d709236, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/02 at 06:13:49 | |
---|---|
|
|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[f36a7bfc] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
5 | ||
[7077c87] | 6 | include $(top_srcdir)/../automake/multilib.am |
7 | include $(top_srcdir)/../automake/compile.am | |
8 | include $(top_srcdir)/../automake/lib.am | |
[f36a7bfc] | 9 | |
[3e83325] | 10 | AM_CPPFLAGS += -I../.. $(LIBC_DEFINES) |
[f36a7bfc] | 11 | |
12 | FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c | |
13 | ||
14 | DOSFS_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] | 19 | if !UNIX |
[3e83325] | 20 | LIB = ${ARCH}/libdosfs.a |
[f36a7bfc] | 21 | |
[2de2bec] | 22 | C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES) |
[2d709236] | 23 | OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) |
[f36a7bfc] | 24 | |
[6940f507] | 25 | include_HEADERS = dosfs.h |
[f36a7bfc] | 26 | |
[2de2bec] | 27 | H_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 | # | |
38 | all-local: ${ARCH} $(LIB) | |
39 | ||
40 | $(LIB): ${OBJS} | |
41 | $(make-library) | |
[2de2bec] | 42 | endif |
[f36a7bfc] | 43 | |
[2de2bec] | 44 | TMPINSTALL_FILES += $(H_FILES) |
[f36a7bfc] | 45 | |
[2de2bec] | 46 | EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES) |
[f36a7bfc] | 47 | |
[7077c87] | 48 | include $(top_srcdir)/../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.