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
9103daf3
Commit
9103daf3
authored
Nov 08, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install the wine server in $(bindir) and exec it from there.
parent
c61eb035
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
Makefile.in
+3
-1
Makefile.in
scheduler/Makefile.in
+1
-1
client.c
scheduler/client.c
+1
-4
main.c
server/main.c
+1
-1
No files found.
Makefile.in
View file @
9103daf3
...
@@ -280,10 +280,12 @@ install_lib: dummy
...
@@ -280,10 +280,12 @@ install_lib: dummy
if
[
$(LIB_TARGET)
=
libwine.so.1.0
]
;
then
$(LDCONFIG)
;
fi
\
if
[
$(LIB_TARGET)
=
libwine.so.1.0
]
;
then
$(LDCONFIG)
;
fi
\
fi
fi
[
-d
$(bindir)
]
||
$(MKDIR)
$(bindir)
[
-d
$(bindir)
]
||
$(MKDIR)
$(bindir)
$(INSTALL_PROGRAM)
server/wineserver
$(bindir)
/wineserver
$(INSTALL_PROGRAM)
windows/x11drv/wineclipsrv
$(bindir)
/wineclipsrv
$(INSTALL_PROGRAM)
windows/x11drv/wineclipsrv
$(bindir)
/wineclipsrv
uninstall_lib
:
dummy
uninstall_lib
:
dummy
cd
$(libdir)
;
$(RM)
$(LIB_TARGET)
libwine.a libwine.so wine.sym
cd
$(libdir)
&&
$(RM)
$(LIB_TARGET)
libwine.a libwine.so wine.sym
$(RM)
$(bindir)
/wineserver
$(bindir)
/wineclipsrv
$(X11OBJS) $(EMUOBJS) $(LIBOBJS)
:
$(TOOLSUBDIRS) dummy
$(X11OBJS) $(EMUOBJS) $(LIBOBJS)
:
$(TOOLSUBDIRS) dummy
@
cd
`
dirname
$@
`
;
$(SUBMAKE)
@
cd
`
dirname
$@
`
;
$(SUBMAKE)
...
...
scheduler/Makefile.in
View file @
9103daf3
DEFS
=
@DLLFLAGS@
-D__WINE__
DEFS
=
@DLLFLAGS@
-D__WINE__
-DBINDIR
=
"
\"
$(bindir)
\"
"
TOPSRCDIR
=
@top_srcdir@
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
..
TOPOBJDIR
=
..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
...
...
scheduler/client.c
View file @
9103daf3
...
@@ -289,12 +289,9 @@ int CLIENT_InitServer(void)
...
@@ -289,12 +289,9 @@ int CLIENT_InitServer(void)
default:
/* parent */
default:
/* parent */
close
(
fd
[
0
]
);
close
(
fd
[
0
]
);
sprintf
(
buffer
,
"%d"
,
fd
[
1
]
);
sprintf
(
buffer
,
"%d"
,
fd
[
1
]
);
/*#define EXEC_SERVER*/
execl
(
BINDIR
"/wineserver"
,
"wineserver"
,
buffer
,
NULL
);
#ifdef EXEC_SERVER
execlp
(
"wineserver"
,
"wineserver"
,
buffer
,
NULL
);
execlp
(
"wineserver"
,
"wineserver"
,
buffer
,
NULL
);
execl
(
"/usr/local/bin/wineserver"
,
"wineserver"
,
buffer
,
NULL
);
execl
(
"./server/wineserver"
,
"wineserver"
,
buffer
,
NULL
);
execl
(
"./server/wineserver"
,
"wineserver"
,
buffer
,
NULL
);
#endif
create_initial_thread
(
fd
[
1
]
);
create_initial_thread
(
fd
[
1
]
);
exit
(
0
);
exit
(
0
);
}
}
...
...
server/main.c
View file @
9103daf3
...
@@ -23,7 +23,7 @@ int main( int argc, char *argv[] )
...
@@ -23,7 +23,7 @@ int main( int argc, char *argv[] )
/* make sure the fd is valid */
/* make sure the fd is valid */
if
(
fcntl
(
fd
,
F_GETFL
,
0
)
==
-
1
)
goto
error
;
if
(
fcntl
(
fd
,
F_GETFL
,
0
)
==
-
1
)
goto
error
;
debug_level
=
1
;
/* debug_level = 1; */
if
(
debug_level
)
fprintf
(
stderr
,
"Server: starting (pid=%ld)
\n
"
,
(
long
)
getpid
()
);
if
(
debug_level
)
fprintf
(
stderr
,
"Server: starting (pid=%ld)
\n
"
,
(
long
)
getpid
()
);
create_initial_thread
(
fd
);
create_initial_thread
(
fd
);
...
...
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