source: rtems/c/src/tests/samples/ticker/Makefile.in @ 196094eb

4.104.114.84.95
Last change on this file since 196094eb was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../..
9subdir = c/src/tests/samples/ticker
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18SAMPLE=ticker
19PGM=${ARCH}/$(SAMPLE).exe
20
21MANAGERS=io
22
23# C source names, if any, go here -- minus the .c
24C_PIECES=init tasks
25C_FILES=$(C_PIECES:%=%.c)
26C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
27
28H_FILES=system.h
29
30DOCTYPES=doc scn
31DOCS=$(DOCTYPES:%=$(SAMPLE).%)
32
33SRCS=$(DOCS) $(C_FILES) $(H_FILES)
34OBJS=$(C_O_FILES)
35
36PRINT_SRCS=$(DOCS)
37
38PGM=${ARCH}/$(SAMPLE).exe
39
40include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
41include $(RTEMS_ROOT)/make/leaf.cfg
42
43#
44# (OPTIONAL) Add local stuff here using +=
45#
46
47DEFINES  +=
48CPPFLAGS +=
49CFLAGS   +=
50
51LD_PATHS  +=
52LD_LIBS   +=
53LDFLAGS   +=
54
55#
56# Add your list of files to delete here.  The config files
57#  already know how to delete some stuff, so you may want
58#  to just run 'make clean' first to see what gets missed.
59#  'make clobber' already includes 'make clean'
60#
61
62CLEAN_ADDITIONS +=
63CLOBBER_ADDITIONS +=
64
65all:    ${ARCH} $(SRCS) $(PGM)
66        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests
67        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/samples
68
69${PGM}: $(OBJS) $(LINK_FILES)
70        $(make-exe)
71
72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73        cd $(top_builddir) \
74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.