FreeCalypso > hg > themwi-rtp-mgr
annotate librtpalloc/Makefile @ 7:b97024a897c3
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2024 21:12:15 +0000 |
parents | 191d58f5c24f |
children |
rev | line source |
---|---|
3
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CPPFLAGS=-I../build-inc |
6
191d58f5c24f
librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
2 OBJS= recvmsg_wrap.o simple_client.o |
3
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 LIB= librtpalloc.a |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 include ../config.defs |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${LIB} |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${LIB}: ${OBJS} |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ar rcu $@ ${OBJS} |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ranlib $@ |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install: |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 mkdir -p ${DESTDIR}${libdir} |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 install -c -m 644 ${LIB} ${DESTDIR}${libdir} |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: |
60b512a868b4
librtpalloc: port of recvmsg wrapper module
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f *.[oa] errs |