Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5f10595c
Commit
5f10595c
authored
Aug 18, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Add rules for installing fake modules.
parent
f78a8cea
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
15 deletions
+25
-15
Make.rules.in
Make.rules.in
+1
-0
Makedll.rules.in
dlls/Makedll.rules.in
+14
-3
Makefile.in
dlls/Makefile.in
+1
-1
Makefile.in
programs/Makefile.in
+1
-1
Makeprog.rules.in
programs/Makeprog.rules.in
+8
-10
No files found.
Make.rules.in
View file @
5f10595c
...
...
@@ -106,6 +106,7 @@ mandir = @mandir@
sysconfdir = @sysconfdir@
includedir = @includedir@/wine
dlldir = @libdir@/wine
fakedlldir = $(dlldir)/fakedlls
prog_manext = 1
api_manext = 3w
conf_manext = 5
...
...
dlls/Makedll.rules.in
View file @
5f10595c
...
...
@@ -21,7 +21,7 @@ IMPLIB_OBJS = $(IMPLIB_SRCS:.c=.o)
IMPORTLIBFILE = $(IMPORTLIB:%=lib%.@IMPLIBEXT@)
STATICIMPLIB = $(IMPORTLIBFILE:.def=.def.a)
DLL_LDPATH = -L$(DLLDIR) $(DELAYIMPORTS:%=-L$(DLLDIR)/%) $(IMPORTS:%=-L$(DLLDIR)/%)
INSTALLDIRS = $(DESTDIR)$(dlldir) $(DESTDIR)$(datadir)/wine
INSTALLDIRS = $(DESTDIR)$(dlldir) $(DESTDIR)$(
fakedlldir) $(DESTDIR)$(
datadir)/wine
@MAKE_RULES@
...
...
@@ -89,13 +89,24 @@ install_static_implib_a:
$(IMPLIB_SRCS:%=_install_static_implib_/%): install_static_implib_$(IMPLIBEXT)
install install-lib:: $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir) dummy
$(INSTALL_PROGRAM) $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir)/$(MODULE)$(DLLEXT)
.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)/$(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)
install install-dev:: $(IMPORTLIB:%=_install_/%) $(IMPLIB_SRCS:%=_install_static_implib_/%) dummy
uninstall::
-cd $(DESTDIR)$(dlldir) && $(RM) $(MODULE)$(DLLEXT) $(IMPORTLIBFILE) $(STATICIMPLIB)
$(RM) $(DESTDIR)$(fakedlldir)/$(MODULE)
# Misc. rules
...
...
dlls/Makefile.in
View file @
5f10595c
...
...
@@ -849,7 +849,7 @@ install install-lib:: @WIN16_INSTALL@
uninstall
::
-
cd
$(DESTDIR)$(dlldir)
&&
$(RM)
$(WIN16_FILES)
-
rmdir
$(DESTDIR)$(dlldir)
-
rmdir
$(DESTDIR)$(
fakedlldir)
$(DESTDIR)$(
dlldir)
clean
::
$(RM)
$(IMPORT_SYMLINKS)
$(WIN16_FILES)
programs/Makefile.in
View file @
5f10595c
...
...
@@ -37,7 +37,7 @@ install-progs: # nothing to do here
uninstall
::
-
cd
$(DESTDIR)$(bindir)
&&
$(RM)
wineapploader
$(INSTALLPROGS)
-
rmdir
$(DESTDIR)$(dlldir)
-
rmdir
$(DESTDIR)$(
fakedlldir)
$(DESTDIR)$(
dlldir)
# Rules for testing
...
...
programs/Makeprog.rules.in
View file @
5f10595c
...
...
@@ -13,7 +13,7 @@ DLLFLAGS = @DLLFLAGS@
DEFS = $(EXTRADEFS)
ALL_LIBS = $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(EXTRALIBS) -lwine $(LIBPORT) $(LDFLAGS) $(LIBS)
RUNTESTFLAGS= -q -P wine -T $(TOPOBJDIR)
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(mandir)/man$(prog_manext)
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir) $(DESTDIR)$(
fakedlldir) $(DESTDIR)$(
mandir)/man$(prog_manext)
@MAKE_RULES@
...
...
@@ -30,23 +30,21 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT)
# Rules for installation
.PHONY: install_prog install_prog.so
uninstall_prog uninstall_prog.so
.PHONY: install_prog install_prog.so
install_prog.fake
install_prog.so: $(MODULE).so $(DESTDIR)$(dlldir) dummy
$(INSTALL_PROGRAM) $(MODULE).so $(DESTDIR)$(dlldir)/$(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)
uninstall_prog.so: dummy
$(RM) $(DESTDIR)$(dlldir)/$(MODULE).so
uninstall_prog: dummy
$(RM) $(DESTDIR)$(bindir)/$(MODULE)
install install-lib:: install_prog$(DLLEXT)
install install-lib:: install_prog$(DLLEXT) install_prog$(FAKEEXT)
uninstall:: uninstall_prog$(DLLEXT)
uninstall::
$(RM) $(DESTDIR)$(bindir)/$(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)$(DLLEXT) $(DESTDIR)$(fakedlldir)/$(MODULE)
clean::
$(RM) $(MODULE)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment