diff options
author | jbj <devnull@localhost> | 2002-12-01 21:34:06 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-01 21:34:06 +0000 |
commit | 80b23366e79f229831efb6a590c90e2724d37927 (patch) | |
tree | e62a5951bd28e84579d84d988e3546808dcd8df3 /build | |
parent | 0efbbada0f3005d6f81a940ba7b06aef2703a50b (diff) | |
download | librpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.tar.gz librpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.tar.bz2 librpm-tizen-80b23366e79f229831efb6a590c90e2724d37927.zip |
- use usrlib_LTLIBRARIES to install directly in /usr/lib64 instead.
CVS patchset: 5911
CVS date: 2002/12/01 21:34:06
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile.am | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/build/Makefile.am b/build/Makefile.am index 4c41bf01e..9d78ff98c 100644 --- a/build/Makefile.am +++ b/build/Makefile.am @@ -15,42 +15,30 @@ INCLUDES = -I. \ LIBS = -#FILELOBJS = $(shell cat $(top_builddir)/file/listobjs) - pkgincdir = $(pkgincludedir) pkginc_HEADERS = argv.h rpmbuild.h rpmfc.h rpmfile.h rpmspec.h noinst_HEADERS = buildio.h -lib_LTLIBRARIES = librpmbuild.la +usrlibdir = $(libdir)@MARK64@ +usrlib_LTLIBRARIES = librpmbuild.la librpmbuild_la_SOURCES = \ argv.c build.c expression.c files.c misc.c names.c pack.c \ parseBuildInstallClean.c parseChangelog.c parseDescription.c \ parseFiles.c parsePreamble.c parsePrep.c parseReqs.c parseScript.c \ parseSpec.c poptBT.c reqprov.c rpmfc.c spec.c -librpmbuild_la_LDFLAGS = -release @VERSION@ @HACK_LIBTOOLPATH@ $(top_builddir)/lib/librpm.la -#librpmbuild_la_LIBADD = $(FILELOBJS) -#librpmbuild_la_DEPENDENCIES = .created +librpmbuild_la_LDFLAGS = -release @VERSION@ $(top_builddir)/lib/librpm.la rpmfile.h: @ln -sf $(top_builddir)/file/file.h $@ -#$(top_builddir)/file/listobjs: -# ${MAKE} -C $(top_builddir)/file listobjs -# -#.created: rpmfile.h $(top_builddir)/file/listobjs -# for lo in $(FILELOBJS); do \ -# [ -f $$lo ] || $(LN_S) $(top_builddir)/file/$$lo $$lo ; \ -# done -# touch $@ - rpmfc.c: rpmfile.h clean-local: rm -f *.o rpmfile.h # .created $(FILELOBJS) # XXX Add internal libtool dependence -install-data-local: - @cd $(DESTDIR)/$(libdir) && \ +install-data-local: install-usrlibLTLIBRARIES + @cd $(DESTDIR)/$(usrlibdir) && \ sed -e "s|^dependency_libs='|& -lrpm-@VERSION@|" < librpmbuild.la > .librpmbuild.la && \ mv .librpmbuild.la librpmbuild.la |