24 # Use is subject to license terms.
25 #
26
27 PROG= getent
28
29 include ../Makefile.cmd
30
31 CERRWARN += -_gcc=-Wno-unused-variable
32 CERRWARN += -_gcc=-Wno-implicit-function-declaration
33
34 OBJECTS= \
35 dogetethers.o \
36 dogetgr.o \
37 dogethost.o \
38 dogetipnodes.o \
39 dogetnet.o \
40 dogetnetmask.o \
41 dogetproject.o \
42 dogetproto.o \
43 dogetpw.o \
44 dogetserv.o \
45 getent.o
46
47 SRCS= $(OBJECTS:.o=.c)
48
49 LDLIBS += -lsocket -lnsl -lproject
50
51 #
52 # for message catalog
53 #
54 POFILE= gettent.po
55 POFILES= $(SRCS:%.c=%.po)
56
57 .KEEP_STATE:
58
59 all: $(PROG)
60
61 $(POFILE): $(POFILES)
62 $(RM) $@
63 cat $(POFILES) > $@
|
24 # Use is subject to license terms.
25 #
26
27 PROG= getent
28
29 include ../Makefile.cmd
30
31 CERRWARN += -_gcc=-Wno-unused-variable
32 CERRWARN += -_gcc=-Wno-implicit-function-declaration
33
34 OBJECTS= \
35 dogetethers.o \
36 dogetgr.o \
37 dogethost.o \
38 dogetipnodes.o \
39 dogetnet.o \
40 dogetnetmask.o \
41 dogetproject.o \
42 dogetproto.o \
43 dogetpw.o \
44 dogetsp.o \
45 dogetserv.o \
46 getent.o
47
48 SRCS= $(OBJECTS:.o=.c)
49
50 LDLIBS += -lsocket -lnsl -lproject
51
52 #
53 # for message catalog
54 #
55 POFILE= gettent.po
56 POFILES= $(SRCS:%.c=%.po)
57
58 .KEEP_STATE:
59
60 all: $(PROG)
61
62 $(POFILE): $(POFILES)
63 $(RM) $@
64 cat $(POFILES) > $@
|