3065 some functions in the tcp module can be static
[unleashed.git] / usr / src / cmd / man / src / util / nsgmls.src / Makefile.prog
blob3c10d0062ed4e99b704d4adb7fd2ef95d2e72556
2 #pragma ident   "%Z%%M% %I%     %E% SMI"
4 # Copyright (c) 2001 by Sun Microsystems, Inc.
5 # All rights reserved.
7 include ../../../../../Makefile.cmd
8 CLEANFILES=$(PROG)$(EXE) $(OBJS) core
10 all: $(PROG)$(EXE)
12 pure: $(PROG).pure
14 $(PROG)$(EXE): $(OBJS) $(COBJS) $(XLIBS)
15         $(CCC) $(ALL_CXXFLAGS) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(XLIBS) $(LIBS)
16         $(POST_PROCESS)
17         cp $@ ../..
19 $(PROG).pure: $(OBJS) $(COBJS) $(XLIBS)
20         $(PURIFY) $(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(XLIBS) $(LIBS)
22 install: $(PROG)$(EXE)
23         -test -d $(bindir) || mkdir $(bindir)
24         -rm -f $(bindir)/$(PROG)$(EXE)
25         $(INSTALL) $(PROG)$(EXE) $(bindir)/$(PROG)$(EXE)
27 depend: depend_src
28 depend.temp: $(GENSRCS)
29 gen: $(GENSRCS)