/usr/share/doc/libadasockets5/examples/Makefile is in libadasockets5-dev 1.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # By default, compile all of the demo programs:
EXAMPLES=listener multi stream_listener stream_sender tcpreplay value
all: $(EXAMPLES)
$(EXAMPLES): FORCE
gnatmake -Pexamples
# "FORCE" just forces the depending rule to always be run.
# In particular, we always want to invoke gnatmake, which then checks to see if
# anything needs recompiling.
FORCE:
clean:
rm -f $(EXAMPLES) *.o *.ali
# An alternative is to use commands of the form
# gnatmake `adasockets-config --cflags` $example -largs `adasockets-config --libs`
|