FreeCalypso > hg > fc-pcsc-tools
annotate Makefile @ 229:ed8cb3c0d312 default tip
new README, indicating repository move
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 14 Mar 2021 18:26:13 +0000 |
| parents | cac52723c02c |
| children |
| 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 |
|
227
cac52723c02c
top Makefile: mkdir -p /opt/freecalypso/sim-data
Mychaela Falconia <falcon@freecalypso.org>
parents:
189
diff
changeset
|
25 mkdir -p ${INSTALL_PREFIX}/sim-data |
|
189
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
26 mkdir -p ${INSTALL_PREFIX}/sim-scripts |
|
123dc7370581
top Makefile: install scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
164
diff
changeset
|
27 install -c -m 644 scripts/* ${INSTALL_PREFIX}/sim-scripts |
| 2 | 28 |
| 29 FRC: |
