* Move the construction of the .pc files into src/tools * Make more use of the built-in rules for variable substitution * Make PKGCONFIG an Makefile variable for installing .pc files * Use EPICS_PATCH_LEVEL for the final digit in the version number
25 lines
700 B
Plaintext
25 lines
700 B
Plaintext
# non-standard variables
|
|
top=@FINAL_LOCATION@
|
|
arch=@ARCH@
|
|
os_class=@OS_CLASS@
|
|
cmplr_class=@CMPLR_CLASS@
|
|
|
|
includedir_osi=${top}/include
|
|
includedir_osd=${top}/include/os/@OS_CLASS@
|
|
includedir_comp=${top}/include/compiler/@CMPLR_CLASS@
|
|
|
|
includedirs=${includedir_osi} ${includedir_osd} ${includedir_comp}
|
|
|
|
# standard variables
|
|
prefix=@FINAL_LOCATION@
|
|
exec_prefix=@FINAL_LOCATION@
|
|
bindir=${top}/bin/@ARCH@
|
|
libdir=${top}/lib/@ARCH@
|
|
|
|
Name: epics-base-@ARCH@
|
|
Version: @EPICS_VERSION@.@EPICS_REVISION@.@EPICS_MODIFICATION@.@EPICS_PATCH_LEVEL@
|
|
Description: EPICS Base for @ARCH@
|
|
Cflags: -I${includedir_osi} -I${includedir_osd} -I${includedir_comp} @C_CFLAGS@
|
|
Libs: -L${libdir} @LDFLAGS@
|
|
Libs.private: @LDLIBS@
|