46 lines
817 B
Makefile
Executable File
46 lines
817 B
Makefile
Executable File
#
|
|
# ident "@(#)Makefile 1.8 94/08/30 SMI" /* SVr4.0 1.13 */
|
|
#
|
|
# Copyright (c) 1990 by Sun Microsystems, Inc.
|
|
#
|
|
# cmd/lp/lib/forms/Makefile
|
|
#
|
|
|
|
LIBRARY = liblpfrm.a
|
|
|
|
OBJECTS = delform.o \
|
|
f_head.o \
|
|
freeform.o \
|
|
getform.o \
|
|
putform.o \
|
|
rdform.o \
|
|
wrform.o
|
|
|
|
|
|
include ../../../../lib/Makefile.lib
|
|
include ../../Makefile.lp
|
|
|
|
CPPFLAGS = -I../../include $(CPPFLAGS.master)
|
|
|
|
.KEEP_STATE:
|
|
# for messaging catalog
|
|
#
|
|
POFILE= forms.po
|
|
SRCS= $(OBJECTS:%.o=%.c)
|
|
XGETFLAGS=-a -x $(LPROOT)/lp.xcl
|
|
|
|
catalog: $(POFILE)
|
|
|
|
$(POFILE): $(SRCS)
|
|
$(RM) $@
|
|
$(COMPILE.cpp) $(SRCS) > $(POFILE).i
|
|
$(XGETTEXT) $(XGETFLAGS) $(POFILE).i
|
|
sed "/^domain/d" messages.po > $@
|
|
$(RM) messages.po $(POFILE).i
|
|
|
|
all install : $(LIBS)
|
|
|
|
strip lint :
|
|
|
|
include ../../../../lib/Makefile.targ
|