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

Unified Diff: tpmd/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 | « tpmd/CMakeLists.txt ('k') | tpmd/unix/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tpmd/Makefile
diff --git a/tpmd/Makefile b/tpmd/Makefile
deleted file mode 100644
index cbdd36c910172fffa2b742ed256deb50e6aaa7c7..0000000000000000000000000000000000000000
--- a/tpmd/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Software-Based Trusted Platform Module (TPM) Emulator for Linux
-# Copyright (C) 2004-2006 Mario Strasser <mast@gmx.net>
-#
-# $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) -g -I.. -I. -O2 -fno-strict-aliasing
-LDFLAGS += -lgmp
-
-BINDIR := /usr/sbin/
-
-TPMD := tpmd
-DIRS := ../tpm ../crypto
-SRCS := $(foreach dir, $(DIRS), $(wildcard $(dir)/*.c))
-OBJS := $(patsubst %.c, %.o, $(SRCS))
-OBJS := $(foreach dir, $(DIRS), $(patsubst $(dir)/%.o, %.o, $(filter $(dir)/%.o, $(OBJS))))
-
-vpath %.c $(strip $(DIRS))
-
-all: $(TPMD)
-
-$(TPMD): $(OBJS)
-
-clean:
- rm -f $(TPMD) $(OBJS)
-
-TPMD_USER ?= tss
-TPMD_GROUP ?= tss
-INSTALL ?= install
-
-install: $(TPMD)
- $(INSTALL) -m 755 -o $(TPMD_USER) -g $(TPMD_GROUP) -d $(DESTDIR)/var/lib/tpm
- $(INSTALL) -m 755 -o $(TPMD_USER) -g $(TPMD_GROUP) -d $(DESTDIR)/var/run/tpm
- $(INSTALL) -D -d $(DESTDIR)/$(BINDIR)
- $(INSTALL) -m 755 $(TPMD) $(DESTDIR)/$(BINDIR)
-
-.PHONY: all clean install
-
« no previous file with comments | « tpmd/CMakeLists.txt ('k') | tpmd/unix/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698