Fix object file path
authorZhanna Tsitkov <tsitkova@mit.edu>
Tue, 6 Oct 2009 15:47:04 +0000 (15:47 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Tue, 6 Oct 2009 15:47:04 +0000 (15:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22856 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/builtin/aes/Makefile.in

index f888d7d3c3c07fa069e527abc8a89f463720935d..42cd1175c8dfbfe10cb1b24613285b01208fed6a 100644 (file)
@@ -2,7 +2,7 @@ thisconfigdir=../../../..
 myfulldir=lib/crypto/builtin/aes
 mydir=lib/crypto/builtin/aes
 BUILDTOP=$(REL)..$(S)..$(S)..$(S)..
-LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir)/../../krb/dk
+LOCALINCLUDES = -I$(srcdir)/.. -I$(srcdir)/../../krb/dk  -I$(srcdir)/../../../../include
 DEFS=
 
 ##DOS##BUILDTOP = ..\..\..\..
@@ -46,10 +46,10 @@ includes:: depend
 depend:: $(SRCS)
 
 aes-gen: aes-gen.o $(GEN_OBJS)
-       $(CC_LINK) -o aes-gen aes-gen.o $(GEN_OBJS)
+       $(CC_LINK) -I../../../../include $(LOCALINCLUDES) -o ../../$(CIMPL)/aes-gen ../../$(CIMPL)/aes-gen.o $(GEN_OBJS)
 
-run-aes-gen: aes-gen
-       ./aes-gen > kresults.out
+run-aes-gen: ../../$(CIMPL)/aes-gen
+       ../../$(CIMPL)/aes-gen > kresults.out
 
 check:: run-aes-gen
 
@@ -57,7 +57,7 @@ check:: run-aes-gen
 clean-unix:: clean-libobjs
 
 clean::
-       -$(RM) aes-gen aes-gen.o kresults.out
+       -$(RM) ../../$(CIMPL)/aes-gen ../../$(CIMPL)/aes-gen.o ../../$(CIMPL)/kresults.out
 
 @libobj_frag@