source: rtems/c/src/lib/libchip/rtc/Makefile.in @ a1f514f

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@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11LIBNAME=librtcio.a
12LIB=${ARCH}/${LIBNAME}
13
14C_PIECES=\
15  rtcprobe m48t08
16
17C_FILES=$(C_PIECES:%=%.c)
18C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
19
20INSTALLED_H_FILES=$(srcdir)/rtc.h $(srcdir)/m48t08.h
21
22SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
23OBJS=$(C_O_FILES)
24
25include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
26include $(RTEMS_ROOT)/make/lib.cfg
27
28#
29# Add local stuff here using +=
30#
31
32DEFINES  +=
33CPPFLAGS +=
34CFLAGS   += $(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
43CLEAN_ADDITIONS += $(LIB)
44CLOBBER_ADDITIONS +=
45
46all:    ${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)
54preinstall:
55        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
56
57
Note: See TracBrowser for help on using the repository browser.