Index: src/platform/tpm_lite/src/tlcl/Makefile |
diff --git a/src/platform/tpm_lite/src/tlcl/Makefile b/src/platform/tpm_lite/src/tlcl/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..70e914376967e20bd7981d65c9b66bf5c7a99502 |
--- /dev/null |
+++ b/src/platform/tpm_lite/src/tlcl/Makefile |
@@ -0,0 +1,21 @@ |
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+INCLUDEDIRS = -I../include -I../../../../third_party/tpm-emulator/tpmemu |
+CFLAGS += -g -Wall -Werror -ansi -pedantic $(INCLUDEDIRS) |
+CC ?= cc |
+ |
+libtlcl.a: tlcl.o |
+ ar rcs libtlcl.a tlcl.o |
+ |
+tlcl.o: tlcl.c tlcl_internal.h ../include/tlcl.h structures.h |
+ |
+structures.h: generator |
+ ./generator > structures.h |
+ |
+generator: generator.c ../include/tlcl.h |
+ $(CC) $(CFLAGS) -fpack-struct generator.c -o generator |
+ |
+clean: |
+ rm -f generator *.o *.a structures.h *~ |