forked from MDSplus/mdsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
51 lines (39 loc) · 1.17 KB
/
Makefile.in
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
46
47
48
49
50
51
include @top_builddir@/Makefile.inc
srcdir=@srcdir@
builddir=@builddir@
VPATH = @srcdir@
X_CFLAGS=@X_CFLAGS@
CFLAGS+=$(X_CFLAGS) @TARGET_ARCH@
UIL=@UIL@
X_LIBS=@X_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@
X_PRE_LIBS=@X_PRE_LIBS@
MOTIF_LIBS = @MOTIF_LDARC@ @XM_LIBS@ @MOTIF_LDSHARE@ @LIBXP@ @LIBXEXT@
MLIBS = $(X_LIBS) $(MOTIF_LIBS) $(X_PRE_LIBS) -lXt -lX11 $(X_EXTRA_LIBS) $(LIBS)
SOURCES = \
main-uil.c \
bxutils-uil.c \
CallbacksUil.c \
ReadInt.c \
ReadString.c \
GetNciString.c \
GetSupportedDevices.c
OBJECTS = $(SOURCES:.c=.o)
all : @MAKEBINDIR@ \
@MAKEBINDIR@traverser \
@MAKEUIDDIR@ \
depend:
@makedepend -- $(CFLAGS) -- $(SOURCES)
clean :
@ $(RM) $(OBJECTS)
@ $(RM) @MAKEBINDIR@traverser
@ $(RM) @[email protected]
install: $(bindir) @uiddir@
$(INSTALL) -m 644 @[email protected] @uiddir@
$(INSTALL) -m 755 @MAKEBINDIR@traverser @bindir@
@MAKEBINDIR@traverser : $(OBJECTS)
$(CC) -o $@ $(CFLAGS) $(OBJECTS) -L@MAKESHLIBDIR@ -lMdsdcl -lTdiShr -lTreeShr -lMdsShr -lXmdsShr $(MLIBS) $(LIBS)
.SUFFIXES: .uid .uil
@[email protected] : ${srcdir}/traverser.uil
$(UIL) -o $@ ${srcdir}/traverser.uil