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@
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
PROGRAMS = winebuild$(EXEEXT)
|
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
|
|
|
|
|
2002-07-28 20:58:41 +02:00
|
|
|
all: $(PROGRAMS) winebuild.man
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
@MAKE_RULES@
|
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LDFLAGS)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
2002-07-28 20:58:41 +02:00
|
|
|
winebuild.man: winebuild.man.in
|
|
|
|
sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/winebuild.man.in >$@ || $(RM) $@
|
|
|
|
|
|
|
|
install:: $(PROGRAMS) winebuild.man
|
|
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
|
2002-06-15 01:48:27 +02:00
|
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(bindir)/winebuild$(EXEEXT)
|
2002-07-28 20:58:41 +02:00
|
|
|
$(INSTALL_DATA) winebuild.man $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
uninstall::
|
2002-07-28 20:58:41 +02:00
|
|
|
$(RM) $(bindir)/winebuild$(EXEEXT) $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
|
|
|
|
|
|
|
clean::
|
|
|
|
$(RM) winebuild.man
|
2000-06-23 22:15:35 +02:00
|
|
|
|
|
|
|
### Dependencies:
|