Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 1 | TOPSRCDIR = @top_srcdir@ |
| 2 | TOPOBJDIR = ../.. |
| 3 | SRCDIR = @srcdir@ |
| 4 | VPATH = @srcdir@ |
Steven Edwards | a0587c4 | 2002-06-20 22:44:41 +0000 | [diff] [blame] | 5 | EXEEXT = @EXEEXT@ |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 6 | |
Alexandre Julliard | f673b71 | 2002-06-14 23:48:27 +0000 | [diff] [blame] | 7 | PROGRAMS = winebuild$(EXEEXT) |
Alexandre Julliard | 664e410 | 2005-10-06 16:06:04 +0000 | [diff] [blame] | 8 | MANPAGES = winebuild.man |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 9 | MODULE = none |
| 10 | |
| 11 | C_SRCS = \ |
Alexandre Julliard | c585a50 | 2000-09-27 23:40:43 +0000 | [diff] [blame] | 12 | import.c \ |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 13 | main.c \ |
| 14 | parser.c \ |
| 15 | relay.c \ |
Alexandre Julliard | cbeb644 | 2000-10-25 20:33:58 +0000 | [diff] [blame] | 16 | res16.c \ |
Alexandre Julliard | 003e24c | 2000-10-23 21:33:06 +0000 | [diff] [blame] | 17 | res32.c \ |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 18 | spec16.c \ |
| 19 | spec32.c \ |
| 20 | utils.c |
| 21 | |
Alexandre Julliard | 2886e9b | 2006-08-07 17:48:18 +0200 | [diff] [blame] | 22 | INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) |
| 23 | |
Alexandre Julliard | 664e410 | 2005-10-06 16:06:04 +0000 | [diff] [blame] | 24 | all: $(PROGRAMS) $(MANPAGES) |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 25 | |
| 26 | @MAKE_RULES@ |
| 27 | |
Alexandre Julliard | f673b71 | 2002-06-14 23:48:27 +0000 | [diff] [blame] | 28 | winebuild$(EXEEXT): $(OBJS) |
Alexandre Julliard | 0c2c71b | 2003-04-21 23:27:21 +0000 | [diff] [blame] | 29 | $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS) |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 30 | |
Alexandre Julliard | 2886e9b | 2006-08-07 17:48:18 +0200 | [diff] [blame] | 31 | install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS) |
Mike Frysinger | 5392844 | 2006-02-14 13:51:38 +0100 | [diff] [blame] | 32 | $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) |
| 33 | $(INSTALL_DATA) winebuild.man $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext) |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 34 | |
| 35 | uninstall:: |
Mike Frysinger | 5392844 | 2006-02-14 13:51:38 +0100 | [diff] [blame] | 36 | $(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext) |
Alexandre Julliard | 3bd7d22 | 2002-07-28 18:58:41 +0000 | [diff] [blame] | 37 | |
Alexandre Julliard | 32ab895 | 2006-09-14 09:38:16 +0200 | [diff] [blame] | 38 | @DEPENDENCIES@ # everything below this line is overwritten by make depend |