patch-src_Makefile_in 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- gpm-1.20.6.orig/src/Makefile.in 2009-02-09 10:58:53.000000000 +0100
  2. +++ gpm-1.20.6/src/Makefile.in 2011-01-11 16:48:43.000000000 +0100
  3. @@ -59,19 +59,19 @@ STRIP = -s
  4. # the prog rules are not very clean...
  5. prog/%.o: prog/%.c
  6. - $(CC) -Iheaders @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $<
  7. + $(CC) -Iheaders @CPPFLAGS@ @CFLAGS@ -c -o $@ $<
  8. prog/%: prog/%.o
  9. - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS)
  10. + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@
  11. %.o: %.c
  12. - $(CC) @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $<
  13. + $(CC) @CPPFLAGS@ @CFLAGS@ -c -o $@ $<
  14. %.lo: %.c
  15. - $(CC) @CPPFLAGS@ $(CPPFLAGS) @PICFLAGS@ @CFLAGS@ $(CFLAGS) -c -o $@ $<
  16. + $(CC) @CPPFLAGS@ @PICFLAGS@ @CFLAGS@ -c -o $@ $<
  17. %: %.o
  18. - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS)
  19. + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@
  20. # old, unused, but good rule [dependings]
  21. #%.d: $(srcdir)/%.c
  22. @@ -82,7 +82,7 @@ prog/%: prog/%.o
  23. all: gpm lib/libgpm.so.@abi_lev@ lib/libgpm.a $(PROG)
  24. gpm: $(GOBJ)
  25. - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $(GOBJ) @LIBS@ $(LIBS) -lm
  26. + $(CC) @LDFLAGS@ -o $@ $(GOBJ) @LIBS@ -lm
  27. # construct dependings of sourcefiles and link sourcefiles
  28. $(DEPFILE) dep: prog/gpm-root.c
  29. @@ -148,11 +148,11 @@ prog/gpm-root.c: $(srcdir)/prog/gpm-root
  30. # gpm-root needs an own rule, because gpm-root.c is not in $(srcdir)
  31. prog/gpm-root: prog/gpm-root.c lib/libgpm.so.@abi_lev@
  32. - $(CC) -I. @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@.o $<
  33. - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $@.o @LIBS@ $(LIBS) lib/libgpm.so.@abi_lev@
  34. + $(CC) -I. @CPPFLAGS@ @CFLAGS@ -c -o $@.o $<
  35. + $(CC) @LDFLAGS@ -o $@ $@.o @LIBS@ lib/libgpm.so.@abi_lev@
  36. prog/mouse-test: prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o
  37. - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS) -lm
  38. + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@ -lm
  39. $(PROG): lib/libgpm.so.@abi_lev@