Makefile 599 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- Makefile ; coding: utf-8 -*-

# © 2010 Intel Corporation

# Simics module makefile

MODULE_CLASSES=simbricks_pcie
MODULE_COMPONENTS=simbricks_pcie_comp

SRC_FILES = simbricks_pcie.c
PYTHON_FILES = simbricks_pcie_comp.py module_load.py

# SIMBRICKS_LIB needs to be set by caller
MODULE_CFLAGS := -I"$(SIMBRICKS_LIB)" -Wno-address-of-packed-member
MODULE_LDFLAGS := -L"$(SIMBRICKS_LIB)" -lsimbricks

D:= 1

SIMICS_API := 6
THREAD_SAFE:= yes

COMPILE_PYC = 0

ifeq ($(MODULE_MAKEFILE),)
$(error Make sure you compile your module from the project directory)
else
include $(MODULE_MAKEFILE)
endif