mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 07:31:49 +00:00
9ea19e54cb
Wed Jan 1 15:36:17 1997 Alexandre Julliard <julliard@lrc.epfl.ch> * [controls/listbox.c] Use FindFirstFile/FindNextFile in LISTBOX_Directory. * [files/dos_fs.c] Rewrote FindFirstFile/FindNextFile to use DOSFS_FindNext(). * [files/file.c] [files/directory.c] Use Win32 kernel objects and handles for file handles. Unified SearchPath() and OpenFile(). * [loader/builtin.c] Moved to if1632/ directory. * [tools/build.c] [debugger/*] [miscemu/*] Win16 register functions now receive the same CONTEXT * structure as Win32 functions. * [include/sigcontext.h] [miscemu/instr.c] Added new macros to get register values from the SIGCONTEXT structure (only used for instruction emulation now). * [scheduler/process.c] [scheduler/thread.c] (New files) Allocate process and thread structures. * [scheduler/process.c] [win32/k32obj.c] Added Win32 kernel objects and handles management. * [loader/task.c] Create a Win32 process and thread for every Win16 task. * [misc/commdlg.c] [misc/shell.c] [windows/msgbox.c] Built-in resources are now in Win32 format. This also avoids 16-bit callbacks for built-in dialogs. * [misc/lzexpand.c] Differentiate between 16-bit and 32-bit file handles. * [miscemu/int*.c] Moved all int emulation to msdos/ directory. * [msdos/*] New directory msdos/ contains all MS-DOS emulation code that can also be used for Winelib; this should enable Winelib apps to use DOS3Call and related functions. * [rc/winerc.c] A few bug fixes for Win32 resource format. * [windows/winpos.c] Hack in WINPOS_ReorderOwnerPopups() to avoid X crashed (still not right though). Sun Dec 29 17:47:55 1996 O. Flebbe <flebbe@science-computing.uni-tuebingen.de> * [loader/pe_image.c] Make sure BSS of a PE_Image is zero. Sat Dec 28 22:15:34 1996 Alex Korobka <alex@trantor.pharm.sunysb.edu> * [windows/scroll.c] ScrollWindowEx() rewrite, ScrollDC() fix. * [windows/nonclient.c] [controls/menu.c] Fixed Alt-Space crashes in dialogs. * [windows/event.c] [windows/message.c] Some changes in mouse message generation. Thu Dec 26 09:25:24 1996 Philippe De Muyter <phdm@info.ucl.ac.be> * [debugger/stabs.c] Dummy DEBUG_ReadExecutableDbgInfo provided for !__ELF__ case. Tue Dec 24 00:59:05 MET 1996 Martin Buck <martin-2.buck@student.uni-ulm.de> * [windows/event.c] Changed XK_Page_{Up,Down} to XK_{Prior,Next} for X11R5 compatibility.
161 lines
3.4 KiB
Makefile
161 lines
3.4 KiB
Makefile
# This Makefile understands the following targets:
|
|
#
|
|
# all (default): build wine
|
|
# clean: remove all intermediate files
|
|
# distclean: also remove all files created by configure
|
|
# depend: create the dependencies
|
|
# etags: Create a TAGS file for Emacs.
|
|
#
|
|
# Author: Michael Patra <micky@marie.physik.tu-berlin.de>
|
|
# <patra@itp1.physik.tu-berlin.de>
|
|
|
|
# First some useful definitions
|
|
|
|
SHELL = /bin/sh
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
OPTIONS = @OPTIONS@
|
|
X_LIBS = @X_LIBS@
|
|
TOPSRC = @top_srcdir@
|
|
XPM_LIB = -lXpm
|
|
XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
|
|
LDLIBS = @LDLIBS@
|
|
AR = ar rc
|
|
RANLIB = @RANLIB@
|
|
RM = rm -f
|
|
SUBMAKE = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' 'OPTIONS=$(OPTIONS)'
|
|
@SET_MAKE@
|
|
|
|
# Installation infos
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
libdir = @libdir@
|
|
mandir = @mandir@/man1
|
|
manext = .1
|
|
|
|
# Main target to build
|
|
|
|
MAIN_TARGET = @MAIN_TARGET@
|
|
|
|
COMMONSUBDIRS = \
|
|
rc \
|
|
controls \
|
|
files \
|
|
graphics \
|
|
graphics/metafiledrv \
|
|
graphics/x11drv \
|
|
ipc \
|
|
loader \
|
|
memory \
|
|
misc \
|
|
msdos \
|
|
multimedia \
|
|
objects \
|
|
resources \
|
|
scheduler \
|
|
win32 \
|
|
windows
|
|
|
|
EMUSUBDIRS = \
|
|
tools \
|
|
debugger \
|
|
graphics/win16drv \
|
|
if1632 \
|
|
miscemu
|
|
|
|
LIBSUBDIRS = library
|
|
|
|
PROGSUBDIRS = libtest programs
|
|
|
|
ALLSUBDIRS = $(COMMONSUBDIRS) $(EMUSUBDIRS) $(LIBSUBDIRS) $(PROGSUBDIRS)
|
|
|
|
COMMONOBJS = \
|
|
controls/controls.o \
|
|
files/files.o \
|
|
graphics/graphics.o \
|
|
graphics/metafiledrv/metafiledrv.o \
|
|
graphics/x11drv/x11drv.o \
|
|
ipc/ipc.o \
|
|
loader/loader.o \
|
|
memory/memory.o \
|
|
misc/misc.o \
|
|
msdos/msdos.o \
|
|
multimedia/multimedia.o \
|
|
objects/objects.o \
|
|
resources/resources.o \
|
|
scheduler/scheduler.o \
|
|
win32/win32.o \
|
|
windows/windows.o
|
|
|
|
EMUOBJS = \
|
|
debugger/debugger.o \
|
|
graphics/win16drv/win16drv.o \
|
|
if1632/if1632.o \
|
|
miscemu/miscemu.o
|
|
|
|
LIBOBJS = library/library.o
|
|
|
|
|
|
all: $(MAIN_TARGET)
|
|
|
|
install: install_$(MAIN_TARGET)
|
|
|
|
wine wine.sym: $(COMMONSUBDIRS) $(EMUSUBDIRS) dummy
|
|
$(CC) -o wine $(COMMONOBJS) $(EMUOBJS) $(LDOPTIONS) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LDLIBS)
|
|
nm -n wine | grep -v _compiled >wine.sym
|
|
|
|
install_wine: dummy
|
|
$(INSTALL_PROGRAM) wine $(bindir)/wine
|
|
$(INSTALL_DATA) wine.man $(mandir)/wine$(manext)
|
|
|
|
libwine.a: $(COMMONSUBDIRS) $(LIBSUBDIRS) dummy
|
|
$(RM) $@
|
|
$(AR) $@ $(COMMONOBJS) $(LIBOBJS)
|
|
$(RANLIB) $@
|
|
|
|
install_libwine.a: dummy
|
|
$(INSTALL_DATA) libwine.a $(libdir)
|
|
|
|
libwine.so.1.0: $(COMMONSUBDIRS) $(LIBSUBDIRS) dummy
|
|
$(CC) -shared -Wl,-soname,libwine.so.1 -o$@ $(COMMONOBJS) $(LIBOBJS) $(LDOPTIONS) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LDLIBS)
|
|
|
|
install_libwine.so.1.0: dummy
|
|
$(INSTALL_DATA) libwine.so.1.0 $(libdir)
|
|
|
|
$(ALLSUBDIRS): dummy
|
|
@cd $@; $(SUBMAKE)
|
|
|
|
install_programs: dummy
|
|
@cd programs; $(SUBMAKE) install
|
|
|
|
depend: dummy
|
|
for i in $(COMMONSUBDIRS) $(LIBSUBDIRS) $(EMUSUBDIRS); do \
|
|
(cd $$i; $(MAKE) depend) || exit 1; \
|
|
done
|
|
|
|
etags:
|
|
etags `find . -name '*.[chS]' -print`
|
|
|
|
clean:
|
|
for i in $(ALLSUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
|
|
$(RM) *.o \#*\# *~ *.bak *.orig *.rej *.flc
|
|
$(RM) wine wine.sym libwine.a libwine.so.1.0 TAGS
|
|
(cd include; $(RM) *.o \#*\# *~ *.bak *.orig *.rej *.flc)
|
|
|
|
distclean: clean
|
|
$(RM) config.* Make.rules include/config.h
|
|
$(RM) `find . \( -name Makefile -o -size 0 \) -print`
|
|
|
|
configure: configure.in
|
|
autoconf
|
|
|
|
include/config.h.in: configure.in include/acconfig.h
|
|
autoheader -l include
|
|
|
|
dummy:
|