2000-06-23 22:15:35 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-06-21 00:44:41 +02:00
|
|
|
EXEEXT = @EXEEXT@
|
2009-10-05 14:55:25 +02:00
|
|
|
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
PROGRAMS = winebuild$(EXEEXT)
|
2005-10-06 18:06:04 +02:00
|
|
|
MANPAGES = winebuild.man
|
2000-06-23 22:15:35 +02:00
|
|
|
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
|
|
|
|
|
2006-08-07 17:48:18 +02:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
|
2005-10-06 18:06:04 +02:00
|
|
|
all: $(PROGRAMS) $(MANPAGES)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
2003-04-22 01:27:21 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2008-08-25 14:27:03 +02:00
|
|
|
install install-dev:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|
|
|
|
$(INSTALL_DATA) winebuild.man $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
uninstall::
|
2006-02-14 13:51:38 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
2002-07-28 20:58:41 +02:00
|
|
|
|
2006-09-14 09:38:16 +02:00
|
|
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|