123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- --- gpm-1.20.7.orig/src/Makefile.in 2012-10-26 23:21:38.000000000 +0200
- +++ gpm-1.20.7/src/Makefile.in 2013-12-22 12:46:27.000000000 +0100
- @@ -59,19 +59,19 @@ STRIP = -s
-
- # the prog rules are not very clean...
- prog/%.o: prog/%.c
- - $(CC) -Iheaders @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $<
- + $(CC) -Iheaders @CPPFLAGS@ @CFLAGS@ -c -o $@ $<
-
- prog/%: prog/%.o
- - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS)
- + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@
-
- %.o: %.c
- - $(CC) @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $<
- + $(CC) @CPPFLAGS@ @CFLAGS@ -c -o $@ $<
-
- %.lo: %.c
- - $(CC) @CPPFLAGS@ $(CPPFLAGS) @PICFLAGS@ @CFLAGS@ $(CFLAGS) -c -o $@ $<
- + $(CC) @CPPFLAGS@ @PICFLAGS@ @CFLAGS@ -c -o $@ $<
-
- %: %.o
- - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS)
- + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@
-
- # old, unused, but good rule [dependings]
- #%.d: $(srcdir)/%.c
- @@ -82,7 +82,7 @@ prog/%: prog/%.o
- all: gpm lib/libgpm.so.@abi_lev@ @LIBGPM_A@ $(PROG)
-
- gpm: $(GOBJ)
- - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $(GOBJ) @LIBS@ $(LIBS) -lm
- + $(CC) @LDFLAGS@ -o $@ $(GOBJ) @LIBS@ -lm
-
- # construct dependings of sourcefiles and link sourcefiles
- $(DEPFILE) dep: prog/gpm-root.c
- @@ -150,11 +150,11 @@ prog/gpm-root.c: $(srcdir)/prog/gpm-root
-
- # gpm-root needs an own rule, because gpm-root.c is not in $(srcdir)
- prog/gpm-root: prog/gpm-root.c lib/libgpm.so.@abi_lev@
- - $(CC) -I. @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@.o $<
- - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $@.o @LIBS@ $(LIBS) lib/libgpm.so.@abi_lev@
- + $(CC) -I. @CPPFLAGS@ @CFLAGS@ -c -o $@.o $<
- + $(CC) @LDFLAGS@ -o $@ $@.o @LIBS@ lib/libgpm.so.@abi_lev@
-
- prog/mouse-test: prog/mouse-test.o mice.o twiddler.o synaptics.o prog/open_console.o
- - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS) -lm
- + $(CC) @LDFLAGS@ -o $@ $^ @LIBS@ -lm
-
- $(PROG): lib/libgpm.so.@abi_lev@
-
|