mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-20 08:04:50 +00:00
![Alexandre Julliard](/assets/img/avatar_default.png)
Wed Feb 1 19:27:55 1995 Alexandre Julliard (julliard@lamisun.epfl.ch) * [windows/nonclient.c] [windows/winpos.c] Implemented maximized windows. Implemented icon positioning and ArrangeIconicWindows(). Bug fixes in SetWindowPos(). * [windows/painting.c] Implemented GetControlBrush(). Window frame is no longer contained in the update region. * [windows/win.c] Destroy owned windows upon DestroyWindow(). Sun Jan 29 16:17:22 1995 David Metcalfe <david@prism.demon.co.uk> * [controls/edit.c] Changed line terminator to \r\n to be compatible with Windows. Fixed bug in text selection. Sun Jan 29 14:10:22 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> * [misc/shell.c] Rewrote RegCreateKey and RegOpenKey, since they were completely broken. Fixed a bug in RegQueryKeyValue. Implemented RegEnumKey These functions now work somewhat more the way Windows programs expect them to work.
64 lines
1.2 KiB
Plaintext
64 lines
1.2 KiB
Plaintext
#include "../Wine.tmpl"
|
|
|
|
MODULE = rc
|
|
|
|
.SUFFIXES: .rc
|
|
|
|
.rc.c:
|
|
echo "#include \"windows.h\"" >$*.rct
|
|
echo WINDOWS_H_ENDS_HERE >>$*.rct
|
|
cat $< >>$*.rct
|
|
$(CC) -E -x c -P $(CFLAGS) $*.rct | sed -e '1,/^WINDOWS_H_ENDS_HERE/d' | ./winerc -o $* -v -p $*
|
|
$(RM) $*.rct
|
|
|
|
XCOMM This would be nicer, but it breaks gcc (2.5.8 on Linux) --AJ
|
|
XCOMM gcc -E -x c -P $(CFLAGS) -imacros ../include/windows.h $*.rc | ./winerc -o $* -v -p $*
|
|
|
|
RCSRCS = sysres.rc sysresbm.rc
|
|
|
|
RCOBJS = $(RCSRCS:.rc=.o)
|
|
|
|
WineRelocatableTarget($(MODULE),,$(RCOBJS))
|
|
|
|
$(RCOBJS): winerc $(TOP)/include/windows.h
|
|
|
|
includes::
|
|
touch $(RCSRCS:.rc=.h)
|
|
|
|
clean::
|
|
$(RM) $(RCSRCS:.rc=.c) $(RCSRCS:.rc=.h)
|
|
|
|
|
|
XCOMM Rules to build the winerc program
|
|
|
|
SRCS = \
|
|
lex.yy.c \
|
|
rc.tab.c \
|
|
winerc.c
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
#ifdef i386BsdArchitecture
|
|
#endif
|
|
#if defined(i386BsdArchitecture) || defined(i386FreeBsd) || defined(FreeBSDArchitecture)
|
|
LOCAL_LIBRARIES = -ll
|
|
#endif
|
|
#ifdef LinuxArchitecture
|
|
LOCAL_LIBRARIES = -lfl
|
|
#endif
|
|
|
|
depend:: rc.tab.c rc.tab.h lex.yy.c
|
|
|
|
clean::
|
|
$(RM) lex.yy.c rc.tab* y.tab.c
|
|
|
|
ComplexProgramTarget(winerc)
|
|
|
|
rc.tab.c rc.tab.h: rc.y
|
|
$(YACC) -b rc -d --debug rc.y
|
|
|
|
lex.yy.c: rc.l rc.tab.h
|
|
$(LEX) -I rc.l
|
|
|
|
|