summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-12-01 13:27:04 +0100
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-12-01 14:33:38 -0800
commit551c26ee1720e97a2b5fcd445eb0b6453739ec97 (patch)
treea68ce1a9d5d6770794d4e38bb9bf904e32f30409 /Makefile
parent63ed948ab3831175bf10a0ff15c41094cc44474e (diff)
downloadcrda-551c26ee1720e97a2b5fcd445eb0b6453739ec97.tar.gz
crda-551c26ee1720e97a2b5fcd445eb0b6453739ec97.tar.bz2
crda-551c26ee1720e97a2b5fcd445eb0b6453739ec97.zip
Split printing functions to their own translation unit.
This allows to avoid linking them in the crda binary where they are not used. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e21edd2..cde9482 100644
--- a/Makefile
+++ b/Makefile
@@ -45,13 +45,13 @@ crda: reglib.o crda.o
$(NQ) ' LD ' $@
$(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o crda.o `pkg-config --libs libnl-1` $(LDLIBS)
-regdbdump: reglib.o regdbdump.o
+regdbdump: reglib.o regdbdump.o print-regdom.o
$(NQ) ' LD ' $@
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o $(LDLIBS)
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o print-regdom.o $(LDLIBS)
-intersect: reglib.o intersect.o
+intersect: reglib.o intersect.o print-regdom.o
$(NQ) ' LD ' $@
- $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o $(LDLIBS)
+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o print-regdom.o $(LDLIBS)
verify: $(REG_BIN) regdbdump
$(NQ) ' CHK $(REG_BIN)'