This file is indexed.

/usr/share/faumachine/experiments/test-pci-vhdl-con/Makefile is in faumachine-data 20110812-1.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# $Id: Makefile,v 1.14 2010-02-25 17:37:06 potyra Exp $
#

SIMULATION_PC := pc-amd64-pci.vhdl
CDROM_IMAGE := Debian-5.0r0-amd64-DVD-1 \
	cdrom.iso
ADDITIONAL_HW_VHDL := pcicard.vhdl pci_soundcard.vhdl

include $(dir $(shell which faum))/../share/faumachine/vhdl/experiment.mk

distclean clean::
	$(RM) tb.ic
	$(RM) simulate.vcd
	$(RM) *.o
	$(RM) test.bin
	$(RM) cdrom.iso

# rules for test.bin (run during experiment)
%.o:$(EXP_DIR)/%.c
	gcc -m64 -Wall -Werror -c -g -O2 $^ -o $@

test.bin: test.o
	gcc -m64 -static $^ -o $@

cdrom.iso: test.bin
	mkdir -p cdrom.dir
	cp test.bin cdrom.dir
	genisoimage -J -R -o $@ cdrom.dir
	$(RM) -r cdrom.dir


# rules to run function simulation (not needed for experiment)
simulate.vcd: tb.ic
	fauhdli -s work:tb_top_vhd -t work:tb_top_vhd -t work:pcicard -o $@ $<

tb.ic: pcicard.vhdl tb.vhdl
	fauhdlc $^ -o $@


.PHONY: clean all simulate experiment
.PRECIOUS: simulate.vcd