]> err.no Git - yubikey-personalization.old/commitdiff
Use AM_CPPFLAGS to avoid per-target flags, to avoid AM_PROG_CC_C_O.
authorsimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Wed, 1 Oct 2008 14:55:50 +0000 (14:55 +0000)
committersimon75j <simon75j@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Wed, 1 Oct 2008 14:55:50 +0000 (14:55 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@24 b62f149e-849f-11dd-9899-c7ba65f7c4c7

Makefile.am

index a361ebf3416213838eb70cf1cdcea689cebdfbc2..5d2523e9c7b438f3c703aa29e6eb1054a52ac106 100644 (file)
@@ -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.