diff options
author | jbj <devnull@localhost> | 1999-07-15 21:09:52 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-07-15 21:09:52 +0000 |
commit | d73d7c130cc6dde7eb651c149b97233b994df3af (patch) | |
tree | afe03b69e2e7e298bafb0297f3118931b88a4d4b | |
parent | 35f09998f87dca3101b5989db4ff8c4df9fbac02 (diff) | |
download | rpm-d73d7c130cc6dde7eb651c149b97233b994df3af.tar.gz rpm-d73d7c130cc6dde7eb651c149b97233b994df3af.tar.bz2 rpm-d73d7c130cc6dde7eb651c149b97233b994df3af.zip |
Carry Makefile.in for now.
CVS patchset: 3166
CVS date: 1999/07/15 21:09:52
-rw-r--r-- | python/.cvsignore | 1 | ||||
-rw-r--r-- | python/Makefile.am | 1 | ||||
-rw-r--r-- | python/Makefile.in | 533 |
3 files changed, 236 insertions, 299 deletions
diff --git a/python/.cvsignore b/python/.cvsignore index 51f6a4ce4..5c159bbdb 100644 --- a/python/.cvsignore +++ b/python/.cvsignore @@ -1,6 +1,5 @@ .deps Makefile -Makefile.in .libs *.la *.lo diff --git a/python/Makefile.am b/python/Makefile.am index f6c769fe9..646dcd35d 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -13,6 +13,7 @@ mylibs= \ $(top_builddir)/lib/librpm.la \ $(top_builddir)/popt/libpopt.la +EXTRA_DIST = Makefile.in pythondir = $(prefix)/lib/python1.5/site-packages python_PROGRAMS = rpmmodule.so diff --git a/python/Makefile.in b/python/Makefile.in index e7620161b..d4ff3e6cc 100644 --- a/python/Makefile.in +++ b/python/Makefile.in @@ -1,7 +1,6 @@ -# Makefile.in generated automatically by automake 1.5 from Makefile.am. +# Makefile.in generated automatically by automake 1.4a from Makefile.am -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,10 +10,9 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -@SET_MAKE@ - # Makefile for rpm library. + SHELL = @SHELL@ srcdir = @srcdir@ @@ -35,9 +33,13 @@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include + +DESTDIR = + pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = .. ACLOCAL = @ACLOCAL@ @@ -49,8 +51,9 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_HEADER = $(INSTALL_DATA) +INSTALL_STRIP_FLAG = transform = @program_transform_name@ + NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : @@ -63,46 +66,34 @@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ -AMTAR = @AMTAR@ AR = @AR@ AS = @AS@ AWK = @AWK@ -BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ -BUILD_RPMNLSTOOLS = @BUILD_RPMNLSTOOLS@ +BUILD_RPMCONVERT = @BUILD_RPMCONVERT@ BZIP2BIN = @BZIP2BIN@ +CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CPP = @CPP@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ -CXX = @CXX@ DATADIRNAME = @DATADIRNAME@ -DBLIBOBJS = @DBLIBOBJS@ -DBLIBSRCS = @DBLIBSRCS@ -DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ -ECHO = @ECHO@ -EXEEXT = @EXEEXT@ FINDPROVIDES = @FINDPROVIDES@ FINDREQUIRES = @FINDREQUIRES@ FIXPERMS = @FIXPERMS@ GENCAT = @GENCAT@ -GLIBC21 = @GLIBC21@ +GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ +GT_NO = @GT_NO@ +GT_YES = @GT_YES@ GZIPBIN = @GZIPBIN@ -HAVE_LIB = @HAVE_LIB@ +INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ INCPATH = @INCPATH@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ -INTLBISON = @INTLBISON@ +INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ -INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LD = @LD@ LDFLAGS_STATIC = @LDFLAGS_STATIC@ -LIB = @LIB@ -LIBDIR = @LIBDIR@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ LIBMISC = @LIBMISC@ LIBOBJS = @LIBOBJS@ LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@ @@ -111,17 +102,17 @@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LOCALEDIR = @LOCALEDIR@ -LTLIB = @LTLIB@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ MACROFILES = @MACROFILES@ +MAKEINFO = @MAKEINFO@ MKDIR = @MKDIR@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +NM = @NM@ OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PGPBIN = @PGPBIN@ +POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ ROOT_GROUP = @ROOT_GROUP@ @@ -130,154 +121,120 @@ RPMCANONARCH = @RPMCANONARCH@ RPMCANONOS = @RPMCANONOS@ RPMCANONVENDOR = @RPMCANONVENDOR@ RPMCONFIGDIR = @RPMCONFIGDIR@ -RPMGID = @RPMGID@ -RPMGROUP = @RPMGROUP@ -RPMUID = @RPMUID@ -RPMUSER = @RPMUSER@ -STRIP = @STRIP@ SYSCONFIGDIR = @SYSCONFIGDIR@ U = @U@ -UNZIPBIN = @UNZIPBIN@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ -WITH_APIDOCS = @WITH_APIDOCS@ -WITH_APIDOCS_TARGET = @WITH_APIDOCS_TARGET@ -WITH_BZIP2 = @WITH_BZIP2@ -WITH_DB_SUBDIR = @WITH_DB_SUBDIR@ -WITH_INTERNAL_DB = @WITH_INTERNAL_DB@ -WITH_PYTHON_SUBDIR = @WITH_PYTHON_SUBDIR@ -WITH_PYTHON_SUBPACKAGE = @WITH_PYTHON_SUBPACKAGE@ -WITH_PYTHON_VERSION = @WITH_PYTHON_VERSION@ -WITH_ZLIB_INCLUDE = @WITH_ZLIB_INCLUDE@ -WITH_ZLIB_LIB = @WITH_ZLIB_LIB@ -WITH_ZLIB_SUBDIR = @WITH_ZLIB_SUBDIR@ __CAT = @__CAT@ __CHGRP = @__CHGRP@ -__CHGRP_RHF = @__CHGRP_RHF@ __CHMOD = @__CHMOD@ __CHOWN = @__CHOWN@ -__CHOWN_RHF = @__CHOWN_RHF@ __CP = @__CP@ __CPIO = @__CPIO@ -__DOXYGEN = @__DOXYGEN@ -__FILE = @__FILE@ -__GPG = @__GPG@ -__GREP = @__GREP@ __ID = @__ID@ -__ID_U = @__ID_U@ -__INSTALL = @__INSTALL@ -__LD = @__LD@ __MAKE = @__MAKE@ __MKDIR = @__MKDIR@ __MV = @__MV@ -__NM = @__NM@ -__OBJCOPY = @__OBJCOPY@ -__OBJDUMP = @__OBJDUMP@ __PATCH = @__PATCH@ -__PERL = @__PERL@ -__PYTHON = @__PYTHON@ __RM = @__RM@ -__RSH = @__RSH@ -__SED = @__SED@ -__SSH = @__SSH@ -__STRIP = @__STRIP@ __TAR = @__TAR@ -am__include = @am__include@ -am__quote = @am__quote@ -install_sh = @install_sh@ -libdb3 = @libdb3@ -libdb3a = @libdb3a@ +l = @l@ testdir = @testdir@ tmpdir = @tmpdir@ varprefix = @varprefix@ AUTOMAKE_OPTIONS = 1.4 foreign -PYVER = @WITH_PYTHON_VERSION@ - -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/lib \ - -I$(top_srcdir)/rpmdb \ - -I$(top_srcdir)/rpmio \ - -I$(top_srcdir)/beecrypt \ - -I$(top_srcdir)/popt \ - -I/usr/include/python${PYVER} \ - @INCPATH@ - +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/popt -I/usr/include/python1.5 @INCPATH@ -EXTRA_DIST = db-py.h hash.h header-py.h upgrade.h -mylibs = \ - $(top_builddir)/lib/librpm.la \ - $(top_builddir)/rpmdb/librpmdb.la \ - $(top_builddir)/rpmio/librpmio.la \ - $(top_builddir)/popt/libpopt.la +mylibs = $(top_builddir)/lib/librpm.la $(top_builddir)/popt/libpopt.la -LDADD = +EXTRA_DIST = Makefile.in -pythondir = $(prefix)/lib/python${PYVER}/site-packages -python_PROGRAMS = rpmmodule.so poptmodule.so - -rpmmodule_so_SOURCES = -rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so - -poptmodule_so_SOURCES = poptmodule.c -poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so +pythondir = $(prefix)/lib/python1.5/site-packages +python_PROGRAMS = rpmmodule.so noinst_LTLIBRARIES = librpmmodule.la -librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c header-py.c db-py.c -subdir = python +librpmmodule_la_SOURCES = rpmmodule.c mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -LTLIBRARIES = $(noinst_LTLIBRARIES) - -librpmmodule_la_LDFLAGS = -librpmmodule_la_LIBADD = -am_librpmmodule_la_OBJECTS = rpmmodule.lo hash.lo upgrade.lo \ - header-py.lo db-py.lo -librpmmodule_la_OBJECTS = $(am_librpmmodule_la_OBJECTS) -python_PROGRAMS = rpmmodule.so$(EXEEXT) poptmodule.so$(EXEEXT) -PROGRAMS = $(python_PROGRAMS) - -am_poptmodule_so_OBJECTS = poptmodule.$(OBJEXT) -poptmodule_so_OBJECTS = $(am_poptmodule_so_OBJECTS) -poptmodule_so_LDADD = $(LDADD) -poptmodule_so_DEPENDENCIES = -am_rpmmodule_so_OBJECTS = -rpmmodule_so_OBJECTS = $(am_rpmmodule_so_OBJECTS) -rpmmodule_so_LDADD = $(LDADD) -rpmmodule_so_DEPENDENCIES = +CONFIG_HEADER = ../config.h +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) -DEFS = @DEFS@ -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) + +DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -depcomp = $(SHELL) $(top_srcdir)/depcomp -@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/db-py.Plo $(DEPDIR)/hash.Plo \ -@AMDEP_TRUE@ $(DEPDIR)/header-py.Plo $(DEPDIR)/poptmodule.Po \ -@AMDEP_TRUE@ $(DEPDIR)/rpmmodule.Plo $(DEPDIR)/upgrade.Plo -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ - $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +librpmmodule_la_LDFLAGS = +librpmmodule_la_LIBADD = +librpmmodule_la_OBJECTS = rpmmodule.lo +PROGRAMS = $(python_PROGRAMS) + +rpmmodule_so_SOURCES = rpmmodule.so.c +rpmmodule_so_OBJECTS = rpmmodule.so.o +rpmmodule_so_LDADD = $(LDADD) +rpmmodule_so_DEPENDENCIES = +rpmmodule_so_LDFLAGS = CFLAGS = @CFLAGS@ -DIST_SOURCES = $(librpmmodule_la_SOURCES) $(poptmodule_so_SOURCES) \ - $(rpmmodule_so_SOURCES) -DIST_COMMON = ChangeLog Makefile.am Makefile.in -SOURCES = $(librpmmodule_la_SOURCES) $(poptmodule_so_SOURCES) $(rpmmodule_so_SOURCES) +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -all: all-am +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/rpmmodule.P .deps/rpmmodule.so.P +SOURCES = $(librpmmodule_la_SOURCES) rpmmodule.so.c +OBJECTS = $(librpmmodule_la_OBJECTS) rpmmodule.so.o +all: all-redirect .SUFFIXES: -.SUFFIXES: .c .lo .o .obj +.SUFFIXES: .S .c .lo .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --foreign python/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +mostlyclean-noinstLTLIBRARIES: + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + +distclean-noinstLTLIBRARIES: + +maintainer-clean-noinstLTLIBRARIES: + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +.s.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +.S.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< mostlyclean-libtool: -rm -f *.lo @@ -286,224 +243,204 @@ clean-libtool: -rm -rf .libs _libs distclean-libtool: - -rm -f libtool -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign python/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && \ - CONFIG_HEADERS= CONFIG_LINKS= \ - CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) -librpmmodule.la: $(librpmmodule_la_OBJECTS) $(librpmmodule_la_DEPENDENCIES) +maintainer-clean-libtool: + +librpmmodule.la: $(librpmmodule_la_OBJECTS) $(librpmmodule_la_DEPENDENCIES) $(LINK) $(librpmmodule_la_LDFLAGS) $(librpmmodule_la_OBJECTS) $(librpmmodule_la_LIBADD) $(LIBS) + +mostlyclean-pythonPROGRAMS: + +clean-pythonPROGRAMS: + -test -z "$(python_PROGRAMS)" || rm -f $(python_PROGRAMS) + +distclean-pythonPROGRAMS: + +maintainer-clean-pythonPROGRAMS: + install-pythonPROGRAMS: $(python_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(pythondir) @list='$(python_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pythondir)/$$f"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pythondir)/$$f; \ + if test -f $$p; then \ + echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pythondir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(pythondir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-pythonPROGRAMS: @$(NORMAL_UNINSTALL) - @list='$(python_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f $(DESTDIR)$(pythondir)/$$f"; \ - rm -f $(DESTDIR)$(pythondir)/$$f; \ + list='$(python_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(pythondir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done -clean-pythonPROGRAMS: - -test -z "$(python_PROGRAMS)" || rm -f $(python_PROGRAMS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/db-py.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/hash.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/header-py.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/poptmodule.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/rpmmodule.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/upgrade.Plo@am__quote@ - -distclean-depend: - -rm -rf $(DEPDIR) - -.c.o: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$< - -.c.obj: -@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(COMPILE) -c `cygpath -w $<` - -.c.lo: -@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< -CCDEPMODE = @CCDEPMODE@ -uninstall-info-am: - tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - mkid -fID $$unique $(LISP) + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: -GTAGS: - here=`CDPATH=: && cd $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here +clean-tags: distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH + -rm -f TAGS ID -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +maintainer-clean-tags: -top_distdir = .. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = python distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign python/Makefile @for file in $(DISTFILES); do \ - if test -f $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - $(mkinstalldirs) "$(distdir)/$$dir"; \ - fi; \ + d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pR $$d/$$file $(distdir) \ - || exit 1; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) -installdirs: - $(mkinstalldirs) $(DESTDIR)$(pythondir) +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -install: install-am +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-exec: install-exec-am + +install-data-am: install-pythonPROGRAMS install-data: install-data-am -uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am +install: install-am +uninstall-am: uninstall-pythonPROGRAMS +uninstall: uninstall-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) +all-redirect: all-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(pythondir) + + mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ - clean-pythonPROGRAMS mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags +mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \ + mostlyclean-libtool mostlyclean-pythonPROGRAMS \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic -dvi: dvi-am - -dvi-am: - -info: info-am +mostlyclean: mostlyclean-am -info-am: +clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \ + clean-pythonPROGRAMS clean-tags clean-depend \ + clean-generic mostlyclean-am -install-data-am: install-pythonPROGRAMS - -install-exec-am: +clean: clean-am -install-info: install-info-am +distclean-am: distclean-noinstLTLIBRARIES distclean-compile \ + distclean-libtool distclean-pythonPROGRAMS \ + distclean-tags distclean-depend distclean-generic \ + clean-am + -rm -f libtool -install-man: +distclean: distclean-am -installcheck-am: +maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \ + maintainer-clean-compile maintainer-clean-libtool \ + maintainer-clean-pythonPROGRAMS maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -uninstall-am: uninstall-info-am uninstall-pythonPROGRAMS - -.PHONY: GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-noinstLTLIBRARIES clean-pythonPROGRAMS \ - distclean distclean-compile distclean-depend distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am info \ - info-am install install-am install-data install-data-am \ - install-exec install-exec-am install-info install-info-am \ - install-man install-pythonPROGRAMS install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool tags uninstall \ - uninstall-am uninstall-info-am uninstall-pythonPROGRAMS - - -rpmmodule.so$(EXEEXT): $(librpmmodule_la_OBJECTS) - $(LINK) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS) - -poptmodule.so$(EXEEXT): $(poptmodule_so_OBJECTS) - $(LINK) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS) +.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \ +clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile mostlyclean-libtool distclean-libtool \ +clean-libtool maintainer-clean-libtool mostlyclean-pythonPROGRAMS \ +distclean-pythonPROGRAMS clean-pythonPROGRAMS \ +maintainer-clean-pythonPROGRAMS uninstall-pythonPROGRAMS \ +install-pythonPROGRAMS tags mostlyclean-tags distclean-tags clean-tags \ +maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ +clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ +check-am installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +rpmmodule.so: rpmmodule.lo + gcc -shared rpmmodule.lo -ldb1 -L/usr/local/lib -lz -lc -o $@ -.PHONY: lclint -lclint: - lclint $(DEFS) $(INCLUDES) $(librpmmodule_la_SOURCES) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |