69 lines
2.0 KiB
Makefile
69 lines
2.0 KiB
Makefile
EXTRAINCL = @FREETYPE_CFLAGS@
|
|
FREETYPELIBS = @FREETYPE_LIBS@
|
|
|
|
PROGRAMS = \
|
|
fnt2fon$(EXEEXT) \
|
|
make_ctests$(EXEEXT) \
|
|
make_xftmpl$(EXEEXT) \
|
|
sfnt2fnt$(EXEEXT) \
|
|
wineapploader
|
|
|
|
MANPAGE = winemaker.man
|
|
|
|
EXTRA_MANPAGES = \
|
|
winemaker.de.man \
|
|
winemaker.fr.man
|
|
|
|
C_SRCS = \
|
|
fnt2fon.c \
|
|
make_ctests.c \
|
|
make_xftmpl.c \
|
|
makedep.c \
|
|
sfnt2fnt.c
|
|
|
|
INSTALLDIRS = \
|
|
$(DESTDIR)$(bindir) \
|
|
$(DESTDIR)$(datadir)/applications \
|
|
$(DESTDIR)$(mandir)/man$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
|
|
|
|
UPDATE_DESKTOP_DATABASE = update-desktop-database
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
make_ctests$(EXEEXT): make_ctests.o
|
|
$(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
|
|
|
|
make_xftmpl$(EXEEXT): make_xftmpl.o
|
|
$(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
|
|
|
|
fnt2fon$(EXEEXT): fnt2fon.o
|
|
$(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
|
|
|
|
sfnt2fnt$(EXEEXT): sfnt2fnt.o
|
|
$(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE_STATIC) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)
|
|
|
|
wineapploader: wineapploader.in
|
|
sed -e 's,@bindir\@,$(bindir),g' $(srcdir)/wineapploader.in >$@ || ($(RM) $@ && false)
|
|
|
|
install install-lib:: $(DESTDIR)$(datadir)/applications
|
|
$(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
|
|
-$(UPDATE_DESKTOP_DATABASE)
|
|
|
|
install install-dev:: $(DESTDIR)$(bindir) install-man-pages
|
|
$(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
|
|
|
|
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
|
|
$(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
|
|
$(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(datadir)/applications/wine.desktop \
|
|
$(DESTDIR)$(bindir)/winemaker \
|
|
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
|
|
-$(UPDATE_DESKTOP_DATABASE)
|