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

Side by Side Diff: 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 unified diff | Download patch
« no previous file with comments | « ChangeLog ('k') | README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Software-Based Trusted Platform Module (TPM) Emulator for Linux
2 # Copyright (C) 2006 Mario Strasser <mast@gmx.net>
3 #
4 # $Id$
5
6 # tpm settings
7 PACKAGE_NAME := tpm_emulator
8 VERSION_MAJOR := 0
9 VERSION_MINOR := 7
10 VERSION_SUFFIX :=
11
12 SUBDIRS := tpmd tpmd_dev tddl
13
14 all: all-recursive
15
16 clean: clean-recursive
17 rm -f tpm/tpm_version.h
18
19 install: install-recursive
20
21 all-recursive clean-recursive install-recursive:
22 @target=`echo $@ | sed s/-recursive//`; \
23 for subdir in $(SUBDIRS); do \
24 echo "Making $$target in $$subdir"; \
25 $(MAKE) -C $$subdir $$target || exit -1; \
26 done
27
28 user: version
29 @$(MAKE) -C tpmd all || exit -1
30 @$(MAKE) -C tddl all || exit -1
31
32 modules: version
33 @$(MAKE) -C tpmd_dev all || exit -1
34
35 user_install: user
36 @$(MAKE) -C tpmd install || exit -1
37 @$(MAKE) -C tddl install || exit -1
38
39 modules_install: modules
40 @$(MAKE) -C tpmd_dev install || exit -1
41
42 DIRS := . tpm crypto tpmd tpmd_dev tddl tpmd_dev_openbsd
43 DISTSRC := $(foreach dir, $(DIRS), $(wildcard $(dir)/*.c))
44 DISTSRC += $(foreach dir, $(DIRS), $(wildcard $(dir)/*.h))
45 DIRS := . tpmd tpmd_dev tddl tpmd_dev_openbsd
46 DISTSRC += $(foreach dir, $(DIRS), $(dir)/Makefile)
47 DISTSRC += ./README ./AUTHORS ./ChangeLog tpmd_dev/tpmd_dev.rules.in
48 DISTDIR := tpm_emulator-$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_SUFFIX)
49
50 dist: $(DISTSRC)
51 @rm -rf $(DISTDIR); mkdir $(DISTDIR)
52 @cp --parents $(DISTSRC) $(DISTDIR)/
53 tar -chzf $(DISTDIR).tar.gz $(DISTDIR)
54 @rm -rf $(DISTDIR)
55
56 .PHONY: all version clean install dist
57
OLDNEW
« no previous file with comments | « ChangeLog ('k') | README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698