source: rtems/c/src/lib/libcpu/arm/s3c2400/Makefile.am @ 479ac2d8

4.104.114.84.9
Last change on this file since 479ac2d8 was 479ac2d8, checked in by Jay Monkman <jtm@…>, on Mar 11, 2005 at 7:26:45 AM

2005-03-11 Philippe Simons <loki_666@…>

  • Makefile.am, configure.ac: Added gp32 BSP.
  • s3c2400/.cvsignore, s3c2400/Makefile.am, s3c2400/clock/clockdrv.c, s3c2400/include/s3c2400.h, s3c2400/irq/bsp_irq_asm.S, s3c2400/irq/bsp_irq_init.c, s3c2400/irq/irq.c, s3c2400/irq/irq.h, s3c2400/timer/timer.c: New files.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1##
2## $Id$
3##
4
5noinst_PROGRAMS =
6
7include $(top_srcdir)/../../../automake/compile.am
8
9if s3c2400
10include_s3c2400dir = $(includedir)/s3c2400
11include_libcpudir = $(includedir)/libcpu
12include_HEADERS = include/s3c2400.h
13
14## clock
15noinst_PROGRAMS += clock.rel
16clock_rel_SOURCES = clock/clockdrv.c
17clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
18clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
19
20## timer
21noinst_PROGRAMS += timer.rel
22timer_rel_SOURCES = timer/timer.c
23timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
24timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
25
26## interrupt
27include_HEADERS += irq/irq.h
28
29noinst_PROGRAMS += irq.rel
30irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
31    ../../../libbsp/arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
32    ../../../libbsp/arm/shared/irq/irq_asm.S irq/irq.h
33irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
34irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35endif
36
37## --
38all-local: $(PREINSTALL_FILES)
39
40PREINSTALL_DIRS =
41PREINSTALL_FILES =
42
43$(PROJECT_INCLUDE)/$(dirstamp):
44        @$(mkdir_p) $(PROJECT_INCLUDE)
45        @: > $(PROJECT_INCLUDE)/$(dirstamp)
46PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
47
48if s3c2400
49$(PROJECT_INCLUDE)/s3c2400/$(dirstamp):
50        @$(mkdir_p) $(PROJECT_INCLUDE)/s3c2400
51        @: > $(PROJECT_INCLUDE)/s3c2400/$(dirstamp)
52PREINSTALL_DIRS += $(PROJECT_INCLUDE)/s3c2400/$(dirstamp)
53
54$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
55        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
56        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
57PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
58
59$(PROJECT_INCLUDE)/s3c2400.h: include/s3c2400.h $(PROJECT_INCLUDE)/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/s3c2400.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/s3c2400.h
62
63$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
66endif
67
68CLEANFILES = $(PREINSTALL_FILES)
69DISTCLEANFILES = $(PREINSTALL_DIRS)
70
71include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.