aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/xtapemon/Imakefile.orig
blob: b0953dcf75c03b7c61a648a303a3cbd0b549fc4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Imakefile for xtapemon : X11 based tape monitoring utility for IRAF.
#
    CDEBUGFLAGS = -g
         XAWLIB = -lXaw3d		# set to Xaw3d for 3d look

##############################################################################
# Nothing to change below here...

SRCS=			classnames.c types.c xtapemon.c
OBJS=			classnames.o types.o xtapemon.o
DEFINES=		-DXTAPEMON
INCLUDES=		-I.
DEPLIBS=		XawClientDepLibs
LOCAL_LIBRARIES=	XawClientLibs
LOCAL_LDFLAGS=		-L../lib

ComplexProgramTarget(xtapemon)
InstallAppDefaults(Xtapemon)

install.xtapemon: xtapemon Xtapemon.ad xtapemon.man
	$(INSTALL) -c $(INSTPGMFLAGS) xtapemon $(BINDIR)
	$(INSTALL) -c $(INSTAPPFLAGS) Xtapemon.ad $(XAPPLOADDIR)/Xtapemon
	$(INSTALL) -c $(INSTMANFLAGS) xtapemon.man $(MANDIR)/xtapemon.1

xtapemon.o:	XTapemon.ad.h
xtapemon.c:	XTapemon.ad.h

XTapemon.ad.h: XTapemon.ad
	ad2c.sh XTapemon.ad > XTapemon.ad.h

clean::
	rm -f *.o xtapemon