FreeCalypso > hg > themwi-rtp-mgr
annotate librtpalloc/Makefile @ 6:191d58f5c24f
librtpalloc: port the simple client
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 May 2024 21:10:01 +0000 |
parents | 60b512a868b4 |
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 |