[med-svn] [Git][med-team/pll-modules][master] Remove unneeded example makefile patch
Shayan Doust
gitlab at salsa.debian.org
Mon Jun 8 12:23:40 BST 2020
Shayan Doust pushed to branch master at Debian Med / pll-modules
Commits:
03dac017 by Shayan Doust at 2020-06-08T12:23:23+01:00
Remove unneeded example makefile patch
- - - - -
1 changed file:
- − debian/patches/modify_examples_makefiles.patch
Changes:
=====================================
debian/patches/modify_examples_makefiles.patch deleted
=====================================
@@ -1,85 +0,0 @@
-Description: link and build against libs and headers built
- build and link against the libraries and headers built within the package in debian/tmp directory.
-Author: Shayan Doust <hello at shayandoust.me>
-Last-Update: 2020-06-07
----
---- pll-modules.orig/examples/consensus/Makefile
-+++ pll-modules/examples/consensus/Makefile
-@@ -29,15 +29,17 @@
- endif
- WARN=-Wall -Wsign-compare $(ADD_WARN)
-
--CFLAGS = -g -O3 -Wall -Wsign-compare $(PROFILING) $(WARN)
-+CFLAGS = -g -O3 -Wall -Wsign-compare $(PROFILING) $(WARN)
- LDFLAGS = -lpll_tree -lpll -lm
-
- PROG = consensus
-
- default: all
- all :
-- cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare -c -o $(PROG).o $(PROG).c
-- cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare $(PROG).o -lpll_tree -lpll -lm -o $(PROG)
-+ cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare -c -o $(PROG).o $(PROG).c -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-+ cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare $(PROG).o -lpll_tree -lpll -lm -o $(PROG) -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
-
- rf-distance : $(OBJS)
---- pll-modules.orig/examples/rf-distance/Makefile
-+++ pll-modules/examples/rf-distance/Makefile
-@@ -39,10 +39,12 @@
- all : $(PROG)
-
- rf-distance : $(OBJS)
-- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
- %.o: %.c
-- $(CC) $(CFLAGS) -c -o $@ $<
-+ $(CC) $(CFLAGS) -c -o $@ $< -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
- clean:
- rm -f *~ $(OBJS) $(PROG)
---- pll-modules.orig/examples/spr-round/Makefile
-+++ pll-modules/examples/spr-round/Makefile
-@@ -44,10 +44,11 @@
- all : $(PROG)
-
- spr-round : $(OBJS)
-- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include/libpll -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-
- %.o: %.c
-- $(CC) $(CFLAGS) -c -o $@ $<
-+ $(CC) $(CFLAGS) -c -o $@ $< -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include/libpll -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
- clean:
- rm -f *~ $(OBJS) $(PROG)
---- pll-modules.orig/examples/weight-consensus/Makefile
-+++ pll-modules/examples/weight-consensus/Makefile
-@@ -36,15 +36,17 @@
-
- default: all
- all :
-- cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare -c -o $(PROG).o $(PROG).c
-- cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare $(PROG).o -lpll_tree -lpll -lm -o $(PROG)
-+ cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare -c -o $(PROG).o $(PROG).c -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-
-+ cc -g -O3 -Wall -Wsign-compare -g -Wall -Wsign-compare $(PROG).o -lpll_tree -lpll -lm -o $(PROG) -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-
- rf-distance : $(OBJS)
-- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROG) -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
- %.o: %.c
-- $(CC) $(CFLAGS) -c -o $@ $<
-+ $(CC) $(CFLAGS) -c -o $@ $< -I/usr/include/libpll -I$(CURDIR)/../../debian/tmp/usr/include -L/usr/lib -L$(CURDIR)/../../debian/tmp/usr/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/
-+
-
- clean:
- rm -f *~ $(OBJS) $(PROG)
View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/commit/03dac017722a32de0aa456a00013c2a9fa6a8ac3
--
View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/commit/03dac017722a32de0aa456a00013c2a9fa6a8ac3
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200608/af18598f/attachment-0001.html>
More information about the debian-med-commit
mailing list