source: multiio/pcmmio/Makefile @ 0ecf946

Last change on this file since 0ecf946 was 0ecf946, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/11 at 13:24:28

New file.

  • Property mode set to 100644
File size: 985 bytes
Line 
1#
2#  $Id$
3#
4
5#
6#  RTEMS_MAKEFILE_PATH is typically set in an environment variable
7#
8
9
10PGM=${ARCH}/pcmmio_shell.exe
11
12# optional managers required
13MANAGERS=all
14
15#DEFINES += -DTESTING
16CSRCS = pcmmio_shell.c mio_io.c mio_io_rtems.c multiio_pcmmio.c
17COBJS = $(CSRCS:%.c=${ARCH}/%.o)
18
19# C source names
20#IGNORE mio_io_linux.c for RTEMS
21
22## Older PCMMIO Specific Commands
23##SHARED_CSRCS += main_pcmmio_din.c main_pcmmio_dout.c
24##SHARED_CSRCS += main_pcmmio_adc.c main_pcmmio_dac.c
25##SHARED_CSRCS += main_pcmmio_irq.c
26##SHARED_CSRCS += main_pcmmio_benchmark.c
27## Helper for Winsystems Mains.
28##SHARED_CSRCS += kbhit.c
29
30SHARED_COBJS = $(SHARED_CSRCS:%.c=${ARCH}/%.o)
31SHARED_CONFIG = ${ARCH}/rtems_config.o
32DEFINES += -I../include -I../commands
33LD_LIBS += ../commands/${ARCH}/libmiocmds.a
34
35include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
36include $(RTEMS_CUSTOM)
37include $(PROJECT_ROOT)/make/leaf.cfg
38
39OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
40
41all:    ${ARCH} $(OBJS) $(PGM)
42
43${PGM}: $(OBJS)
44        $(make-exe)
Note: See TracBrowser for help on using the repository browser.