Split libCom/Makefile into individual subdirectories.
The new Makefile fragments in the subdirectories are incomplete and will not work individually. Build rules are placed in a separate RULES file. This approach keeps the instructions for building each file local and easier to find than in a large Makefile in the parent directory.
This commit is contained in:
34
src/libCom/error/Makefile
Normal file
34
src/libCom/error/Makefile
Normal file
@@ -0,0 +1,34 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
|
||||
# This is a Makefile fragment, see src/libCom/Makefile.
|
||||
|
||||
SRC_DIRS += $(LIBCOM)/error
|
||||
|
||||
INC += epicsPrint.h
|
||||
INC += errMdef.h
|
||||
INC += errSymTbl.h
|
||||
INC += errlog.h
|
||||
INC += error.h
|
||||
|
||||
SRCS += errlog.c
|
||||
SRCS += errSymLib.c
|
||||
SRCS += errSymTbl.c
|
||||
|
||||
# For bldErrSymTbl
|
||||
#
|
||||
ERR_S_FILES += $(LIBCOM)/osi/devLib.h
|
||||
ERR_S_FILES += $(LIBCOM)/as/asLib.h
|
||||
ERR_S_FILES += $(SRC)/ioc/db/dbAccessDefs.h
|
||||
ERR_S_FILES += $(SRC)/ioc/dbStatic/devSup.h
|
||||
ERR_S_FILES += $(SRC)/ioc/dbStatic/drvSup.h
|
||||
ERR_S_FILES += $(SRC)/ioc/dbStatic/recSup.h
|
||||
ERR_S_FILES += $(SRC)/ioc/dbStatic/dbStaticLib.h
|
||||
ERR_S_FILES += $(LIBCOM)/error/errMdef.h
|
||||
ERR_S_FILES += $(SRC)/ca/legacy/pcas/generic/casdef.h
|
||||
ERR_S_FILES += $(SRC)/ca/legacy/gdd/gddAppFuncTable.h
|
||||
|
||||
14
src/libCom/error/RULES
Normal file
14
src/libCom/error/RULES
Normal file
@@ -0,0 +1,14 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
|
||||
# This is a Makefile fragment, see src/libCom/Makefile.
|
||||
|
||||
errSymTbl.c: $(ERR_S_FILES) $(LIBCOM)/error/makeStatTbl.pl
|
||||
$(PERL) $(LIBCOM)/error/makeStatTbl.pl $(ERR_S_FILES)
|
||||
|
||||
clean::
|
||||
@$(RM) errSymTbl.c
|
||||
Reference in New Issue
Block a user