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
626f425b
Commit
626f425b
authored
Nov 10, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Makeprog.rules.in containing rules for building Winelib
programs.
parent
864dc598
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
7 deletions
+72
-7
configure
configure
+9
-2
configure.in
configure.in
+5
-1
.cvsignore
programs/.cvsignore
+1
-0
Makefile.in
programs/Makefile.in
+7
-4
Makeprog.rules.in
programs/Makeprog.rules.in
+50
-0
No files found.
configure
View file @
626f425b
...
...
@@ -6371,6 +6371,9 @@ MAKE_RULES=Make.rules
MAKE_DLL_RULES
=
dlls/Makedll.rules
MAKE_PROG_RULES
=
programs/Makeprog.rules
trap
''
1 2 15
cat
>
confcache
<<
\
EOF
# This file is a shell script that caches the results of configure
...
...
@@ -6474,11 +6477,12 @@ ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "
Make.rules
dlls/Makedll.rules
programs/Makeprog.rules
Makefile
console/Makefile
controls/Makefile
debugger/Makefile
dlls/Makedll.rules
dlls/Makefile
dlls/advapi32/Makefile
dlls/avifil32/Makefile
...
...
@@ -6667,6 +6671,8 @@ s%@GCC_NO_BUILTIN@%$GCC_NO_BUILTIN%g
s%@MAKE_RULES@%%g
/@MAKE_DLL_RULES@/r
$MAKE_DLL_RULES
s%@MAKE_DLL_RULES@%%g
/@MAKE_PROG_RULES@/r
$MAKE_PROG_RULES
s%@MAKE_PROG_RULES@%%g
CEOF
EOF
...
...
@@ -6709,11 +6715,12 @@ EOF
cat
>>
$CONFIG_STATUS
<<
EOF
CONFIG_FILES=\
${
CONFIG_FILES
-
"Make.rules
dlls/Makedll.rules
programs/Makeprog.rules
Makefile
console/Makefile
controls/Makefile
debugger/Makefile
dlls/Makedll.rules
dlls/Makefile
dlls/advapi32/Makefile
dlls/avifil32/Makefile
...
...
configure.in
View file @
626f425b
...
...
@@ -1045,13 +1045,17 @@ AC_SUBST_FILE(MAKE_RULES)
MAKE_DLL_RULES=dlls/Makedll.rules
AC_SUBST_FILE(MAKE_DLL_RULES)
MAKE_PROG_RULES=programs/Makeprog.rules
AC_SUBST_FILE(MAKE_PROG_RULES)
AC_OUTPUT([
Make.rules
dlls/Makedll.rules
programs/Makeprog.rules
Makefile
console/Makefile
controls/Makefile
debugger/Makefile
dlls/Makedll.rules
dlls/Makefile
dlls/advapi32/Makefile
dlls/avifil32/Makefile
...
...
programs/.cvsignore
View file @
626f425b
Makefile
Makeprog.rules
programs/Makefile.in
View file @
626f425b
...
...
@@ -25,10 +25,13 @@ all: $(SUBDIRS)
@MAKE_RULES@
install
::
for
i
in
$(SUBDIRS)
;
do
(
cd
$$
i
;
$(MAKE)
install
)
||
exit
1
;
done
$(SUBDIRS
:
%=%/__checklink__): dummy
@
cd
`
dirname
$@
`
&&
$(MAKE)
checklink
uninstall
::
for
i
in
$(SUBDIRS)
;
do
(
cd
$$
i
;
$(MAKE)
uninstall
)
||
exit
1
;
done
install
::
$(SUBDIRS:%=%/__install__)
uninstall
::
$(SUBDIRS:%=%/__uninstall__)
checklink
::
$(SUBDIRS:%=%/__checklink__)
### Dependencies:
programs/Makeprog.rules.in
0 → 100644
View file @
626f425b
# Global rules for building a Winelib program -*-Makefile-*-
#
# Each individual makefile should define the following variables:
# MODULE : name of the main module being built
# EXTRALIBS : extra libraries to link in (optional)
# EXTRADEFS : extra symbol definitions, like -DWINELIB (optional)
#
# plus all variables required by the global Make.rules.in
#
DEFS = @DLLFLAGS@ $(EXTRADEFS)
LDDLLFLAGS = @LDDLLFLAGS@
ALL_OBJS = $(OBJS) $(MODULE).spec.o
ALL_LIBS = -L$(TOPOBJDIR) -lwine $(EXTRALIBS) $(LIBS)
SYMBOLFILE = $(MODULE).tmp.o
all: $(MODULE)
@MAKE_RULES@
# Rules for main module
$(MODULE).so: $(ALL_OBJS) Makefile.in
$(LDSHARED) $(LDDLLFLAGS) $(ALL_OBJS) -o $@ $(ALL_LIBS)
$(MODULE): $(MODULE).so
$(RM) $(MODULE) && $(LN_S) $(TOPOBJDIR)/wine $(MODULE)
# Rules for checking that no imports are missing
checklink:: $(MODULE).so
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(MODULE).so $(ALL_LIBS) && $(RM) checklink
# Rules for debug channels
debug_channels: dummy
$(TOPSRCDIR)/tools/make_debug $(MODULE).spec $(C_SRCS)
# Rules for installation
install:: $(MODULE).so
[ -d $(bindir) ] || $(MKDIR) $(bindir)
$(INSTALL_PROGRAM) $(MODULE).so $(bindir)/$(MODULE).so
cd $(bindir) && $(LN_S) wine $(MODULE)
uninstall::
cd $(bindir) && $(RM) $(MODULE) $(MODULE).so
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