diff options
Diffstat (limited to 'import/chips/p9/procedures/hwp')
-rw-r--r-- | import/chips/p9/procedures/hwp/pm/Makefile | 30 | ||||
-rw-r--r-- | import/chips/p9/procedures/hwp/pm/pmfiles.mk | 19 |
2 files changed, 49 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/hwp/pm/Makefile b/import/chips/p9/procedures/hwp/pm/Makefile new file mode 100644 index 00000000..5dace688 --- /dev/null +++ b/import/chips/p9/procedures/hwp/pm/Makefile @@ -0,0 +1,30 @@ + +# This Makefile compiles all of the pm hardware procedure code. See the +# "pmfiles.mk" file in this directory. + +#all generated files from this makefile will end up in obj/pm +export SUB_OBJDIR = /pm + +include img_defs.mk +include pmfiles.mk + + +OBJS := $(addprefix $(OBJDIR)/, $(PM_OBJECTS)) + +libpm.a: pm + $(AR) crs $(OBJDIR)/libpm.a $(OBJDIR)/*.o + +.PHONY: clean pm +pm: $(OBJS) + +$(OBJS) $(OBJS:.o=.d): | $(OBJDIR) + +$(OBJDIR): + mkdir -p $(OBJDIR) + +clean: + rm -fr $(OBJDIR) + +ifneq ($(MAKECMDGOALS),clean) +include $(OBJS:.o=.d) +endif diff --git a/import/chips/p9/procedures/hwp/pm/pmfiles.mk b/import/chips/p9/procedures/hwp/pm/pmfiles.mk new file mode 100644 index 00000000..a43c3c73 --- /dev/null +++ b/import/chips/p9/procedures/hwp/pm/pmfiles.mk @@ -0,0 +1,19 @@ +# @file pmfiles.mk +# +# @brief mk for including pm object files +# +########################################################################## +# Object Files +########################################################################## + +PM-CPP-SOURCES +=p9_pm_ocb_indir_access.C +PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_circular.C +PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_linear.C +PM-CPP-SOURCES +=p9_pm_ocb_init.C +PM-CPP-SOURCES +=p9_pm_utils.C +PM-C-SOURCES = +PM-S-SOURCES = + +PM_OBJECTS += $(PM-CPP-SOURCES:.C=.o) +PM_OBJECTS += $(PM-C-SOURCES:.c=.o) +PM_OBJECTS += $(PM-S-SOURCES:.S=.o) |