summaryrefslogtreecommitdiffstats
path: root/src/appl/user_user
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-07-07 20:58:36 +0000
committerPaul Park <pjpark@mit.edu>1995-07-07 20:58:36 +0000
commitf5feac72367bbaf855c57696036063ef150ce9b2 (patch)
treed9ebac64d0e6562ab56863ae0d0437010d6e17b8 /src/appl/user_user
parent0e6ce6fec56ac88099d08622864877f923b84163 (diff)
downloadkrb5-f5feac72367bbaf855c57696036063ef150ce9b2.tar.gz
krb5-f5feac72367bbaf855c57696036063ef150ce9b2.tar.xz
krb5-f5feac72367bbaf855c57696036063ef150ce9b2.zip
Reorganize library logic and use LDFLAGS from configure
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6250 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/user_user')
-rw-r--r--src/appl/user_user/ChangeLog5
-rw-r--r--src/appl/user_user/Makefile.in14
-rw-r--r--src/appl/user_user/configure.in1
3 files changed, 10 insertions, 10 deletions
diff --git a/src/appl/user_user/ChangeLog b/src/appl/user_user/ChangeLog
index 020fef29f..7d6597ea2 100644
--- a/src/appl/user_user/ChangeLog
+++ b/src/appl/user_user/ChangeLog
@@ -1,4 +1,9 @@
+Fri Jul 7 15:51:45 EDT 1995 Paul Park (pjpark@mit.edu)
+ * Makefile.in - Remove explicit library handling and LDFLAGS.
+ * configure.in - Add KRB5_LIBRARIES.
+
+
Thu Jun 15 17:44:23 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
diff --git a/src/appl/user_user/Makefile.in b/src/appl/user_user/Makefile.in
index b7ef96568..757522ed9 100644
--- a/src/appl/user_user/Makefile.in
+++ b/src/appl/user_user/Makefile.in
@@ -1,15 +1,9 @@
CFLAGS = $(CCOPTS) $(DEFS) -DDEBUG
-LDFLAGS = -g
-
-COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
-KLIB = -lkrb5 -lcrypto $(COMERRLIB)
-DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB)
-
-uuclient: client.o $(DEPKLIB)
- $(LD) $(LDFLAGS) $(LDARGS) -o uuclient client.o $(KLIB) $(LIBS)
+uuclient: client.o $(DEPLIBS)
+ $(LD) $(LDFLAGS) $(LDARGS) -o uuclient client.o $(LIBS)
client.o: $(srcdir)/client.c
@@ -19,8 +13,8 @@ all:: uuclient
clean::
$(RM) client.o uuclient
-uuserver: server.o $(DEPKLIB)
- $(LD) $(LDFLAGS) $(LDARGS) -o uuserver server.o $(KLIB) $(LIBS)
+uuserver: server.o $(DEPLIBS)
+ $(LD) $(LDFLAGS) $(LDARGS) -o uuserver server.o $(LIBS)
server.o: $(srcdir)/server.c
diff --git a/src/appl/user_user/configure.in b/src/appl/user_user/configure.in
index fe538ffe8..bdb4228ec 100644
--- a/src/appl/user_user/configure.in
+++ b/src/appl/user_user/configure.in
@@ -1,5 +1,6 @@
AC_INIT(client.c)
CONFIG_RULES
AC_PROG_INSTALL
+KRB5_LIBRARIES
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE