Commit 7dd9e339 authored by Alexandre Julliard's avatar Alexandre Julliard

Install more of the Winelib programs by default (based on a patch by

Andriy Palamarchuk).
parent 6e5d46e8
...@@ -29,8 +29,8 @@ PROGRAMS = \ ...@@ -29,8 +29,8 @@ PROGRAMS = \
# Programs that link with libwine # Programs that link with libwine
LIBPROGRAMS = \ LIBPROGRAMS = \
debugger/winedbg \ debugger \
programs/wineconsole/wineconsole programs
# Libraries (not dlls) to build # Libraries (not dlls) to build
LIBRARIES = \ LIBRARIES = \
...@@ -54,8 +54,7 @@ LIBSYMLINKS = \ ...@@ -54,8 +54,7 @@ LIBSYMLINKS = \
SUBDIRS = \ SUBDIRS = \
$(INSTALLSUBDIRS) \ $(INSTALLSUBDIRS) \
libtest \ libtest \
miscemu \ miscemu
programs
# Sub-directories to run make install into # Sub-directories to run make install into
INSTALLSUBDIRS = \ INSTALLSUBDIRS = \
...@@ -65,7 +64,7 @@ INSTALLSUBDIRS = \ ...@@ -65,7 +64,7 @@ INSTALLSUBDIRS = \
include \ include \
library \ library \
ole \ ole \
programs/wineconsole \ programs \
server \ server \
tools \ tools \
tsx11 \ tsx11 \
...@@ -103,7 +102,7 @@ install:: all install_wine $(INSTALLSUBDIRS:%=%/__install__) ...@@ -103,7 +102,7 @@ install:: all install_wine $(INSTALLSUBDIRS:%=%/__install__)
uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__) uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
cd $(bindir) && $(RM) wine cd $(bindir) && $(RM) wine
$(EMUOBJS) $(PROGRAMS) $(LIBPROGRAMS) $(LIBRARIES): dummy $(EMUOBJS) $(PROGRAMS) $(LIBRARIES): dummy
@cd `dirname $@` && $(MAKE) `basename $@` @cd `dirname $@` && $(MAKE) `basename $@`
# Symlinks to libraries that we need to link against # Symlinks to libraries that we need to link against
...@@ -149,12 +148,6 @@ dlls: tools $(LIBRARIES) ...@@ -149,12 +148,6 @@ dlls: tools $(LIBRARIES)
checklink:: checklink::
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(LIBWINE) $(LIBS) && $(RM) checklink $(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(LIBWINE) $(LIBS) && $(RM) checklink
install_programs: dummy
@cd programs && $(MAKE) install
uninstall_programs: dummy
@cd programs && $(MAKE) uninstall
checklink:: checklink::
@cd dlls && $(MAKE) checklink @cd dlls && $(MAKE) checklink
@cd debugger && $(MAKE) checklink @cd debugger && $(MAKE) checklink
......
...@@ -4,37 +4,49 @@ SRCDIR = @srcdir@ ...@@ -4,37 +4,49 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = none MODULE = none
SUBDIRS = \ INSTALLSUBDIRS = \
avitools \
clock \
cmdlgtst \
control \ control \
notepad \ notepad \
osversioncheck \
progman \ progman \
regapi \
regedit \ regedit \
regsvr32 \ regsvr32 \
regtest \
uninstaller \ uninstaller \
view \
wcmd \ wcmd \
wineconsole \ wineconsole \
winemine \ winemine \
winetest \
winhelp \ winhelp \
winver winver
all: $(SUBDIRS) # Programs that are not generally useful and don't get installed
# Use 'make everything' to build them
OTHERSUBDIRS = \
avitools \
clock \
cmdlgtst \
osversioncheck \
regapi \
regtest \
view \
winetest
SUBDIRS = $(INSTALLSUBDIRS) $(OTHERSUBDIRS)
all: $(INSTALLSUBDIRS)
@MAKE_RULES@ @MAKE_RULES@
$(SUBDIRS:%=%/__checklink__): dummy everything: $(SUBDIRS)
@cd `dirname $@` && $(MAKE) checklink
install:: $(SUBDIRS:%=%/__install__) install-everything: $(SUBDIRS:%=%/__install__)
uninstall:: $(SUBDIRS:%=%/__uninstall__) uninstall-everything: $(SUBDIRS:%=%/__uninstall__)
install:: $(INSTALLSUBDIRS:%=%/__install__)
uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
$(SUBDIRS:%=%/__checklink__): dummy
@cd `dirname $@` && $(MAKE) checklink
checklink:: $(SUBDIRS:%=%/__checklink__) checklink:: $(SUBDIRS:%=%/__checklink__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment