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)
|
2010-12-05 16:17:42 +01:00
|
|
|
MANPAGE = winebuild.man
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2010-12-05 16:17:42 +01:00
|
|
|
all: $(PROGRAMS)
|
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
|
|
|
|
2010-12-05 16:17:42 +01:00
|
|
|
install:: $(PROGRAMS) $(DESTDIR)$(bindir)
|
2006-02-14 13:51:38 +01:00
|
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
uninstall::
|
2010-12-05 16:17:42 +01:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
|