1
0

patch-src_Makefile_in 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- gpm-1.20.7.orig/src/Makefile.in 2012-10-26 23:21:38.000000000 +0200
  2. +++ gpm-1.20.7/src/Makefile.in 2013-12-22 12:46:27.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@ @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. @@ -150,11 +150,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@