Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171304 | Differences between
and this patch

Collapse All | Expand All

(-)../../../gezel-2.2-orig/test/systemc/Makefile (-4 / +13 lines)
Lines 7-13 Link Here
7
7
8
include ../Makefile.cfg
8
include ../Makefile.cfg
9
9
10
GEZEL=$(shell pwd)/../../build
10
#GEZEL=$(shell pwd)/../../build
11
GEZEL=/usr/
12
SYSTEMC=/usr/
11
GCCOPTS=-O3
13
GCCOPTS=-O3
12
14
13
#---------------------------------------------------------------
15
#---------------------------------------------------------------
Lines 19-32 Link Here
19
LIB=-L$(SYSTEMC)/lib-linux/ -lsystemc
21
LIB=-L$(SYSTEMC)/lib-linux/ -lsystemc
20
22
21
%.o: %.cxx
23
%.o: %.cxx
22
	g++ -g $(GCCOPTS) -Wall -c -I$(SYSTEMC)/include -I$(GEZEL)/include/gezel $< -o $@
24
	g++ -g $(GCCOPTS) -Wall -c -I$(GEZEL)/include/gezel $< -o $@
25
26
#original build command 
27
#	g++ -g $(GCCOPTS) -Wall -c -I$(SYSTEMC)/include -I$(GEZEL)/include/gezel $< -o $@
23
28
24
OBJS= accum_sc.o
29
OBJS= accum_sc.o
25
30
26
all: systemc_cosim
31
all: systemc_cosim
27
32
28
systemc_cosim: $(OBJS) $(GEZEL)/lib/libgzlsysc.a $(GEZEL)/lib/libfdl.a $(SYSTEMC)/lib-linux/libsystemc.a
33
systemc_cosim: $(OBJS) $(GEZEL)/lib/libgzlsysc.a $(GEZEL)/lib/libfdl.a $(SYSTEMC)/lib/libsystemc.a
29
	g++ -g $(OBJS) -L$(GEZEL)/lib/ -lgzlsysc -lfdl -L$(SYSTEMC)/lib-linux -lsystemc -lgmp -ldl -o systemc_cosim -Wl,--rpath -Wl,$(GEZEL)/lib/
34
	g++ -g $(OBJS) -lgzlsysc -lfdl -lsystemc -lgmp -ldl -o systemc_cosim
35
36
# the original build command
37
#systemc_cosim: $(OBJS) $(GEZEL)/lib/libgzlsysc.a $(GEZEL)/lib/libfdl.a $(SYSTEMC)/lib-linux/libsystemc.a
38
#	g++ -g $(OBJS) -L$(GEZEL)/lib/ -lgzlsysc -lfdl -L$(SYSTEMC)/lib-linux -lsystemc -lgmp -ldl -o systemc_cosim -Wl,--rpath -Wl,$(GEZEL)/lib/
30
39
31
sim:
40
sim:
32
	export LD_LIBRARY_PATH=../../build/lib; ./systemc_cosim
41
	export LD_LIBRARY_PATH=../../build/lib; ./systemc_cosim

Return to bug 171304