Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1593)

Unified Diff: tddl/Makefile

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tddl/CMakeLists.txt ('k') | tddl/tddl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tddl/Makefile
diff --git a/tddl/Makefile b/tddl/Makefile
deleted file mode 100644
index 7b928a4172bf0aa8be96f9c3752138ac93ba09ad..0000000000000000000000000000000000000000
--- a/tddl/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# TPM Device Driver Library for the TPM-Emulator package
-# Copyright (C) 2006 Mario Strasser <mast@gmx.net>,
-# Swiss Federal Institute of Technology (ETH) Zurich
-#
-# $Id$
-
-CC := gcc
-WFLAGS := -Wall -Werror -Wno-unused -Wpointer-arith -Wcast-align \
- -Wwrite-strings -Wsign-compare -Wno-multichar
-#WFLAGS += -Wextra -Wcast-qual -Wmissing-prototypes -Wmissing-declarations -Wstrict-aliasing
-CFLAGS += $(WFLAGS) -O2
-
-TDDL := libtddl.so
-TDDLSO1 := $(TDDL).1.2
-TDDLSO2 := $(TDDL).1.2.0
-
-LIBDIR := /usr/lib/
-INCDIR := /usr/include/
-
-all: $(TDDL)
-
-$(TDDL): tddl.c tddl.h
- $(CC) $(CFLAGS) -I.. -fPIC -c -o tddl.o tddl.c
- $(CC) -shared -o $(TDDLSO2) -Wl,-soname,$(TDDLSO1) tddl.o
- test -s $(TDDLSO1) || ln -s $(TDDLSO2) $(TDDLSO1)
- test -s $(TDDL) || ln -s $(TDDLSO1) $(TDDL)
-
-test_tddl: test_tddl.c
- $(CC) $(CFLAGS) -I. -L. test_tddl.c -ltddl -o test_tddl
-
-clean:
- rm -rf $(TDDL) $(TDDLSO1) $(TDDLSO2) *.o test_tddl
-
-INSTALL ?= install
-
-install: $(TDDL)
- $(INSTALL) -D -d $(DESTDIR)/$(INCDIR)
- $(INSTALL) -m 644 tddl.h $(DESTDIR)/$(INCDIR)
- $(INSTALL) -D -d $(DESTDIR)/$(LIBDIR)
- $(INSTALL) -m 644 $(TDDLSO2) $(DESTDIR)/$(LIBDIR)
- cd $(DESTDIR)/$(LIBDIR); ln -s $(TDDLSO2) $(TDDLSO1); ln -s $(TDDLSO1) $(TDDL); cd -
-
-test: test_tddl
- LD_LIBRARY_PATH=. ./test_tddl
-
-.PHONY: all clean install test
-
« no previous file with comments | « tddl/CMakeLists.txt ('k') | tddl/tddl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698