aboutsummaryrefslogtreecommitdiff
path: root/sw/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-05 00:47:00 -0400
committerRob Austein <sra@hactrn.net>2015-07-05 00:47:00 -0400
commitde6d17659a4308b2313e633b0bf5f62946bbd741 (patch)
tree32c2500cf2967f05a5d482494a5847a926592d1e /sw/Makefile
parent3101c2147524d485c505a0710d38ca19655a7016 (diff)
Rearrange tree to make filenames in source packages come out right.
Diffstat (limited to 'sw/Makefile')
-rw-r--r--sw/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/Makefile b/sw/Makefile
index 9dd7dc9..17a7d9b 100644
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -39,16 +39,16 @@ export OBJCOPY := arm-linux-gnueabihf-objcopy
# Using autoconf was probably a mistake, but hack around it for now.
all:
- cd sw/libtfm; ${MAKE}
- cd sw/libhal; ./configure CFLAGS='-g3 -Wall -fPIC -std=c99 -I$${TFMDIR}' LDFLAGS='-g3 -L$${TFMDIR} -ltfm'
- cd sw/libhal; ${MAKE}
- cd sw/sqlite3; ${MAKE} CROSS_COMPILE=arm-unknown-linux-gnueabi
- cd sw/pkcs11; ${MAKE}
+ cd libtfm; ${MAKE}
+ cd libhal; ./configure CFLAGS='-g3 -Wall -fPIC -std=c99 -I$${TFMDIR}' LDFLAGS='-g3 -L$${TFMDIR} -ltfm'
+ cd libhal; ${MAKE}
+ cd sqlite3; ${MAKE} CROSS_COMPILE=arm-unknown-linux-gnueabi
+ cd pkcs11; ${MAKE}
clean distclean:
- for d in libtfm libhal sqlite3 pkcs11; do (cd sw/$$d && ${MAKE} $@); done
+ for d in libtfm libhal sqlite3 pkcs11; do (cd $$d && ${MAKE} $@); done
install: all
- install -D sw/pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so
- install -D sw/pkcs11/p11util ${DESTDIR}/usr/sbin/p11util
+ install -D pkcs11/libpkcs11.so ${DESTDIR}/usr/lib/libpkcs11.so
+ install -D pkcs11/p11util ${DESTDIR}/usr/sbin/p11util