FreeCalypso > hg > fc-pcsc-tools
annotate Makefile @ 205:fc82f0464480
doc/Low-level-commands: update for update-rec-*
command family changes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Mar 2021 05:19:31 +0000 |
parents | 123dc7370581 |
children | cac52723c02c |
rev | line source |
---|---|
163
4cd2023f56a6
sim-iccid-mkfull utility created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
1 PROGDIR=misc offline simtool uicc |
157
f064dbcc5f41
libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
2 LIBDIR= libcommon libutil |
2 | 3 SUBDIR= ${PROGDIR} ${LIBDIR} |
4 | |
189
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
5 INSTALL_PREFIX= /opt/freecalypso |
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
6 |
2 | 7 all: ${SUBDIR} |
8 | |
164
e6263e1b16f8
misc programs don't depend on libutil after the split
Mychaela Falconia <falcon@freecalypso.org>
parents:
163
diff
changeset
|
9 misc: libcommon |
163
4cd2023f56a6
sim-iccid-mkfull utility created, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
157
diff
changeset
|
10 offline: libutil |
157
f064dbcc5f41
libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
11 simtool: libcommon libutil |
f064dbcc5f41
libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents:
27
diff
changeset
|
12 uicc: libcommon libutil |
2 | 13 |
14 ${SUBDIR}: FRC | |
15 cd $@; ${MAKE} ${MFLAGS} | |
16 | |
17 clean: FRC | |
18 rm -f a.out core errs | |
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
20 | |
21 install: FRC | |
189
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
22 mkdir -p ${INSTALL_PREFIX} |
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
24 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
25 mkdir -p ${INSTALL_PREFIX}/sim-scripts |
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
26 install -c -m 644 scripts/* ${INSTALL_PREFIX}/sim-scripts |
2 | 27 |
28 FRC: |