-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
126 lines (118 loc) · 5.32 KB
/
Makefile
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
SOURCES=Sopc2DTS.java \
sopc2dts/LogListener.java sopc2dts/Logger.java \
sopc2dts/generators/AbstractSopcGenerator.java \
sopc2dts/generators/DTBGenerator2.java \
sopc2dts/generators/DTBHex32Generator.java \
sopc2dts/generators/DTBHex8Generator.java \
sopc2dts/generators/DTGenerator.java \
sopc2dts/generators/DTSGenerator2.java \
sopc2dts/generators/GeneratorFactory.java \
sopc2dts/generators/GraphGenerator.java \
sopc2dts/generators/KernelHeadersGenerator.java \
sopc2dts/generators/SopcCreateHeaderFilesImitator.java \
sopc2dts/generators/UBootHeaderGenerator.java \
sopc2dts/gui/BasicComponentComboBoxModel.java \
sopc2dts/gui/BasicComponentRenderer.java \
sopc2dts/gui/BasicComponentListItem.java \
sopc2dts/gui/BoardInfoPanel.java \
sopc2dts/gui/boardinfo/BISComponentGroup.java \
sopc2dts/gui/boardinfo/BISEthernet.java \
sopc2dts/gui/boardinfo/BISFlash.java \
sopc2dts/gui/boardinfo/BISGeneral.java \
sopc2dts/gui/boardinfo/BISI2C.java \
sopc2dts/gui/boardinfo/BISSpi.java \
sopc2dts/gui/boardinfo/BISSubComponentTable.java \
sopc2dts/gui/boardinfo/BoardInfoSubPanel.java \
sopc2dts/gui/InputPanel.java \
sopc2dts/gui/OutputPanel.java \
sopc2dts/gui/Sopc2DTSGui.java \
sopc2dts/gui/ThreadedLoadPanel.java \
sopc2dts/lib/Bin2IHex.java \
sopc2dts/lib/BoardInfo.java sopc2dts/lib/SopcComponentLib.java \
sopc2dts/lib/AvalonSystem.java sopc2dts/lib/BasicElement.java \
sopc2dts/lib/Connection.java sopc2dts/lib/Parameter.java \
sopc2dts/lib/boardinfo/BICDTAppend.java\
sopc2dts/lib/boardinfo/BICEthernet.java \
sopc2dts/lib/boardinfo/BICI2C.java \
sopc2dts/lib/boardinfo/BICSpi.java \
sopc2dts/lib/boardinfo/BoardInfoComponent.java \
sopc2dts/lib/boardinfo/I2CSlave.java \
sopc2dts/lib/boardinfo/SpiSlave.java \
sopc2dts/lib/boardinfo/SpiSlaveMMC.java \
sopc2dts/lib/components/BasicComponent.java \
sopc2dts/lib/components/InterruptReceiver.java \
sopc2dts/lib/components/Interface.java \
sopc2dts/lib/components/MemoryBlock.java \
sopc2dts/lib/components/SopcComponentDescription.java \
sopc2dts/lib/components/arm/CortexA9GIC.java \
sopc2dts/lib/components/altera/GenericTristateController.java \
sopc2dts/lib/components/altera/PCIeCompiler.java \
sopc2dts/lib/components/altera/PCIeRootPort.java \
sopc2dts/lib/components/altera/SICEpcs.java \
sopc2dts/lib/components/altera/SICLan91c111.java \
sopc2dts/lib/components/altera/SICSgdma.java \
sopc2dts/lib/components/altera/SICTrippleSpeedEthernet.java \
sopc2dts/lib/components/altera/TSEMonolithic.java \
sopc2dts/lib/components/altera/InterfaceGenerator.java \
sopc2dts/lib/components/altera/A10InterfaceGenerator.java \
sopc2dts/lib/components/altera/InterruptBridge.java \
sopc2dts/lib/components/altera/InterruptLatencyCounter.java \
sopc2dts/lib/components/altera/hps/ClockManager.java \
sopc2dts/lib/components/altera/hps/ClockManagerV.java \
sopc2dts/lib/components/altera/hps/ClockManagerA10.java \
sopc2dts/lib/components/altera/hps/SocFpgaGateClock.java \
sopc2dts/lib/components/altera/hps/SocFpgaPeripClock.java \
sopc2dts/lib/components/altera/hps/SocFpgaPllClock.java \
sopc2dts/lib/components/altera/hps/VirtualClockElement.java \
sopc2dts/lib/components/base/ClockSource.java \
sopc2dts/lib/components/base/FlashPartition.java \
sopc2dts/lib/components/base/GpioController.java \
sopc2dts/lib/components/base/SCDSelfDescribing.java \
sopc2dts/lib/components/base/SICBridge.java \
sopc2dts/lib/components/base/SICFlash.java \
sopc2dts/lib/components/base/SICI2CMaster.java \
sopc2dts/lib/components/base/SICEthernet.java \
sopc2dts/lib/components/base/SICSpiMaster.java \
sopc2dts/lib/components/base/SICUnknown.java \
sopc2dts/lib/components/nxp/USBHostControllerISP1xxx.java \
sopc2dts/lib/components/snps/DwGpio.java \
sopc2dts/lib/devicetree/DTBlob.java \
sopc2dts/lib/devicetree/DTElement.java \
sopc2dts/lib/devicetree/DTNode.java \
sopc2dts/lib/devicetree/DTProperty.java \
sopc2dts/lib/devicetree/DTPropByteVal.java \
sopc2dts/lib/devicetree/DTPropHexNumVal.java \
sopc2dts/lib/devicetree/DTPropNumVal.java \
sopc2dts/lib/devicetree/DTPropPHandleVal.java \
sopc2dts/lib/devicetree/DTPropStringVal.java \
sopc2dts/lib/devicetree/DTPropVal.java \
sopc2dts/lib/uboot/UBootComponentLib.java \
sopc2dts/lib/uboot/UBootLibComponent.java \
sopc2dts/parsers/BasicSystemLoader.java \
sopc2dts/parsers/qsys/QSysSubSystem.java \
sopc2dts/parsers/qsys/QSysSystemLoader.java \
sopc2dts/parsers/sopcinfo/SopcInfoAssignment.java \
sopc2dts/parsers/sopcinfo/SopcInfoComponent.java \
sopc2dts/parsers/sopcinfo/SopcInfoConnection.java \
sopc2dts/parsers/sopcinfo/SopcInfoElement.java \
sopc2dts/parsers/sopcinfo/SopcInfoElementIgnoreAll.java \
sopc2dts/parsers/sopcinfo/SopcInfoElementWithParams.java \
sopc2dts/parsers/sopcinfo/SopcInfoInterface.java \
sopc2dts/parsers/sopcinfo/SopcInfoParameter.java \
sopc2dts/parsers/sopcinfo/SopcInfoSystemLoader.java
CLASSES=$(SOURCES:.java=.class)
ifeq ($(wildcard git-version),)
SOPC2DTS_VERSION=$(shell git describe --tag --dirty)
else
SOPC2DTS_VERSION=$(shell cat git-version)
endif
all: sopc2dts.jar
sopc2dts.jar: $(CLASSES) sopc_components_*.xml Makefile
echo "Implementation-Version: ${SOPC2DTS_VERSION}${SOPC2DTS_EXTRA_VERSION}" > manifest
jar -cmef manifest Sopc2DTS sopc2dts.jar *.java *.class sopc2dts sopc_components_*.xml
rm -f manifest
%.class: %.java
javac $<
clean:
rm -f $(CLASSES) manifest
rm -f sopc2dts.jar