# smack-util.c
# smack-util.h
# socket-label.c
+# socket-protocol-list.c
+# socket-protocol-list.h
# socket-util.c
# socket-util.h
# sparse-endian.h
command : [generate_errno_list, cpp],
capture : true)
+generate_socket_protocol_list = find_program('generate-socket-protocol-list.sh')
+socket_protocol_list_txt = custom_target(
+ 'socket-protocol-list.txt',
+ output : 'socket-protocol-list.txt',
+ command : [generate_socket_protocol_list, cpp],
+ capture : true)
+
generated_gperf_headers = []
#if 0 /// elogind has only the cap and errno list.
# foreach item : [['af', af_list_txt, 'af', ''],
# ['arphrd', arphrd_list_txt, 'arphrd', 'ARPHRD_'],
# ['cap', cap_list_txt, 'capability', ''],
-# ['errno', errno_list_txt, 'errno', '']]
+# ['errno', errno_list_txt, 'errno', ''],
+# ['socket-protocol', socket_protocol_list_txt, 'socket_protocol', 'IPPROTO_']]
#else
foreach item : [['cap', cap_list_txt, 'capability', ''],
['errno', errno_list_txt, 'errno', '']]