source: rtems/c/src/libchip/rtc/Makefile.in @ 677943a

4.104.114.84.9
Last change on this file since 677943a was 677943a, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 29, 1998 at 12:01:44 AM

Added new files.

  • Property mode set to 100644
File size: 1.3 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 \
16  icm7170 icm7170_reg icm7170_reg2 icm7170_reg4 icm7170_reg8 \
17  m48t08 m48t08_reg m48t08_reg2 m48t08_reg4 m48t08_reg8
18
19C_FILES=$(C_PIECES:%=%.c)
20C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
21
22INSTALLED_H_FILES=$(srcdir)/rtc.h \
23    $(srcdir)/icm7170.h $(srcdir)/m48t08.h
24
25SRCS=$(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(PRIVATE_H_FILES)
26OBJS=$(C_O_FILES)
27
28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
29include $(RTEMS_ROOT)/make/lib.cfg
30
31#
32# Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   += $(LIBC_DEFINES)
38
39#
40# Add your list of files to delete here.  The config files
41#  already know how to delete some stuff, so you may want
42#  to just run 'make clean' first to see what gets missed.
43#  'make clobber' already includes 'make clean'
44#
45
46CLEAN_ADDITIONS += $(LIB)
47CLOBBER_ADDITIONS +=
48
49all:    ${ARCH} preinstall $(LIB)
50        $(INSTALL_VARIANT) -m 644 ${LIB} ${PROJECT_RELEASE}/lib
51
52$(LIB): $(SRCS) ${OBJS}
53        $(make-library)
54
55# Install the library, appending _g or _p as appropriate.
56# for include files, just use $(INSTALL)
57preinstall:
58        $(INSTALL) -m 444 $(INSTALLED_H_FILES) $(PROJECT_INCLUDE)/libchip
59
60
Note: See TracBrowser for help on using the repository browser.