patch-Makefile_in 614 B

1234567891011121314151617181920212223
  1. --- rarpd-1.1.orig/Makefile.in 1999-10-20 22:57:13.000000000 +0200
  2. +++ rarpd-1.1/Makefile.in 2011-01-20 15:06:00.144913893 +0100
  3. @@ -1,17 +1,18 @@
  4. INSTALL = @srcdir@/install.sh
  5. CC = @CC@
  6. CFLAGS = @CFLAGS@ @DEFS@
  7. +CPPFLAGS = @CPPFLAGS@
  8. ENSUREDIR = @srcdir@/ensure-dir.sh
  9. SBINDIR = @sbindir@
  10. all: rarpd
  11. .c.o:
  12. - $(CC) $(CFLAGS) -c $< -o $@
  13. + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
  14. rarpd: rarpd.o @LIBOBJS@
  15. $(CC) @LDFLAGS@ -o $@ rarpd.o @LIBOBJS@ @LIBS@
  16. install: rarpd
  17. - $(ENSUREDIR) $(DESTDIR)$(SBINDIR) 755
  18. + @mkdir -p $(DESTDIR)$(SBINDIR)
  19. $(INSTALL) -c -m 0755 rarpd $(DESTDIR)$(SBINDIR)