diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-04 22:02:16 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-04 22:02:16 -0400 |
commit | 01271f21bdf8ce46a697b2f74ca759765f09bb4e (patch) | |
tree | 7d0493e15ee35e254ea73d863b4893bde315499d /Makefile | |
parent | b71e2f3c0796b66d118fd0166ae80c7d9a547740 (diff) |
Added colorspin, only reads pages and colors for now
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -12,7 +12,7 @@ host-arch := $(shell uname -m | \ | |||
12 | ARCH ?= ${host-arch} | 12 | ARCH ?= ${host-arch} |
13 | 13 | ||
14 | # LITMUS_KERNEL -- where to find the litmus kernel? | 14 | # LITMUS_KERNEL -- where to find the litmus kernel? |
15 | LITMUS_KERNEL ?= ../backup-litmus-rt | 15 | LITMUS_KERNEL ?= ../litmus-rt |
16 | 16 | ||
17 | 17 | ||
18 | # ############################################################################## | 18 | # ############################################################################## |
@@ -72,7 +72,8 @@ AR := ${CROSS_COMPILE}${AR} | |||
72 | 72 | ||
73 | all = lib ${rt-apps} | 73 | all = lib ${rt-apps} |
74 | rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ | 74 | rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ |
75 | base_mt_task runtests colortest colorbench testcounters bespin | 75 | base_mt_task runtests colortest colorbench testcounters \ |
76 | colorspin singlepage | ||
76 | 77 | ||
77 | .PHONY: all lib clean dump-config TAGS tags cscope help | 78 | .PHONY: all lib clean dump-config TAGS tags cscope help |
78 | 79 | ||
@@ -213,6 +214,9 @@ lib-rt_launch = -lgsl -lgslcblas | |||
213 | obj-rtspin = rtspin.o common.o | 214 | obj-rtspin = rtspin.o common.o |
214 | lib-rtspin = -lrt -lgsl -lgslcblas | 215 | lib-rtspin = -lrt -lgsl -lgslcblas |
215 | 216 | ||
217 | obj-colorspin = colorspin.o common.o | ||
218 | lib-colorspin = -lrt -lgsl -lgslcblas | ||
219 | |||
216 | obj-rtspin.ovh = rtspin.ovh.o common.o | 220 | obj-rtspin.ovh = rtspin.ovh.o common.o |
217 | lib-rtspin.ovh = -lrt -lgsl -lgslcblas | 221 | lib-rtspin.ovh = -lrt -lgsl -lgslcblas |
218 | 222 | ||
@@ -236,6 +240,9 @@ lib-colortest = -static | |||
236 | obj-colorbench = colorbench.o color.o perfcounters.o common.o | 240 | obj-colorbench = colorbench.o color.o perfcounters.o common.o |
237 | lib-colorbench = -lpthread -lrt -lgsl -lgslcblas | 241 | lib-colorbench = -lpthread -lrt -lgsl -lgslcblas |
238 | 242 | ||
243 | obj-singlepage = singlepage.o color.o perfcounters.o common.o | ||
244 | lib-singlepage = -lgsl -lgslcblas | ||
245 | |||
239 | obj-testcounters = testcounters.o | 246 | obj-testcounters = testcounters.o |
240 | lib-testcounters = | 247 | lib-testcounters = |
241 | 248 | ||
@@ -244,7 +251,7 @@ lib-testcounters = | |||
244 | 251 | ||
245 | .SECONDEXPANSION: | 252 | .SECONDEXPANSION: |
246 | ${rt-apps}: $${obj-$$@} liblitmus.a | 253 | ${rt-apps}: $${obj-$$@} liblitmus.a |
247 | $(CC) -o $@ $(LDFLAGS) ${ldf-$@} $(filter-out liblitmus.a,$+) $(LOADLIBS) $(LDLIBS) ${liblitmus-flags} ${lib-$@} | 254 | $(CC) -o $@ $(LDFLAGS) ${ldf-$@} $(filter-out liblitmus.a,$+) $(LOADLIBS) $(LDLIBS) ${lib-$@} ${liblitmus-flags} |
248 | 255 | ||
249 | # ############################################################################## | 256 | # ############################################################################## |
250 | # Dependency resolution. | 257 | # Dependency resolution. |