source: rtems/c/src/tests/samples/cdtest/Makefile.in @ 3a8915e

4.104.114.84.95
Last change on this file since 3a8915e was 3a8915e, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25

Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.

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