popt is it's own library
authorewt <devnull@localhost>
Fri, 19 Sep 1997 14:08:10 +0000 (14:08 +0000)
committerewt <devnull@localhost>
Fri, 19 Sep 1997 14:08:10 +0000 (14:08 +0000)
CVS patchset: 1834
CVS date: 1997/09/19 14:08:10

CHANGES
Makefile.in
misc/Makefile.in
rpm.c

diff --git a/CHANGES b/CHANGES
index ef2f47f..c50c240 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@
        - added Obsoletes: tag, an upgrade removes packages which
          have been obsoleted
        - updated rpmdepUpgradePackage() to deal with obsoletes tag
+       - moved popt into a separate library
 
 2.4.6 -> 2.4.7:
        - had some wrong month lengths in changelog date parsing
index 30c3812..cb85874 100644 (file)
@@ -30,13 +30,13 @@ ETCDIR=$(ROOT)/etc
 
 # -----------------------------------------------------------------------
 
-SUBDIRS = misc lib build tools @PO@
+SUBDIRS = popt misc lib build tools @PO@
 INSTSUBDIRS = lib @PO@
 OTHERSUBDIRS = docs autodeps
 OBJS = rpm.o query.o install.o verify.o checksig.o ftp.o url.o @GETTEXTSTUB@
 PROGS = @RPM@ rpm2cpio
 LIBS = @LIBS@ @LIBINTL@ @LIBDL@
-LOADLIBES = -lbuild $(topdir)/lib/librpm.a -lmisc 
+LOADLIBES = -lbuild popt/libpopt.a $(topdir)/lib/librpm.a -lmisc 
 
 SOURCES = $(subst .o,.c,$(OBJS))
 
index 63b76dd..0c66bf8 100644 (file)
@@ -3,7 +3,7 @@ VPATH = $(srcdir)
 
 include $(srcdir)/../Makefile.inc
 
-LIBOBJECTS = @MISCOBJS@ popt.o
+LIBOBJECTS = @MISCOBJS@ 
 LIBMISC = libmisc.a
 
 # -----------------------------------------------------------------------
diff --git a/rpm.c b/rpm.c
index ab67a42..0ca5167 100755 (executable)
--- a/rpm.c
+++ b/rpm.c
@@ -23,7 +23,7 @@
 #include "intl.h"
 #include "lib/messages.h"
 #include "lib/signature.h"
-#include "misc/popt.h"
+#include "popt/popt.h"
 #include "miscfn.h"
 #include "query.h"
 #include "rpmlib.h"