2022-10-30 17:33:02 +00:00
|
|
|
compiler = meson.get_compiler('c')
|
|
|
|
ws2 = compiler.find_library('ws2_32', required: true)
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
'libpcp.c',
|
|
|
|
'pcpt.c',
|
|
|
|
'pcpp.c',
|
|
|
|
'pcpa.c',
|
|
|
|
'pcp.c',
|
|
|
|
'util.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
libpcp = static_library(
|
|
|
|
'pcp',
|
|
|
|
name_suffix: 'lib',
|
|
|
|
sources: sources,
|
|
|
|
dependencies: [
|
|
|
|
ws2,
|
|
|
|
],
|
|
|
|
link_with: [
|
2023-01-21 18:51:13 +00:00
|
|
|
amiTimer,
|
2023-03-28 20:08:02 +00:00
|
|
|
amiDebug,
|
2022-10-30 17:33:02 +00:00
|
|
|
],
|
|
|
|
)
|