makefiles: Get rid of the recursive installation rules for dlls and programs.
This commit is contained in:
parent
c48232661d
commit
08eea24b94
|
@ -163,9 +163,6 @@ install-man-pages:: $(MANPAGE) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|||
uninstall-man-pages::
|
||||
$(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/$(MANPAGE:.man=).$(prog_manext)
|
||||
|
||||
install:: @WOW64_DISABLE@ $(MANPAGE:.man=.man.in install-man-pages)
|
||||
uninstall:: @WOW64_DISABLE@ $(MANPAGE:.man=.man.in uninstall-man-pages)
|
||||
|
||||
.PHONY: install-man-pages uninstall-man-pages
|
||||
|
||||
# Rules for cleaning
|
||||
|
|
|
@ -741,7 +741,6 @@ AR
|
|||
BISON
|
||||
FLEX
|
||||
TOOLSDIR
|
||||
WOW64_DISABLE
|
||||
TARGETFLAGS
|
||||
CPPBIN
|
||||
ac_ct_CXX
|
||||
|
@ -4775,8 +4774,6 @@ then
|
|||
as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
|
||||
--enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
|
||||
fi
|
||||
WOW64_DISABLE=\#
|
||||
|
||||
enable_fonts=${enable_fonts:-no}
|
||||
enable_server=${enable_server:-no}
|
||||
elif test "x$enable_win64" = "xyes"
|
||||
|
|
|
@ -194,7 +194,6 @@ then
|
|||
AC_MSG_ERROR([--enable-win64 and --with-wine64 are mutually exclusive.
|
||||
--enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree.])
|
||||
fi
|
||||
AC_SUBST([WOW64_DISABLE],[\#])
|
||||
enable_fonts=${enable_fonts:-no}
|
||||
enable_server=${enable_server:-no}
|
||||
elif test "x$enable_win64" = "xyes"
|
||||
|
|
|
@ -16,7 +16,6 @@ IMPLIB_OBJS = $(IMPLIB_SRCS:.c=.o)
|
|||
IMPLIBFLAGS = $(TARGETFLAGS) $(EXTRAIMPLIBFLAGS)
|
||||
IMPORTLIBFILE = $(IMPORTLIB:%=lib%.@IMPLIBEXT@)
|
||||
STATICIMPLIB = $(IMPORTLIBFILE:.def=.def.a)
|
||||
INSTALLDIRS = $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(datadir)/wine
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
|
@ -63,24 +62,6 @@ sgmlpages:: $(C_SRCS) dummy
|
|||
xmlpages:: $(C_SRCS) dummy
|
||||
$(C2MAN) -o $(top_builddir)/documentation/api-guide-xml -R$(top_builddir) -C$(srcdir) $(INCLUDES) -Tx $(MAINSPEC:%=-w %) $(C_SRCS)
|
||||
|
||||
# Rules for installation
|
||||
|
||||
.PHONY: install_dll install_dll.so install_dll.fake
|
||||
|
||||
install_dll: $(MODULE) $(DESTDIR)$(dlldir) dummy
|
||||
$(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
|
||||
|
||||
install_dll.so: $(MODULE).so $(DESTDIR)$(dlldir) dummy
|
||||
$(INSTALL_PROGRAM) $(MODULE).so $(DESTDIR)$(dlldir)/$(DLLPREFIX)$(MODULE).so
|
||||
|
||||
install_dll.fake: $(MODULE).fake $(DESTDIR)$(fakedlldir) dummy
|
||||
$(INSTALL_DATA) $(MODULE).fake $(DESTDIR)$(fakedlldir)/$(MODULE)
|
||||
|
||||
install install-lib:: install_dll$(DLLEXT) install_dll$(FAKEEXT)
|
||||
|
||||
uninstall::
|
||||
$(RM) $(DESTDIR)$(dlldir)/$(DLLPREFIX)$(MODULE)$(DLLEXT) $(DESTDIR)$(fakedlldir)/$(MODULE)
|
||||
|
||||
# Misc. rules
|
||||
|
||||
clean::
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
|
||||
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(fakedlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
|
@ -20,23 +19,5 @@ all: $(MODULE)$(DLLEXT) $(MODULE)$(FAKEEXT)
|
|||
$(MODULE) $(MODULE).so $(MODULE).fake: $(OBJS) Makefile.in
|
||||
$(WINEGCC) $(APPMODE) $(OBJS) -o $@ $(ALL_LIBS) $(DELAYIMPORTS:%=-Wb,-d%)
|
||||
|
||||
# Rules for installation
|
||||
|
||||
.PHONY: install_prog install_prog.so install_prog.fake
|
||||
|
||||
install_prog.so: $(MODULE).so $(DESTDIR)$(dlldir) dummy
|
||||
$(INSTALL_PROGRAM) $(MODULE).so $(DESTDIR)$(dlldir)/$(DLLPREFIX)$(MODULE).so
|
||||
|
||||
install_prog.fake: $(MODULE).fake $(DESTDIR)$(fakedlldir) dummy
|
||||
$(INSTALL_DATA) $(MODULE).fake $(DESTDIR)$(fakedlldir)/$(MODULE)
|
||||
|
||||
install_prog: $(MODULE) $(DESTDIR)$(bindir) dummy
|
||||
$(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)$(bindir)/$(MODULE)
|
||||
|
||||
install install-lib:: install_prog$(DLLEXT) install_prog$(FAKEEXT)
|
||||
|
||||
uninstall::
|
||||
$(RM) $(DESTDIR)$(bindir)/$(MODULE) $(DESTDIR)$(dlldir)/$(DLLPREFIX)$(MODULE)$(DLLEXT) $(DESTDIR)$(fakedlldir)/$(MODULE)
|
||||
|
||||
clean::
|
||||
$(RM) $(MODULE)
|
||||
|
|
Loading…
Reference in New Issue