2000-06-23 22:15:35 +02:00
|
|
|
DEFS = -D__WINE__
|
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
PROGRAMS = winebuild
|
|
|
|
MODULE = none
|
|
|
|
|
|
|
|
C_SRCS = \
|
2000-09-28 01:40:43 +02:00
|
|
|
import.c \
|
2000-06-23 22:15:35 +02:00
|
|
|
main.c \
|
|
|
|
parser.c \
|
|
|
|
relay.c \
|
2000-10-25 22:33:58 +02:00
|
|
|
res16.c \
|
2000-10-23 23:33:06 +02:00
|
|
|
res32.c \
|
2000-06-23 22:15:35 +02:00
|
|
|
spec16.c \
|
|
|
|
spec32.c \
|
|
|
|
utils.c
|
|
|
|
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2000-10-23 23:33:06 +02:00
|
|
|
winebuild: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
|
2000-10-25 23:36:54 +02:00
|
|
|
$(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LDFLAGS)
|
2000-10-23 23:33:06 +02:00
|
|
|
|
|
|
|
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
|
|
|
|
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
install:: $(PROGRAMS)
|
|
|
|
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
|
|
|
$(INSTALL_PROGRAM) winebuild $(bindir)/winebuild
|
|
|
|
|
|
|
|
uninstall::
|
|
|
|
$(RM) $(bindir)/winebuild
|
|
|
|
|
|
|
|
### Dependencies:
|