From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 18 Jan 2010 10:14:38 +0000 (+1300)
Subject: Remove keydb backend specific compilation rule
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/29d278dc5e9cca1cbabccc6b9536e05a76892a4d?ds=sidebyside

Remove keydb backend specific compilation rule

  We were defining a custom compile rule for the keydb .c -> .o stage,
  which left out the CFLAGS. We don't need this; the custom bit is at
  link time so we pick up the right libs.
---

diff --git a/Makefile.in b/Makefile.in
index 61dc164..546f3a8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -78,9 +78,6 @@ libkeydb_pg.so: keydb_pg.o
 libkeydb_%.so: keydb_%.o
 	$(CC) -shared -o $@ $< $(CORE_OBJS)
 
-keydb_%.o: keydb_%.c
-	$(CC) -c -fPIC $(LDFLAGS) -o $@ $<
-
 splitkeys: splitkeys.o $(CORE_OBJS) $(KEYDB_OBJ)
 	$(CC) $(LDFLAGS) -o splitkeys splitkeys.o $(CORE_OBJS) $(KEYDB_OBJ) \
 		$(LIBS) $(PROGS_LDFLAGS_EXTRA)