4.104.114.84.95
Last change
on this file since a1f514f was
a1f514f,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/28/98 at 23:03:40
|
First cut implementation of real-time clock support in libchip. This
version compiles cleanly but there is not a BSP with a configuration
table to utilize it.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH = @srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | LIBNAME=librtcio.a |
---|
12 | LIB=${ARCH}/${LIBNAME} |
---|
13 | |
---|
14 | C_PIECES=\ |
---|
15 | rtcprobe m48t08 |
---|
16 | |
---|
17 | C_FILES=$(C_PIECES:%=%.c) |
---|
18 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
19 | |
---|
20 | INSTALLED_H_FILES=$(srcdir)/rtc.h $(srcdir)/m48t08.h |
---|
21 | |
---|
22 | SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES) |
---|
23 | OBJS=$(C_O_FILES) |
---|
24 | |
---|
25 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
26 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
27 | |
---|
28 | # |
---|
29 | # Add local stuff here using += |
---|
30 | # |
---|
31 | |
---|
32 | DEFINES += |
---|
33 | CPPFLAGS += |
---|
34 | CFLAGS += $(LIBC_DEFINES) |
---|
35 | |
---|
36 | # |
---|
37 | # Add your list of files to delete here. The config files |
---|
38 | # already know how to delete some stuff, so you may want |
---|
39 | # to just run 'make clean' first to see what gets missed. |
---|
40 | # 'make clobber' already includes 'make clean' |
---|
41 | # |
---|
42 | |
---|
43 | CLEAN_ADDITIONS += $(LIB) |
---|
44 | CLOBBER_ADDITIONS += |
---|
45 | |
---|
46 | all: ${ARCH} preinstall $(LIB) |
---|
47 | $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib |
---|
48 | |
---|
49 | $(LIB): $(SRCS) ${OBJS} |
---|
50 | $(make-library) |
---|
51 | |
---|
52 | # Install the library, appending _g or _p as appropriate. |
---|
53 | # for include files, just use $(INSTALL) |
---|
54 | preinstall: |
---|
55 | $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip |
---|
56 | |
---|
57 | |
---|
Note: See
TracBrowser
for help on using the repository browser.