mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 04:16:35 +00:00
3a5816f87e
Tue Dec 27 13:35:16 1994 Alexandre Julliard (julliard@lamisun.epfl.ch) * [*/Imakefile] All objects files are now kept in their respective directory. * [README] Rewrote most of it. * [objects/bitblt.c] Rewrote BitBlt() to look right in every case, while minimizing the impact on performance. Not really finished yet. * [objects/bitmap.c] [objects/dc.c] Fixed bug with pattern brushes. * [objects/clipping.c] [windows/painting.c] Fixes for logical coordinates. * [objects/color.c] [windows/graphics.c] Fixed GetPixel() to return the correct color, and made it faster. * [objects/region.c] Fixed bug in CombineRgn() when one of the region is empty. Fri Dec 22 01:42:57 MET 1994 Dag Asheim (dash@ifi.uio.no) * [Configure] Don't assume that expr handles '==', use '=' instead. Give a (hopefully informative) message if imake fails.
63 lines
1.1 KiB
Plaintext
63 lines
1.1 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::
|
|
|
|
clean::
|
|
$(RM) $(RCSRCS:.rc=.c)
|
|
|
|
|
|
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
|
|
|
|
|