blob: 5eb85b57a31c13a158d2db885afcbddab646d1fa (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
# Imakefile for the Virtual XImtool display server.
X11IRAFDIR = ../
#include <../X11IRAF.tmpl>
CDEBUGFLAGS = -g
LOCAL_LDFLAGS = $(X11IRAF_LDFLAGS)
EXTRA_INCLUDES = $(X11IRAF_INCLUDES)
OBMLIBS =
MATHLIB = -lm
CDLLIB = -lcdl
XAWLIB =
SRCS = vximtool.c
OBJS = vximtool.o
AllTarget(vximtool)
vximtool: vximtool.o
$(RM) vximtool
$(CC) -o vximtool -DHAVE_CDL vximtool.o $(LDOPTIONS) $(CDLLIB) \
$(MATHLIB) $(EXTRA_LIBRARIES)
vximtool.o:
$(CC) -c $(CFLAGS) -DHAVE_CDL vximtool.c
clean::
$(RM) vximtool vximtool.o
#if InstallManuals
install::
MakeDir(X11irafManDir)
$(CP) vximtool.man X11irafManDir/vximtool.1
#endif
#if InstallBinaries
install:: vximtool
-@if [ -d X11irafBinDir ]; then set +x; \
else (set -x; $(MKDIRHIER) X11irafBinDir); fi
$(CP) vximtool X11irafBinDir
#endif
DependTarget()
|