Debian Codegraph @

apps/idb_viewer/Makefile

raw
1 # Makefile for idb_viewer. Application for examining image database.
2 #
3
4 include $(DICOM_MAKE)
5 NAME = idb_viewer
6 OBJS = $(NAME).o applicationShell1.o UxXt.o UxMethod.o format.o
7
8 CFLAGS = $(C_OPTS) $(CFLAGS_X11) $(CFLAGS_MOTIF) -DXT_CODE -Dsun4 -DRUNTIME -I.
9 LFLAGS = -L$(DICOM_LIB) $(LIBS_OS) $(STATIC)
10
11 LIBPATH = $(LIBPATH_MOTIF) $(LIBPATH_X11) -L$(DICOM_LIB) $(LIBPATH_UCB) $(LIBPATH_DATABASE)
12 LIBS = $(LIBS_CTN) $(LIBS_MOTIF) $(LIBS_X11)
13
14 application: $(NAME)
15
16 $(NAME): $(OBJS)
17 $(CC) -o $(NAME) $(OBJS) $(LIBPATH) $(LIBS) $(LFLAGS)
18
19 install: $(NAME)
20 $(INSTALL) $(NAME) $(DICOM_BIN)
21
22 install-clean: install
23 make clean
24
25 clean:
26 rm -f $(NAME) *.o *BAK *.bak *% core
27
28 indent:
29 chmod u+w *h
30 $(INDENT) SaAddLogin.h
31 $(INDENT) SaConsoleCalls.h
32 $(INDENT) SaPopCalls.h
33 $(INDENT) Sut.h
34 $(INDENT) SutList.h
35 $(INDENT) SutProto.h
36 $(INDENT) UxMethod.c
37 $(INDENT) UxXt.c
38 $(INDENT) WorkingDialog.h
39 $(INDENT) applicationShell1.c
40 $(INDENT) applicationShell1.h
41 $(INDENT) format.c
42 $(INDENT) format.h
43 $(INDENT) idb_viewer.c
44 $(INDENT) idb_viewer.h
45
46 checkin:
47 chmod u+w *h
48 $(INDENT) SaAddLogin.h; $(CI) SaAddLogin.h
49 $(INDENT) SaConsoleCalls.h; $(CI) SaConsoleCalls.h
50 $(INDENT) SaPopCalls.h; $(CI) SaPopCalls.h
51 $(INDENT) Sut.h; $(CI) Sut.h
52 $(INDENT) SutList.h; $(CI) SutList.h
53 $(INDENT) SutProto.h; $(CI) SutProto.h
54 $(INDENT) UxMethod.c; $(CI) UxMethod.c
55 $(INDENT) UxXt.c; $(CI) UxXt.c
56 $(INDENT) WorkingDialog.h; $(CI) WorkingDialog.h
57 $(INDENT) applicationShell1.c; $(CI) applicationShell1.c
58 $(INDENT) applicationShell1.h; $(CI) applicationShell1.h
59 $(CI) applicationShell1.i
60 $(INDENT) format.c; $(CI) format.c
61 $(INDENT) format.h; $(CI) format.h
62 $(INDENT) idb_viewer.c; $(CI) idb_viewer.c
63 $(INDENT) idb_viewer.h; $(CI) idb_viewer.h
64 $(CI) idb_viewer.op
65 $(CI) idb_viewer.prj
66 rm -f $(NAME) *.o *BAK *.bak *% core
67
68 checkout:
69 $(CO) SaAddLogin.h
70 $(CO) SaConsoleCalls.h
71 $(CO) SaPopCalls.h
72 $(CO) Sut.h
73 $(CO) SutList.h
74 $(CO) SutProto.h
75 $(CO) UxMethod.c
76 $(CO) UxXt.c
77 $(CO) WorkingDialog.h
78 $(CO) applicationShell1.c
79 $(CO) applicationShell1.h
80 $(CO) applicationShell1.i
81 $(CO) format.c
82 $(CO) format.h
83 $(CO) idb_viewer.c
84 $(CO) idb_viewer.h
85 $(CO) idb_viewer.op
86 $(CO) idb_viewer.prj
87
88 lint:
89 flexelint $(LINTOPTIONS) idb_viewer.c format.c