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.
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)