Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stone <michael@laptop.org>2008-07-07 17:50:44 (GMT)
committer Michael Stone <michael@laptop.org>2008-07-07 17:50:44 (GMT)
commitfee6e881bdb88329e2b578af4574afe796af595f (patch)
tree7d00afd4dbb4d5f7734bcd98c26b099d3a358f06
parent973dde97f722a7a1d1cc237f99c047a02a872ac2 (diff)
Prepare for gids.
-rw-r--r--Makefile12
-rw-r--r--gids.c (copied from list.c)0
-rw-r--r--uids.c (renamed from list.c)0
3 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0ccbe95..f903793 100644
--- a/Makefile
+++ b/Makefile
@@ -9,16 +9,17 @@ WARNFLAGS = \
# declarations
RAINBOW_OBJS = nss-rainbow.o buf.o nat.o
-LIST_OBJS = list.o
+UIDS_OBJS = uids.o
+GIDS_OBJS = gids.o
TEST_NAT_OBJS = test_nat.o nat.o
-BINARIES = libnss_rainbow.so.2 list test_nat
+BINARIES = libnss_rainbow.so.2 uids gids test_nat
# targets
all: $(BINARIES)
clean:
- rm -f $(BINARIES) $(RAINBOW_OBJS) $(LIST_OBJS) $(TEST_NAT_OBJS)
+ rm -f $(BINARIES) $(RAINBOW_OBJS) $(UIDS_OBJS) $(GIDS_OBJS) $(TEST_NAT_OBJS)
install:
install -D -m 755 libnss_rainbow.so.2 $(DESTDIR)/usr/lib
@@ -35,7 +36,10 @@ install:
test_nat: $(TEST_NAT_OBJS)
$(CC) -g -std=gnu99 $(WARNFLAGS) -o $@ $^
-list: $(LIST_OBJS)
+uids: $(UIDS_OBJS)
+ $(CC) -g -std=gnu99 $(WARNFLAGS) -o $@ $^
+
+gids: $(GIDS_OBJS)
$(CC) -g -std=gnu99 $(WARNFLAGS) -o $@ $^
libnss_rainbow.so.2: $(RAINBOW_OBJS)
diff --git a/list.c b/gids.c
index dbe17d0..dbe17d0 100644
--- a/list.c
+++ b/gids.c
diff --git a/list.c b/uids.c
index dbe17d0..dbe17d0 100644
--- a/list.c
+++ b/uids.c