Files
Arquivotheca.Solaris-2.5/cmd/cmd-inet/usr.bin/talk/Makefile
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

53 lines
829 B
Makefile
Executable File

#
#ident "@(#)Makefile 1.9 94/10/04 SMI"
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
PROG= talk
OBJS= talk.o get_names.o display.o io.o ctl.o init_disp.o \
msgs.o get_addrs.o ctl_transact.o invite.o look_up.o
SRCS= $(OBJS:%.o=%.c)
include ../../../Makefile.cmd
#
# Message catalog
#
POFILE= talk.po
#
CFLAGS += -v
CPPFLAGS += -DSYSV -DSTRNET -DBSD_COMP
LDLIBS += -lcurses -lsocket -lnsl -lintl -lw
.KEEP_STATE:
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
#
# message catalog
#
catalog: $(POFILE)
$(POFILE): $(SRCS)
$(RM) talk.po
$(COMPILE.cpp) $(SRCS) > $(POFILE).i
$(XGETTEXT) $(XGETFLAGS) $(POFILE).i
sed "/^domain/d" messages.po > $@
$(RM) messages.po $(POFILE).i
#
install: all $(ROOTPROG)
clean:
$(RM) $(OBJS)
lint: lint_SRCS
include ../../../Makefile.targ