FreeCalypso > hg > themwi-system-sw
view utils/Makefile @ 238:697fe2c87fec
themwi-check-own: convert to libnumdb2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 14 Aug 2023 14:42:59 -0800 |
parents | a349ae9d90fa |
children | 19d1c39ae4e7 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ themwi-dump-numdb themwi-dump-numdb2 themwi-short-dial \ themwi-update-numdb themwi-update-numdb2 themwi-update-outrt NOINST= rtp-alloc-test smpp-test1 smpp-test2 tcpserv-dump LIBNUMDB=../libnumdb/libnumdb.a LIBNUMDB2=../libnumdb2/libnumdb.a LIBRTPA=../librtpalloc/librtpalloc.a LIBSIP= ../libsip/libsip.a LIBUTIL=../libutil/libutil.a INSTBIN=/usr/local/bin all: ${PROGS} ${NOINST} rtp-alloc-test: rtp-alloc-test.o ${LIBRTPA} ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBRTPA} ${LIBUTIL} sip-out-test: sip-out-test.c ${CC} ${CFLAGS} -o $@ $@.c sip-rx-test: sip-rx-test.o ${LIBSIP} ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP} sip-udp-dump: sip-udp-dump.c ${CC} ${CFLAGS} -o $@ $@.c smpp-test1: smpp-test1.c ${CC} ${CFLAGS} -o $@ $@.c smpp-test2: smpp-test2.c ${CC} ${CFLAGS} -o $@ $@.c tcpserv-dump: tcpserv-dump.c ${CC} ${CFLAGS} -o $@ $@.c themwi-check-own: themwi-check-own.o ${LIBNUMDB2} ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB2} ${LIBUTIL} themwi-dump-numdb: themwi-dump-numdb.c ${CC} ${CFLAGS} -o $@ $@.c themwi-dump-numdb2: themwi-dump-numdb2.c ${CC} ${CFLAGS} -o $@ $@.c themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} themwi-update-numdb2: themwi-update-numdb2.o ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} themwi-update-outrt: themwi-update-outrt.o ${LIBUTIL} ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} install: install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} clean: rm -f *.o ${PROGS} ${NOINST} errs