Blame src/components/host_micpower/Rules.host_micpower
|
Packit |
577717 |
include components/host_micpower/Makefile.host_micpower
|
|
Packit |
577717 |
|
|
Packit |
577717 |
COMPSRCS += components/host_micpower/linux-host_micpower.c
|
|
Packit |
577717 |
COMPOBJS += linux-host_micpower.o
|
|
Packit |
577717 |
|
|
Packit |
577717 |
CFLAGS += -D MICACCESSAPI -D LINUX
|
|
Packit |
577717 |
|
|
Packit |
577717 |
# default install location
|
|
Packit |
577717 |
MPSSROOT ?= /opt/intel/mic
|
|
Packit |
577717 |
SYSMGT = $(MPSSROOT)/sysmgmt/sdk
|
|
Packit |
577717 |
LIBPATH = -L$(SYSMGT)/lib/Linux
|
|
Packit |
577717 |
|
|
Packit |
577717 |
#SCIF_LIBPATH=/usr/lib64
|
|
Packit |
577717 |
|
|
Packit |
577717 |
#LDFLAGS += $(LIBPATH) $(SCIF_LIBPATH) -lpthread -ldl
|
|
Packit |
577717 |
LDFLAGS += -pthread $(LDL) $(SYSMGMT_LIBS)
|
|
Packit |
577717 |
CFLAGS += $(SYSMGMT_CFLAGS)
|
|
Packit |
577717 |
|
|
Packit |
577717 |
linux-host_micpower.o: components/host_micpower/linux-host_micpower.c $(HEADERS)
|
|
Packit |
577717 |
$(CC) $(LIBCFLAGS) $(OPTFLAGS) -c components/host_micpower/linux-host_micpower.c -o linux-host_micpower.o
|