]>
Commit | Line | Data |
---|---|---|
3d962ed6 AK |
1 | # Copyright (C) 2012 Red Hat, Inc. All rights reserved. |
2 | # | |
3 | # This file is part of the device-mapper userspace tools. | |
4 | # | |
5 | # This copyrighted material is made available to anyone wishing to use, | |
6 | # modify, copy, or redistribute it subject to the terms and conditions | |
7 | # of the GNU Lesser General Public License v.2.1. | |
8 | # | |
9 | # You should have received a copy of the GNU Lesser General Public License | |
10 | # along with this program; if not, write to the Free Software Foundation, | |
11 | # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
12 | ||
13 | srcdir = @srcdir@ | |
14 | top_srcdir = @top_srcdir@ | |
15 | top_builddir = @top_builddir@ | |
16 | ||
17 | SOURCES = veritysetup.c | |
18 | ||
19 | TARGETS = veritysetup | |
20 | ||
21 | INCLUDES += @VERITYSETUP_CFLAGS@ | |
22 | ||
23 | include $(top_builddir)/make.tmpl | |
24 | ||
25 | VERITYSETUP_LIBS = @VERITYSETUP_LIBS@ | |
26 | ||
6bbbcf42 AK |
27 | all: veritysetup |
28 | ||
3d962ed6 AK |
29 | veritysetup: $(OBJECTS) |
30 | $(CC) $(CFLAGS) $(LDFLAGS) -o veritysetup $(OBJECTS) $(VERITYSETUP_LIBS) | |
31 | ||
6bbbcf42 | 32 | install_verity: $(TARGETS) |
3d962ed6 | 33 | $(INSTALL_PROGRAM) -D veritysetup $(sbindir)/veritysetup |