# Generated automatically from Makefile.in by configure. # Makefile.in for PMW. The building work is done by a separate Makefile in # the src directory, which gets passed settings from here. mkinstalldirs = $(SHELL) mkinstalldirs # These variables get set up by the configure script. CC=cc CFLAGS+=-fno-common NO_PMWRC= INSTALL = /usr/bin/install -c -o root -g wheel INSTALL_DATA = install -o root -g wheel -m 444 BINDIR=/usr/local/bin DATADIR=/usr/local/share/pmw MANDIR=/usr/local/man # BINDIR is the directory in which the pmw command is installed. # DATADIR is the directory in which the fontmetrics, the PostScript fonts, # and the PostScript header file are installed, in a subdirectory called pmw. # MANDIR is the directory in which the man pages are installed. # The compile commands can be very long. To make the output look better, # they are not normally echoed in full. To get full echoing, the caller # must set FULLECHO='' on the command line and call make with -e. We default # FULLECHO to '@' to suppress the full echo. Then define an abbreviation. FULLECHO = @ FE = $(FULLECHO) build:; @cd src; \ $(MAKE) all \ BINDIR=$(BINDIR) \ DATADIR=$(DATADIR) \ MANDIR=$(MANDIR) \ CC="$(CC)" \ CFLAGS="$(CFLAGS)" \ NO_PMWRC="$(NO_PMWRC)" \ FE="$(FE)" \ $(MFLAGS) clean:; cd src; $(MAKE) clean distclean:; rm Makefile config.cache config.log config.status; \ cd src; $(MAKE) clean test:; cd testdist; ./RunTests install: build $(mkinstalldirs) $(BINDIR) $(mkinstalldirs) $(DATADIR) $(mkinstalldirs) $(DATADIR)/psfonts $(mkinstalldirs) $(DATADIR)/fontmetrics $(mkinstalldirs) $(MANDIR) $(mkinstalldirs) $(MANDIR)/man1 $(INSTALL) src/pmw $(BINDIR)/pmw $(INSTALL_DATA) PSheader $(DATADIR) $(INSTALL_DATA) MIDIvoices $(DATADIR) $(INSTALL_DATA) MIDIperc $(DATADIR) $(INSTALL_DATA) psfonts/PMW-Music.pfa $(DATADIR)/psfonts $(INSTALL_DATA) psfonts/PMW-Alpha $(DATADIR)/psfonts $(INSTALL_DATA) fontmetrics/* $(DATADIR)/fontmetrics $(INSTALL_DATA) doc/pmw.1 $(MANDIR)/man1 uninstall:; rm -rf \ $(BINDIR)/pmw \ $(DATADIR) \ $(MANDIR)/man1/pmw.1 # End