Alexandre Julliard | 280661c | 2003-09-11 21:27:58 +0000 | [diff] [blame] | 1 | DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\"" |
Alexandre Julliard | bf9130a | 1996-10-13 17:45:47 +0000 | [diff] [blame] | 2 | TOPSRCDIR = @top_srcdir@ |
| 3 | TOPOBJDIR = .. |
| 4 | SRCDIR = @srcdir@ |
| 5 | VPATH = @srcdir@ |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 6 | EXEEXT = @EXEEXT@ |
Alexandre Julliard | 6a9fe36 | 2003-03-19 22:09:16 +0000 | [diff] [blame] | 7 | MODULE = none |
Huw Davies | 00acb5f | 2004-08-17 22:33:14 +0000 | [diff] [blame] | 8 | EXTRAINCL = @FREETYPEINCL@ |
| 9 | FREETYPELIBS = @FREETYPELIBS@ |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 10 | |
Dimitrie O. Paun | 2652dcf | 2002-12-05 19:12:13 +0000 | [diff] [blame] | 11 | PROGRAMS = \ |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 12 | bin2res$(EXEEXT) \ |
| 13 | fnt2bdf$(EXEEXT) \ |
| 14 | fnt2fon$(EXEEXT) \ |
| 15 | make_ctests$(EXEEXT) \ |
| 16 | makedep$(EXEEXT) \ |
| 17 | sfnt2fnt$(EXEEXT) \ |
Alexandre Julliard | bd60364 | 2004-04-01 05:03:27 +0000 | [diff] [blame] | 18 | wineprefixcreate |
Dimitrie O. Paun | 2652dcf | 2002-12-05 19:12:13 +0000 | [diff] [blame] | 19 | |
Alexandre Julliard | 12a7499 | 2005-10-06 16:10:01 +0000 | [diff] [blame] | 20 | MANPAGES = \ |
| 21 | winemaker.man |
| 22 | |
Dimitrie O. Paun | 2652dcf | 2002-12-05 19:12:13 +0000 | [diff] [blame] | 23 | C_SRCS = \ |
| 24 | bin2res.c \ |
| 25 | fnt2bdf.c \ |
Huw Davies | 00acb5f | 2004-08-17 22:33:14 +0000 | [diff] [blame] | 26 | fnt2fon.c \ |
Alexandre Julliard | bcb7591 | 2005-03-16 20:02:17 +0000 | [diff] [blame] | 27 | make_ctests.c \ |
Huw Davies | 00acb5f | 2004-08-17 22:33:14 +0000 | [diff] [blame] | 28 | makedep.c \ |
| 29 | sfnt2fnt.c \ |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 30 | |
Alexandre Julliard | 7b077df | 2005-06-28 19:38:55 +0000 | [diff] [blame] | 31 | INSTALLSUBDIRS = \ |
Alexandre Julliard | 7d4ee77 | 2002-07-16 03:20:45 +0000 | [diff] [blame] | 32 | widl \ |
Alexandre Julliard | e482eeb | 2000-06-23 20:15:35 +0000 | [diff] [blame] | 33 | winebuild \ |
Eric Pouech | d786a12 | 2001-09-07 16:04:38 +0000 | [diff] [blame] | 34 | winedump \ |
Alexandre Julliard | 280661c | 2003-09-11 21:27:58 +0000 | [diff] [blame] | 35 | winegcc \ |
Bertho Stultiens | 3085591 | 2000-06-13 04:34:41 +0000 | [diff] [blame] | 36 | wmc \ |
Alexandre Julliard | c53ceba | 2000-04-09 18:19:59 +0000 | [diff] [blame] | 37 | wrc |
| 38 | |
Alexandre Julliard | 7b077df | 2005-06-28 19:38:55 +0000 | [diff] [blame] | 39 | SUBDIRS = \ |
| 40 | $(INSTALLSUBDIRS) \ |
| 41 | winapi |
Gerald Pfeifer | 19f8f46 | 2000-06-18 17:20:53 +0000 | [diff] [blame] | 42 | |
Christian Neumair | ee15af0 | 2004-07-30 00:05:02 +0000 | [diff] [blame] | 43 | UPDATE_DESKTOP_DATABASE = update-desktop-database |
| 44 | |
Alexandre Julliard | 12a7499 | 2005-10-06 16:10:01 +0000 | [diff] [blame] | 45 | all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS) |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 46 | |
Alexandre Julliard | ff8331e | 1995-09-18 11:19:54 +0000 | [diff] [blame] | 47 | @MAKE_RULES@ |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 48 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 49 | makedep$(EXEEXT): makedep.o |
| 50 | $(CC) $(CFLAGS) -o $@ makedep.o |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 51 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 52 | make_ctests$(EXEEXT): make_ctests.o |
| 53 | $(CC) $(CFLAGS) -o $@ make_ctests.o |
Alexandre Julliard | bcb7591 | 2005-03-16 20:02:17 +0000 | [diff] [blame] | 54 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 55 | fnt2bdf$(EXEEXT): fnt2bdf.o |
| 56 | $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) |
Alexandre Julliard | 7e6ae4b | 1996-12-08 19:25:27 +0000 | [diff] [blame] | 57 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 58 | fnt2fon$(EXEEXT): fnt2fon.o |
| 59 | $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) |
Huw Davies | 00acb5f | 2004-08-17 22:33:14 +0000 | [diff] [blame] | 60 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 61 | sfnt2fnt$(EXEEXT): sfnt2fnt.o |
| 62 | $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBUNICODE) $(LIBPORT) $(FREETYPELIBS) |
Huw Davies | 00acb5f | 2004-08-17 22:33:14 +0000 | [diff] [blame] | 63 | |
Detlef Riekenberg | 0596fe1 | 2005-08-08 15:02:29 +0000 | [diff] [blame] | 64 | bin2res$(EXEEXT): bin2res.o |
| 65 | $(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT) |
Alexandre Julliard | 2f158c2 | 2000-06-14 21:45:38 +0000 | [diff] [blame] | 66 | |
Alexandre Julliard | bd60364 | 2004-04-01 05:03:27 +0000 | [diff] [blame] | 67 | wineprefixcreate: wineprefixcreate.in |
| 68 | sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false) |
| 69 | chmod +x wineprefixcreate |
| 70 | |
Alexandre Julliard | beac194 | 2005-03-02 12:18:55 +0000 | [diff] [blame] | 71 | install install-lib:: wineprefixcreate |
Mike Frysinger | 5392844 | 2006-02-14 13:51:38 +0100 | [diff] [blame] | 72 | $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/applications |
| 73 | $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate |
| 74 | $(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf |
| 75 | $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop |
Christian Neumair | ee15af0 | 2004-07-30 00:05:02 +0000 | [diff] [blame] | 76 | -$(UPDATE_DESKTOP_DATABASE) |
Alexandre Julliard | 2f158c2 | 2000-06-14 21:45:38 +0000 | [diff] [blame] | 77 | |
Alexandre Julliard | 12a7499 | 2005-10-06 16:10:01 +0000 | [diff] [blame] | 78 | install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES) |
Mike Frysinger | 5392844 | 2006-02-14 13:51:38 +0100 | [diff] [blame] | 79 | $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) |
| 80 | $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker |
| 81 | $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) |
Alexandre Julliard | beac194 | 2005-03-02 12:18:55 +0000 | [diff] [blame] | 82 | |
Alexandre Julliard | f673b71 | 2002-06-14 23:48:27 +0000 | [diff] [blame] | 83 | uninstall:: |
Mike Frysinger | 5392844 | 2006-02-14 13:51:38 +0100 | [diff] [blame] | 84 | $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop |
Christian Neumair | ee15af0 | 2004-07-30 00:05:02 +0000 | [diff] [blame] | 85 | -$(UPDATE_DESKTOP_DATABASE) |
Juergen Schmied | 04f7fe7 | 1999-11-13 22:32:21 +0000 | [diff] [blame] | 86 | |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 87 | ### Dependencies: |