annotate Makefile @ 37:8f1700a42ca5 default tip

set_remote: add functions for IPv6 and for sockaddr_{in,in6} A convenient way to pass in remote end address as struct sockaddr_in is needed for tw-border-mgw; IPv6 support will be needed in order to bring twrtp_endp into Osmocom mainline.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 Nov 2024 19:08:28 +0000
parents 84affc6de365
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
1 SUBDIR= include src
4
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 DESTDIR=
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${SUBDIR}
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 ${SUBDIR}: FRC config.defs
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 cd $@; ${MAKE} ${MFLAGS}
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 config.defs:
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 @echo 'You must run ./configure before make'
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 @false
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
36
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
13 install: FRC
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
84affc6de365 Makefile hierarchy: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
15 DESTDIR=${DESTDIR} install); done
4
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
be04d84f5468 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 FRC: