$NetBSD: patch-ae,v 1.4 2002/10/04 08:59:36 jlam Exp $ --- Makefile.in.orig Fri Jun 7 23:00:04 2002 +++ Makefile.in @@ -8,7 +8,10 @@ # from Makefile.in # -LIBS = @LIBS@ +HELPDIR = @HELPDIR@ +DEV_DSP = @DEV_DSP@ +EXTRA_CPPFLAGS = -DHELPDIR=\"$(HELPDIR)\" -DDEV_DSP=\"$(DEV_DSP)\" +LIBS = @LIBS@ ${LIBOSSAUDIO} CFLAGS = @CFLAGS@ @CPPFLAGS@ -Iallegro CCC = @CXX@ CC = @CC@ @@ -106,10 +109,11 @@ audacity: $(OBJS) Makefile # # install: + -test -d $(HELPDIR) || mkdir -m 755 -p $(HELPDIR) + -test -f audacity-help.htb && $(INSTALL) -m 644 audacity-help.htb \ + $(HELPDIR)/audacity-help.htb -test -d $(PREFIX)/share/doc/audacity || \ mkdir -m 755 -p $(PREFIX)/share/doc/audacity - -test -f audacity-help.htb && $(INSTALL) -m 644 audacity-help.htb \ - $(PREFIX)/share/doc/audacity/audacity-help.htb $(INSTALL) -m 644 README.txt $(PREFIX)/share/doc/audacity/README.txt $(INSTALL) -m 644 LICENSE.txt $(PREFIX)/share/doc/audacity/LICENSE.txt -test -d $(PREFIX)/bin || \ @@ -175,10 +179,10 @@ $(DIRS): %: # $(OBJDIR)/%.cpp.o: %.cpp - $(CCC) -c $(CFLAGS) $< -o $@ + $(CCC) -c $(CFLAGS) $(EXTRA_CPPFLAGS) $< -o $@ $(OBJDIR)/%.c.o: %.c - $(CC) -c $(CFLAGS) $< -o $@ + $(CC) -c $(CFLAGS) $(EXTRA_CPPFLAGS) $< -o $@ # # Include ".depend" if it exists (run "make dep" to generate it)