Debian Codegraph @

apps/wlma_ui/Makefile

raw
1 # Makefile for worklist
2 # This makefile is used to build a Motif application, wlma_ui. It uses
3 # flags set in a global makefile (DICOM_MAKE)
4
5
6 include $(DICOM_MAKE)
7 NAME = wlma_ui
8 OBJS = $(NAME).o topLevelShell1.o format.o UxXt.o UxMethod.o databaseForm.o demonstrationForm.o support.o
9
10 CFLAGS = $(C_OPTS) $(CFLAGS_X11) $(CFLAGS_MOTIF) -DXT_CODE -Dsun4 -DRUNTIME -I.
11
12 LIBPATH = $(LIBPATH_MOTIF) $(LIBPATH_X11) -L$(DICOM_LIB) $(LIBPATH_UCB) $(LIBPATH_DATABASE)
13 LIBS = $(LIBS_CTN) $(LIBS_MOTIF) $(LIBS_X11) $(LIBS_OS)
14
15 application: $(NAME)
16
17 $(NAME): $(OBJS)
18 $(CC) -o $(NAME) -g $(OBJS) $(LIBPATH) $(LIBS)
19 @echo "Done"
20
21 install: $(NAME)
22 $(INSTALL) $(NAME) $(DICOM_BIN)
23
24 install-clean: install
25 make clean
26
27 clean:
28 rm -f $(NAME) *.o *BAK *.bak *% core
29
30 indent:
31 chmod u+w *h
32 $(INDENT) SaAddLogin.h
33 $(INDENT) SaConsoleCalls.h
34 $(INDENT) SaPopCalls.h
35 $(INDENT) Sut.h
36 $(INDENT) SutList.h
37 $(INDENT) SutProto.h
38 $(INDENT) UxMethod.c
39 $(INDENT) UxXt.c
40 $(INDENT) WorkingDialog.h
41 $(INDENT) databaseForm.c
42 $(INDENT) databaseForm.h
43 $(INDENT) demonstrationForm.c
44 $(INDENT) demonstrationForm.h
45 $(INDENT) format.c
46 $(INDENT) format.h
47 $(INDENT) support.c
48 $(INDENT) topLevelShell1.c
49 $(INDENT) topLevelShell1.h
50 $(INDENT) wlma.h
51 $(INDENT) wlma_ui.c
52
53 checkin:
54 chmod u+w *h
55 $(INDENT) SaAddLogin.h; $(CI) SaAddLogin.h
56 $(INDENT) SaConsoleCalls.h; $(CI) SaConsoleCalls.h
57 $(INDENT) SaPopCalls.h; $(CI) SaPopCalls.h
58 $(INDENT) Sut.h; $(CI) Sut.h
59 $(INDENT) SutList.h; $(CI) SutList.h
60 $(INDENT) SutProto.h; $(CI) SutProto.h
61 $(INDENT) UxMethod.c; $(CI) UxMethod.c
62 $(INDENT) UxXt.c; $(CI) UxXt.c
63 $(INDENT) WorkingDialog.h; $(CI) WorkingDialog.h
64 $(INDENT) databaseForm.c; $(CI) databaseForm.c
65 $(INDENT) databaseForm.h; $(CI) databaseForm.h
66 $(CI) databaseForm.i
67 $(INDENT) demonstrationForm.c; $(CI) demonstrationForm.c
68 $(INDENT) demonstrationForm.h; $(CI) demonstrationForm.h
69 $(CI) demonstrationForm.i
70 $(INDENT) format.c; $(CI) format.c
71 $(INDENT) format.h; $(CI) format.h
72 $(INDENT) support.c; $(CI) support.c
73 $(INDENT) topLevelShell1.c; $(CI) topLevelShell1.c
74 $(INDENT) topLevelShell1.h; $(CI) topLevelShell1.h
75 $(CI) topLevelShell1.i
76 $(INDENT) wlma.h; $(CI) wlma.h
77 $(INDENT) wlma_ui.c; $(CI) wlma_ui.c
78 $(CI) wlma_ui.op
79 $(CI) wlma_ui.prj
80 rm -f $(NAME) *.o *BAK *.bak *% core
81
82
83 checkout:
84 $(CO) SaAddLogin.h
85 $(CO) SaConsoleCalls.h
86 $(CO) SaPopCalls.h
87 $(CO) Sut.h
88 $(CO) SutList.h
89 $(CO) SutProto.h
90 $(CO) UxMethod.c
91 $(CO) UxXt.c
92 $(CO) WorkingDialog.h
93 $(CO) databaseForm.c
94 $(CO) databaseForm.h
95 $(CO) databaseForm.i
96 $(CO) demonstrationForm.c
97 $(CO) demonstrationForm.h
98 $(CO) demonstrationForm.i
99 $(CO) format.c
100 $(CO) format.h
101 $(CO) support.c
102 $(CO) topLevelShell1.c
103 $(CO) topLevelShell1.h
104 $(CO) topLevelShell1.i
105 $(CO) wlma.h
106 $(CO) wlma_ui.c
107 $(CO) wlma_ui.op
108 $(CO) wlma_ui.prj
109
110 lint:
111 flexelint -DRUNTIME $(LINTOPTIONS) $(NAME).c format.c support.c