mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 08:46:29 +00:00
4d52d37924
leave more space for the Win32 executable.
36 lines
729 B
Makefile
36 lines
729 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = wine
|
|
IMPORTS = ntdll
|
|
LDIMPORTS = ntdll.dll
|
|
|
|
C_SRCS = \
|
|
main.c
|
|
|
|
all: $(MODULE)
|
|
|
|
@MAKE_RULES@
|
|
|
|
ALL_OBJS = $(MODULE).spec.o $(OBJS)
|
|
LDEXECFLAGS = @LDEXECFLAGS@
|
|
|
|
$(MODULE): $(ALL_OBJS)
|
|
$(CC) -o $@ $(LDEXECFLAGS) $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LIBS) $(LDFLAGS)
|
|
|
|
$(MODULE).spec.c: $(WINEBUILD)
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode gui --entry wine_initial_task -L$(DLLDIR) $(IMPORTS:%=-l%)
|
|
|
|
install:: $(MODULE)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) wine $(bindir)/wine
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/wine
|
|
|
|
clean::
|
|
$(RM) $(MODULE)
|
|
|
|
### Dependencies:
|