mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-25 09:26:23 +00:00
6abb89c3b2
Thu Mar 2 17:44:32 1995 Alexandre Julliard (julliard@sunsite.unc.edu) * [loader/resource.c] [objects/oembitmap.c] Removed sysres bitmap code; you need libXpm to compile now. Implemented LoadIcon() for OEM icons. * [include/bitmaps/oic_*] Added OEM icons in XPM format. * [objects/dib.c] Bug fix in DrawIcon(). * [rc/sysresbm.rc] Removed; all bitmaps are stored in XPM format now. Tue Feb 28 18:54:28 1995 Tomi Leppikangas (tomilepp@paju.oulu.fi) * [controls/edit.c] Small patch to fix edit-control when it's created with text. Sun Feb 26 20:22:15 1995 Michael Veksler (e1678223@tochnapc2.technion.ac.il) * [tools/make_debug] The created macros won't have side effects anymore when used in an "if-else" structure. No more warnings from the compiler when compiled without defining DEBUG_RUNTIME. Sun Feb 26 20:20:49 1995 Michael Patra <micky@marie.physik.TU-Berlin.DE> * [controls/listbox.c] ListBoxDeleteString(): Fixed * [loader/selector.c] GetMemoryReference(): When special segments are referenced by pseudo-functions like __0040H, a reference to a "normal" segment will be returned preventing the program from crashing as soon as the referenced segment is actually accessed. Sun Feb 26 15:55:14 MET 1995 Martin von Loewis (loewis@informatik.hu-berlin.de) * [Configure] Ask for OLE stubs and malloc debugging * [Imakefile] link with libmcheck.a if necessary * [if1632/relay.c][include/dll.h][if1632/Imakefile] Add OLE stubs, increase number of builtins dll_name_table_entry_s: new field dll_is_used * [loader/library.c] GetModuleHandle,ModuleNext: Check dll_is_used * [loader/ne_image.c] Bark on unsupported NE_RADDR_LOWBYTE flag (what is it supposed to mean, anyway?) * [misc/olecli.c][misc/olesvr.c] New files. Add to misc/Imakefile * [misc/dos_fs.c] DOS_GetUnixFileName: make a copy of the input parameter to prevent overwriting * [misc/main.c] MAIN_ParseDLLOptions: new function MAIN_ParseOptions: treat -dll command line flag main: add support for malloc debugging Fri Feb 24 12:43:27 1995 Erik Svendsen <z3esv@kmd-ac.dk> * [loader/signal.c] Small patch for people using FreeBSD-2.1.0. Fri Feb 17 22:49:18 1995 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx) * [toolkit/sup.c] Added return values to the Call* routines * [toolkit/winmain.c] Load the resource file properly for WineLib applications.
67 lines
1.2 KiB
Plaintext
67 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
|
|
|
|
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 \
|
|
winerc.c \
|
|
y.tab.c
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
#ifdef SunArchitecture
|
|
YACC=bison -y
|
|
LEX=flex
|
|
LOCAL_LIBRARIES = -ly -ll
|
|
#endif
|
|
#if defined(i386BsdArchitecture) || defined(i386FreeBsd) || defined(FreeBSDArchitecture)
|
|
LOCAL_LIBRARIES = -ll
|
|
#endif
|
|
#ifdef LinuxArchitecture
|
|
LOCAL_LIBRARIES = -lfl
|
|
#endif
|
|
|
|
depend:: y.tab.c y.tab.h lex.yy.c
|
|
|
|
clean::
|
|
$(RM) lex.yy.c y.tab.*
|
|
|
|
ComplexProgramTarget(winerc)
|
|
|
|
y.tab.c y.tab.h: parser.y
|
|
$(YACC) -d -t parser.y
|
|
|
|
lex.yy.c: parser.l y.tab.h
|
|
$(LEX) -I parser.l
|
|
|
|
|