Debian Codegraph @

modules/libcom/RTEMS/Makefile

raw
1 #*************************************************************************
2 # Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 # National Laboratory.
4 # Copyright (c) 2002 The Regents of the University of California, as
5 # Operator of Los Alamos National Laboratory.
6 # EPICS BASE is distributed subject to a Software License Agreement found
7 # in file LICENSE that is included with this distribution.
8 #*************************************************************************
9
10 TOP = ../../..
11 include $(TOP)/configure/CONFIG
12 include $(TOP)/configure/CONFIG_LIBCOM_VERSION
13
14 # check check
15 SRC_DIRS += ../$(OS_API)
16
17 PERL_SCRIPTS += epicsMakeMemFs.pl
18
19 INC += epicsRtemsInitHooks.h
20 INC += epicsMemFs.h
21 INC += epicsNtp.h
22
23 ifeq ($(RTEMS_QEMU_FIXUPS),YES)
24 rtems_init_CPPFLAGS += -DQEMU_FIXUPS
25 endif
26 rtemsCom_SRCS += rtems_init.c
27 rtemsCom_SRCS += rtems_config.c
28 rtemsCom_SRCS += rtems_netconfig.c
29 rtemsCom_SRCS += rtems_util.c
30 rtemsCom_SRCS += setBootConfigFromNVRAM.c
31 rtemsCom_SRCS += epicsRtemsInitHookPre.c
32 rtemsCom_SRCS += epicsRtemsInitHookPost.c
33 rtemsCom_SRCS += epicsMemFs.c
34 rtemsCom_SRCS += epicsNtp.c
35
36 ifeq ($(RTEMS_TARGET_CPU),i386)
37 rtemsCom_SRCS += ne2kpci.c
38 endif
39
40 rtems_config_CPPFLAGS += -DBSP_$(RTEMS_BSP)
41
42 LIBRARY_RTEMS = rtemsCom
43
44 # shared library ABI version.
45 SHRLIB_VERSION = $(EPICS_LIBCOM_MAJOR_VERSION).$(EPICS_LIBCOM_MINOR_VERSION).$(EPICS_LIBCOM_MAINTENANCE_VERSION)
46
47 include $(TOP)/configure/RULES