annotate mncc/Makefile @ 3:847690ea7f4a

mncc compiles in new environment
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Jun 2024 23:55:06 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CPPFLAGS=-I${includedir}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 PROG= themwi-mncc
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 OBJS= call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 mncc_sock.o mtsock.o outcall.o
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBUTIL=../libutil/libutil.a
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 include ../config.defs
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROG}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${PROG}: ${OBJS} ${LIBUTIL}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lnumdb -lnumutil
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 install:
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 mkdir -p ${DESTDIR}${bindir}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
847690ea7f4a mncc compiles in new environment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f *.o ${PROG} errs