| 1 |
# Add CGE units path. This will work for all targets except ppc64le |
| 2 |
# Unfortunatly FPC does not allow to detect endianess here. |
| 3 |
# So just add our path depending on processor and define CGE_FULL_VERSION. |
| 4 |
# This should correctly handle cross compilation too. |
| 5 |
|
| 6 |
#UNDEF CGE_FULL_TARGET |
| 7 |
#IFDEF CPUARMEL |
| 8 |
#DEFINE CGE_FULL_TARGET |
| 9 |
-Fu/usr/lib/$fpctarget-gnueabi/castle-game-engine/fp-units/$fpcversion |
| 10 |
#ENDIF |
| 11 |
|
| 12 |
#IFDEF CPUARMHF |
| 13 |
#DEFINE CGE_FULL_TARGET |
| 14 |
-Fu/usr/lib/$fpctarget-gnueabihf/castle-game-engine/fp-units/$fpcversion |
| 15 |
#ENDIF |
| 16 |
|
| 17 |
#IFDEF CPUPOWERPC64 |
| 18 |
#DEFINE CGE_FULL_TARGET |
| 19 |
-Fu/usr/lib/$fpccpule-$fpcos-gnu/castle-game-engine/fp-units/$fpcversion |
| 20 |
#ENDIF |
| 21 |
|
| 22 |
#IFNDEF CGE_FULL_TARGET |
| 23 |
#DEFINE CGE_FULL_TARGET |
| 24 |
-Fu/usr/lib/$fpctarget-gnu/castle-game-engine/fp-units/$fpcversion |
| 25 |
#ENDIF |