diff options
author | Michael Stone <michael@laptop.org> | 2008-07-07 17:50:44 (GMT) |
---|---|---|
committer | Michael Stone <michael@laptop.org> | 2008-07-07 17:50:44 (GMT) |
commit | fee6e881bdb88329e2b578af4574afe796af595f (patch) | |
tree | 7d00afd4dbb4d5f7734bcd98c26b099d3a358f06 | |
parent | 973dde97f722a7a1d1cc237f99c047a02a872ac2 (diff) |
Prepare for gids.
-rw-r--r-- | Makefile | 12 | ||||
-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
@@ -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) |