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
117436e0
Commit
117436e0
authored
May 01, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved rules for building shared libraries into a global Makelib.rules
file.
parent
f0025e2a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
69 additions
and
92 deletions
+69
-92
configure
configure
+0
-0
configure.ac
configure.ac
+4
-0
.cvsignore
libs/.cvsignore
+1
-0
Makelib.rules.in
libs/Makelib.rules.in
+58
-0
Makefile.in
libs/unicode/Makefile.in
+3
-46
Makefile.in
libs/wine/Makefile.in
+3
-46
No files found.
configure
View file @
117436e0
This diff is collapsed.
Click to expand it.
configure.ac
View file @
117436e0
...
@@ -1349,6 +1349,9 @@ AC_SUBST_FILE(MAKE_DLL_RULES)
...
@@ -1349,6 +1349,9 @@ AC_SUBST_FILE(MAKE_DLL_RULES)
MAKE_TEST_RULES=dlls/Maketest.rules
MAKE_TEST_RULES=dlls/Maketest.rules
AC_SUBST_FILE(MAKE_TEST_RULES)
AC_SUBST_FILE(MAKE_TEST_RULES)
MAKE_LIB_RULES=libs/Makelib.rules
AC_SUBST_FILE(MAKE_LIB_RULES)
MAKE_PROG_RULES=programs/Makeprog.rules
MAKE_PROG_RULES=programs/Makeprog.rules
AC_SUBST_FILE(MAKE_PROG_RULES)
AC_SUBST_FILE(MAKE_PROG_RULES)
...
@@ -1356,6 +1359,7 @@ AC_CONFIG_FILES([
...
@@ -1356,6 +1359,7 @@ AC_CONFIG_FILES([
Make.rules
Make.rules
dlls/Makedll.rules
dlls/Makedll.rules
dlls/Maketest.rules
dlls/Maketest.rules
libs/Makelib.rules
programs/Makeprog.rules
programs/Makeprog.rules
Makefile
Makefile
dlls/Makefile
dlls/Makefile
...
...
libs/.cvsignore
View file @
117436e0
Makefile
Makefile
Makelib.rules
libs/Makelib.rules.in
0 → 100644
View file @
117436e0
# Global rules for building shared libraries -*-Makefile-*-
#
# Each individual makefile should define the following variables:
# LIBRARY : name of the library being built (without the lib prefix)
# SOVERSION : the .so file version
#
# plus all variables required by the global Make.rules.in
#
DEFS = @DLLFLAGS@ $(EXTRADEFS)
LIBEXT = @LIBEXT@
LIBNAME = lib$(LIBRARY)
DEFNAME = $(LIBRARY).def
SONAME = $(LIBNAME).so.$(SOVERSION)
MODULE = $(LIBNAME).$(LIBEXT)
all: $(MODULE) $(MODULE:.dll=.a)
@MAKE_RULES@
$(LIBNAME).so.$(SOVERSION): $(OBJS) Makefile.in
$(LDSHARED) $(OBJS) $(EXTRALIBS) $(LIBS) -o $@
$(LIBNAME).so: $(LIBNAME).so.$(SOVERSION)
$(RM) $@ && $(LN_S) $(LIBNAME).so.$(SOVERSION) $@
$(LIBNAME).a: $(DEFNAME)
$(DLLTOOL) -l $@ -d $(SRCDIR)/$(DEFNAME)
$(LIBNAME).dll: $(OBJS) $(DEFNAME) Makefile.in
$(DLLWRAP) --def $(SRCDIR)/$(DEFNAME) -o $@ $(OBJS) $(EXTRALIBS)
.PHONY: install-lib-so install-lib-dll install-dev-so install-dev-dll
install-lib-so: $(LIBNAME).so.$(SOVERSION) dummy
$(MKINSTALLDIRS) $(libdir)
$(INSTALL_PROGRAM) $(LIBNAME).so.$(SOVERSION) $(libdir)/$(LIBNAME).so.$(SOVERSION)
install-lib-dll: $(LIBNAME).dll dummy
$(MKINSTALLDIRS) $(libdir)
$(INSTALL_DATA) $(LIBNAME).dll $(libdir)/$(LIBNAME).dll
install-dev-so: dummy
$(MKINSTALLDIRS) $(libdir)
cd $(libdir) && $(RM) $(LIBNAME).so && $(LN_S) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).so
install-dev-dll: $(LIBNAME).a dummy
$(MKINSTALLDIRS) $(libdir)
$(INSTALL_DATA) $(LIBNAME).a $(libdir)/$(LIBNAME).a
install install-lib:: $(LIBEXT:%=install-lib-%)
install install-dev:: $(LIBEXT:%=install-dev-%)
uninstall::
$(RM) $(libdir)/$(LIBNAME).a $(libdir)/$(LIBNAME).dll $(libdir)/$(LIBNAME).so $(libdir)/$(LIBNAME).so.$(SOVERSION)
clean::
$(RM) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).dll
libs/unicode/Makefile.in
View file @
117436e0
DEFS
=
@DLLFLAGS@
-D__WINESRC__
-DNO_LIBWINE_PORT
TOPSRCDIR
=
@top_srcdir@
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
LIB
EXT
=
@LIBEXT@
LIB
RARY
=
wine_unicode
SOVERSION
=
1
SOVERSION
=
1
SONAME
=
libwine_unicode.so.
$(SOVERSION)
EXTRADEFS
=
-D__WINESRC__
-DNO_LIBWINE_PORT
MODULE
=
libwine_unicode.
$(LIBEXT)
CODEPAGES
=
\
CODEPAGES
=
\
037
\
037
\
...
@@ -81,47 +79,6 @@ C_SRCS = \
...
@@ -81,47 +79,6 @@ C_SRCS = \
wctype.c
\
wctype.c
\
$
(
CODEPAGES:%
=
c_%.c
)
$
(
CODEPAGES:%
=
c_%.c
)
all
:
$(MODULE) $(MODULE:.dll=.a)
@MAKE_LIB_RULES@
@MAKE_RULES@
libwine_unicode.so.$(SOVERSION)
:
$(OBJS) Makefile.in
$(LDSHARED)
$(OBJS)
-o
$@
libwine_unicode.so
:
libwine_unicode.so.$(SOVERSION)
$(RM)
$@
&&
$(LN_S)
libwine_unicode.so.
$(SOVERSION)
$@
libwine_unicode.a
:
wine_unicode.def
$(DLLTOOL)
-l
$@
-d
$(SRCDIR)
/wine_unicode.def
libwine_unicode.dll
:
$(OBJS) wine_unicode.def Makefile.in
$(DLLWRAP)
--def
$(SRCDIR)
/wine_unicode.def
-o
$@
$(OBJS)
.PHONY
:
install-lib-so install-lib-dll install-dev-so install-dev-dll
install-lib-so
:
libwine_unicode.so.$(SOVERSION) dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_PROGRAM)
libwine_unicode.so.
$(SOVERSION)
$(libdir)
/libwine_unicode.so.
$(SOVERSION)
install-lib-dll
:
libwine_unicode.dll dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_DATA)
libwine_unicode.dll
$(libdir)
/libwine_unicode.dll
install-dev-so
:
dummy
$(MKINSTALLDIRS)
$(libdir)
cd
$(libdir)
&&
$(RM)
libwine_unicode.so
&&
$(LN_S)
libwine_unicode.so.
$(SOVERSION)
libwine_unicode.so
install-dev-dll
:
libwine_unicode.a dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_DATA)
libwine_unicode.a
$(libdir)
/libwine_unicode.a
install install-lib
::
$(LIBEXT:%=install-lib-%)
install install-dev
::
$(LIBEXT:%=install-dev-%)
uninstall
::
$(RM)
$(libdir)
/libwine_unicode.a
$(libdir)
/libwine_unicode.dll
$(libdir)
/libwine_unicode.so
$(libdir)
/libwine_unicode.so.
$(SOVERSION)
clean
::
$(RM)
libwine_unicode.so.
$(SOVERSION)
libwine_unicode.dll
### Dependencies:
### Dependencies:
libs/wine/Makefile.in
View file @
117436e0
DEFS
=
@DLLFLAGS@
-D__WINESRC__
-DDLLDIR
=
"
\"
$(dlldir)
\"
"
TOPSRCDIR
=
@top_srcdir@
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
LIB
EXT
=
@LIBEXT@
LIB
RARY
=
wine
SOVERSION
=
1
SOVERSION
=
1
SONAME
=
libwine.so.
$(SOVERSION)
EXTRADEFS
=
-D__WINESRC__
-DDLLDIR
=
"
\"
$(dlldir)
\"
"
MODULE
=
libwine.
$(LIBEXT)
EXTRALIBS
=
$(LIBPORT)
@DLLIBS@ @CRTLIBS@
EXTRALIBS
=
$(LIBPORT)
@DLLIBS@ @CRTLIBS@
C_SRCS
=
\
C_SRCS
=
\
...
@@ -16,47 +14,6 @@ C_SRCS = \
...
@@ -16,47 +14,6 @@ C_SRCS = \
ldt.c
\
ldt.c
\
loader.c
loader.c
all
:
$(MODULE) $(MODULE:.dll=.a)
@MAKE_LIB_RULES@
@MAKE_RULES@
libwine.so.$(SOVERSION)
:
$(OBJS) Makefile.in
$(LDSHARED)
$(OBJS)
$(EXTRALIBS)
$(LIBS)
-o
$@
libwine.so
:
libwine.so.$(SOVERSION)
$(RM)
$@
&&
$(LN_S)
libwine.so.
$(SOVERSION)
$@
libwine.a
:
wine.def
$(DLLTOOL)
-l
$@
-d
$(SRCDIR)
/wine.def
libwine.dll
:
$(OBJS) wine.def Makefile.in
$(DLLWRAP)
--def
$(SRCDIR)
/wine.def
-o
$@
$(OBJS)
$(EXTRALIBS)
.PHONY
:
install-lib-so install-lib-dll install-dev-so install-dev-dll
install-lib-so
:
libwine.so.$(SOVERSION) dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_PROGRAM)
libwine.so.
$(SOVERSION)
$(libdir)
/libwine.so.
$(SOVERSION)
install-lib-dll
:
libwine.dll dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_DATA)
libwine.dll
$(libdir)
/libwine.dll
install-dev-so
:
dummy
$(MKINSTALLDIRS)
$(libdir)
cd
$(libdir)
&&
$(RM)
libwine.so
&&
$(LN_S)
libwine.so.
$(SOVERSION)
libwine.so
install-dev-dll
:
libwine.a dummy
$(MKINSTALLDIRS)
$(libdir)
$(INSTALL_DATA)
libwine.a
$(libdir)
/libwine.a
install install-lib
::
$(LIBEXT:%=install-lib-%)
install install-dev
::
$(LIBEXT:%=install-dev-%)
uninstall
::
$(RM)
$(libdir)
/libwine.a
$(libdir)
/libwine.dll
$(libdir)
/libwine.so
$(libdir)
/libwine.so.
$(SOVERSION)
clean
::
$(RM)
libwine.so.
$(SOVERSION)
libwine.dll
### Dependencies:
### Dependencies:
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