Index: testcases/kernel/security/integrity/ima/src/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/integrity/ima/src/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/security/integrity/ima/src/Makefile	31 Mar 2009 13:58:14 -0000	1.1
+++ testcases/kernel/security/integrity/ima/src/Makefile	3 Jul 2009 00:39:54 -0000
@@ -1,12 +1,41 @@
-include ../../../../../../config.mk
+#
+#    Makefile for: kernel/security/integrity/ima testcase.
+#
+#    Copyright (C) 2009, Cisco Systems Inc.
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License along
+#    with this program; if not, write to the Free Software Foundation, Inc.,
+#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
+# Copyright (c) 2009 by Cisco Systems, Inc.
+# All rights reserved
+#
+
+srcdir			?= ../../../..
+
+ifneq ($(MAKECMDGOALS),clean)
+include $(srcdir)/config.mk
+endif
 
 ifeq ($(CRYPTO_LIB),-lcrypto)
-	TARGETS=ima_mmap ima_measure ima_boot_aggregate
-	LDLIBS += $(CRYPTO_LIB)
-else
-	TARGETS=ima_mmap
+TARGETS			:= ima_measure ima_boot_aggregate
+LDLIBS			+= $(CRYPTO_LIB)
 endif
 
+TARGETS			+= ima_mmap
+
 all: $(TARGETS)
 
 install:
