mirror of
https://github.com/reactos/wine.git
synced 2025-03-06 19:57:17 +00:00

Sun Dec 8 14:51:57 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [configure.in] Added check to see if the compiler supports building a DLL when the --with-dll option is used. * [controls/listbox.c] Don't send LBN_SELCHANGE too often. Added WM_CHARTOITEM support. * [Make.rules.in] [library/Makefile.in] Build winestub.o and link it with Winelib programs. * [objects/text.c] Added support for '&&' in DrawText(). * [tools/build.c] Added -o option. Sat Dec 7 12:07:07 1996 Andrew Lewycky <plewycky@oise.utoronto.ca> * [win32/thread.c] GetCurrentThread(): return -2 (current thread pseudo-handle). GetCurrentThreadId(): return GetCurrentTask(). * [objects/font.c] [if1632/gdi32.spec] GetTextExtentPoint32{A,W}Buggy(): for future bug-compatibility. * [win32/findfile.c] FindClose(): ignore INVALID_HANDLE_VALUE (like Win95). * [windows/hook.c] [include/hook.h] [if1632/user.spec] [if1632/user32.spec] [windows/focus.c] [windows/message.c] [windows/nonclient.c] [windows/win.c] [windows/winpos.c] Hooks rewritten to support Win32. * [misc/winsock.c] WINSOCK_select(): need to put sockets with errors into exceptfds. WINSOCK_socket(): fix error return. * [windows/win.c] SetWindowWord(): call SetParent on GWW_HWNDPARENT. Wed Dec 4 22:03:05 1996 Andrew Taylor <andrew@riscan.com> * [files/dos_fs.c] Check if buf is NULL before copying string in GetFullPathName32A(). Wed Dec 4 21:40:59 1996 Robert Pouliot <krynos@clic.net> * [graphics/wing.c] [if1632/wing.spec] Implemented many WinG functions, but some don't seem to work correctly (probably due to the one not done). Wed Dec 4 03:38:25 1996 Lee Jaekil <juria@puma.kaitech.re.kr> * [misc/main.c] Implemented a few more of the SystemParametersInfo() cases. Sun Dec 1 22:30:00 1996 Alex Korobka <alex@trantor.pharm.sunysb.edu> * [controls/button.c] Improved focus rectangle painting. * [windows/dialog.c] [windows/defdlg.c] Fixed IE3.0 problems with DWL_MSGRESULT. Sun Dec 1 20:49:32 1996 Albrecht Kleine <kleine@ak.sax.de> * [files/profile.c] Changed error handling in PROFILE_SetString().
99 lines
2.6 KiB
Makefile
99 lines
2.6 KiB
Makefile
# Global rules shared by all makefiles -*-Makefile-*-
|
|
#
|
|
# Each individual makefile should define the following variables:
|
|
# TOPSRCDIR : top-level source directory
|
|
# TOPOBJDIR : top-level object directory
|
|
# SRCDIR : source directory for this module
|
|
# MODULE : name of the module being built
|
|
# C_SRCS : C sources for the module
|
|
# GEN_C_SRCS : generated C sources (optional)
|
|
# ASM_SRCS : assembly sources (optional)
|
|
# GEN_ASM_SRCS : generated assembly sources (optional)
|
|
# EXTRA_OBJS : extra object files (optional)
|
|
|
|
# First some useful definitions
|
|
|
|
SHELL = /bin/sh
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
CFLAGS = @CFLAGS@
|
|
OPTIONS = @OPTIONS@
|
|
X_CFLAGS = @X_CFLAGS@
|
|
X_LIBS = @X_LIBS@
|
|
XPM_LIB = -lXpm
|
|
XLIB = @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@
|
|
WINELIB = $(WINESTUB) $(TOPOBJDIR)/@MAIN_TARGET@
|
|
LDLIBS = @LDLIBS@
|
|
YACC = @YACC@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
DIVINCL = -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include -I$(SRCDIR) -I.
|
|
ALLCFLAGS = $(CFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL) $(X_CFLAGS)
|
|
LDCOMBINE = ld -r
|
|
RM = rm -f
|
|
BUILD = $(TOPOBJDIR)/tools/build
|
|
MAKEDEP = $(TOPOBJDIR)/tools/makedep
|
|
WINERC = $(TOPOBJDIR)/rc/winerc
|
|
WINESTUB = $(TOPOBJDIR)/library/winestub.o
|
|
SUBMAKE = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(CFLAGS)' 'OPTIONS=$(OPTIONS)'
|
|
@SET_MAKE@
|
|
|
|
OBJS = $(GEN_C_SRCS:.c=.o) $(C_SRCS:.c=.o) \
|
|
$(GEN_ASM_SRCS:.s=.o) $(ASM_SRCS:.S=.o) $(EXTRA_OBJS)
|
|
|
|
# Implicit rules
|
|
|
|
.SUFFIXES: .rc
|
|
|
|
.c.o:
|
|
$(CC) -c $(ALLCFLAGS) -o $*.o $<
|
|
|
|
.s.o:
|
|
$(CC) -c -o $*.o $<
|
|
|
|
.S.o:
|
|
$(CC) -c -o $*.o $<
|
|
|
|
.rc.c:
|
|
echo "#include \"windows.h\"" >winerctmp.c
|
|
echo WINDOWS_H_ENDS_HERE >>winerctmp.c
|
|
cat $< >>winerctmp.c
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P winerctmp.c | sed -e '1,/^WINDOWS_H_ENDS_HERE/d' | $(WINERC) $(RCFLAGS) -c -o $* -p $*
|
|
$(RM) winerctmp.c
|
|
|
|
.rc.h:
|
|
echo "#include \"windows.h\"" >winerctmp.c
|
|
echo WINDOWS_H_ENDS_HERE >>winerctmp.c
|
|
cat $< >>winerctmp.c
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P winerctmp.c | sed -e '1,/^WINDOWS_H_ENDS_HERE/d' | $(WINERC) $(RCFLAGS) -c -o $* -p $*
|
|
$(RM) winerctmp.c
|
|
|
|
|
|
# Rule to rebuild resource compiler
|
|
|
|
$(WINERC) check_winerc:
|
|
cd $(TOPOBJDIR)/rc; $(SUBMAKE) winerc
|
|
|
|
# Rule to rebuild the makedep program
|
|
|
|
$(MAKEDEP) check_makedep:
|
|
cd $(TOPOBJDIR)/tools; $(SUBMAKE) makedep
|
|
|
|
# Rule for main module
|
|
|
|
$(MODULE).o: $(OBJS)
|
|
$(LDCOMBINE) $(OBJS) -o $(MODULE).o
|
|
|
|
|
|
# Misc. rules
|
|
|
|
depend:: $(MAKEDEP) $(C_SRCS) $(GEN_C_SRCS)
|
|
$(MAKEDEP) $(DIVINCL) -C. $(GEN_C_SRCS) -C$(SRCDIR) $(C_SRCS)
|
|
|
|
clean::
|
|
$(RM) *.o \#*\# *~ *.bak *.orig *.rej *.flc winerctmp.c $(GEN_C_SRCS) $(GEN_C_SRCS:.c=.h) $(GEN_ASM_SRCS) $(PROGRAMS)
|
|
|
|
dummy:
|
|
|
|
# End of global rules
|