diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 01:19:16 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 01:19:16 +0000 |
commit | 2303dd5bf1b0eb78756d5c7bc303d380032303ab (patch) | |
tree | 47fe1f44a1fe807b007409a1b7abf38f1de95aab /regress/libexec/ld.so | |
parent | 6be8575a19fbd41a6458390e9591642acf9cfd90 (diff) |
clean up LDADD and make more readable
Diffstat (limited to 'regress/libexec/ld.so')
-rw-r--r-- | regress/libexec/ld.so/dlsym/test1/prog1/Makefile | 7 | ||||
-rw-r--r-- | regress/libexec/ld.so/dlsym/test1/prog2/Makefile | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/regress/libexec/ld.so/dlsym/test1/prog1/Makefile b/regress/libexec/ld.so/dlsym/test1/prog1/Makefile index 6e61b643d42..8119695b128 100644 --- a/regress/libexec/ld.so/dlsym/test1/prog1/Makefile +++ b/regress/libexec/ld.so/dlsym/test1/prog1/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2005/09/14 15:59:37 kurt Exp $ +# $OpenBSD: Makefile,v 1.2 2005/09/19 01:19:15 kurt Exp $ .include <bsd.obj.mk> @@ -13,6 +13,9 @@ AA_OBJDIR!= if [ -d $(AA_DIR)/${__objdir} ]; then \ PROG= prog1 SRCS= main.c CPPFLAGS+= -I$(AA_DIR) -LDADD= -Wl,-E -Wl,-rpath,$(AA_OBJDIR) -L$(AA_OBJDIR) -laa +LDADD+= -laa +LDFLAGS+= -Wl,-E +LDFLAGS+= -Wl,-rpath,$(AA_OBJDIR) +LDFLAGS+= -L$(AA_OBJDIR) .include <bsd.regress.mk> diff --git a/regress/libexec/ld.so/dlsym/test1/prog2/Makefile b/regress/libexec/ld.so/dlsym/test1/prog2/Makefile index 67086eab987..5a928826613 100644 --- a/regress/libexec/ld.so/dlsym/test1/prog2/Makefile +++ b/regress/libexec/ld.so/dlsym/test1/prog2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2005/09/15 15:37:15 kurt Exp $ +# $OpenBSD: Makefile,v 1.2 2005/09/19 01:19:15 kurt Exp $ .include <bsd.obj.mk> @@ -13,6 +13,9 @@ AA_OBJDIR!= if [ -d $(AA_DIR)/${__objdir} ]; then \ PROG= prog2 SRCS= main.c CPPFLAGS+= -I$(AA_DIR) -LDADD= -Wl,-E -Wl,-rpath,$(AA_OBJDIR) -L$(AA_OBJDIR) -laa +LDADD+= -laa +LDFLAGS+= -Wl,-E +LDFLAGS+= -Wl,-rpath,$(AA_OBJDIR) +LDFLAGS+= -L$(AA_OBJDIR) .include <bsd.regress.mk> |