fix for projects with the same name as a record

This commit is contained in:
2017-03-21 14:04:34 +01:00
parent 8b2fa7cb72
commit 11c86a4772
+2 -2
View File
@@ -777,10 +777,10 @@ EPICS_INCLUDES += -I$(EPICS_BASE_INCLUDE) -I$(EPICS_BASE_INCLUDE)/os/$(OS_CLASS)
$(foreach file, ${SRCS} ${TEMPLS} ${SCR}, $(eval vpath $(notdir ${file}) ../$(dir ${file})))
# Do not treat %.dbd the same way because it creates a circular dependency
# if a source dbd has the same name as the project dbd. Have to clear %.dbd.
# if a source dbd has the same name as the project dbd. Have to clear %.dbd snd not use ../ path.
# But the %Record.h and menu%.h rules need to find their dbd files (example: asyn)
vpath %.dbd
vpath %Record.dbd ${DBD_PATH}
vpath %Record.dbd $(filter-out ../,${DBD_PATH})
vpath menu%.dbd ${DBD_PATH}
# find header files to install