PageRenderTime 14ms CodeModel.GetById 1ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/devices/xditview/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 47 lines | 43 code | 4 blank | 0 comment | 0 complexity | d84357ef09c71baaa056a09170b7f41e MD5 | raw file
 1PROG=gxditview$(EXEEXT)
 2MAN1=gxditview.n
 3MLIB=$(LIBM)
 4XLIBS=$(LIBXUTIL)
 5EXTRA_CFLAGS=$(X_CFLAGS)
 6EXTRA_LDFLAGS=$(X_LIBS) $(X_PRE_LIBS) -lXaw -lXmu -lXt -lX11 $(X_EXTRA_LIBS)
 7OBJS=\
 8  device.$(OBJEXT) \
 9  draw.$(OBJEXT) \
10  Dvi.$(OBJEXT) \
11  font.$(OBJEXT) \
12  lex.$(OBJEXT) \
13  page.$(OBJEXT) \
14  parse.$(OBJEXT) \
15  xditview.$(OBJEXT)
16CSRCS=\
17  $(srcdir)/device.c \
18  $(srcdir)/draw.c \
19  $(srcdir)/Dvi.c \
20  $(srcdir)/font.c \
21  $(srcdir)/lex.c \
22  $(srcdir)/page.c \
23  $(srcdir)/parse.c \
24  $(srcdir)/xditview.c
25HDRS=\
26  $(srcdir)/device.h \
27  $(srcdir)/Dvi.h \
28  $(srcdir)/DviP.h \
29  $(srcdir)/Menu.h
30GENHDRS=GXditview-ad.h
31
32all depend: $(GENHDRS)
33
34GXditview-ad.h: $(srcdir)/GXditview.ad
35	@echo Making $@
36	@-rm -f $@
37	$(SHELL) $(srcdir)/ad2c $(srcdir)/GXditview.ad >GXditview-ad.h
38
39install_data: $(srcdir)/GXditview.ad
40	-test -d $(appresdir) || $(mkinstalldirs) $(appresdir)
41	if test -f $(appresdir)/GXditview; then \
42	  mv $(appresdir)/GXditview $(appresdir)/GXditview.old; \
43	fi
44	$(INSTALL_DATA) $(srcdir)/GXditview.ad $(appresdir)/GXditview
45
46uninstall_sub:
47	-rm -f $(appresdir)/GXditview