From b42e2466e3333446931dbcdd322129b77510e9e2 Mon Sep 17 00:00:00 2001 From: simon75j Date: Wed, 1 Oct 2008 14:55:50 +0000 Subject: [PATCH] Use AM_CPPFLAGS to avoid per-target flags, to avoid AM_PROG_CC_C_O. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@24 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a361ebf..5d2523e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,8 @@ SUBDIRS=@subdirs@ +AM_CPPFLAGS = -I./yubikey-core -I./rfc4634 + # The library. lib_LTLIBRARIES = libykpers.la @@ -40,7 +42,6 @@ libykpers_la_SOURCES = ykpers.h ykpers.c ykpbkdf2.h ykpbkdf2.c \ rfc4634/hmac.c rfc4634/usha.c rfc4634/sha.h \ rfc4634/sha1.c rfc4634/sha224-256.c rfc4634/sha384-512.c libykpers_la_LIBADD = ./yubikey-core/libykcore.a -lusb -libykpers_la_CFLAGS = -I./yubikey-core -I./rfc4634 libykpers_la_LDFLAGS = -no-undefined \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) @@ -49,7 +50,6 @@ libykpers_la_LDFLAGS = -no-undefined \ bin_PROGRAMS = ykpersonalize ykpersonalize_SOURCES = ykpersonalize.c -ykpersonalize_CFLAGS = -I./yubikey-core ykpersonalize_LDADD = ./libykpers.la # Self tests. -- 2.39.5