| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
include $(DICOM_MAKE) |
| 7 |
NAME = object_viewer |
| 8 |
OBJS = $(NAME).o topLevelShell1.o fileSelectionBoxDialog1.o format.o UxXt.o UxMethod.o |
| 9 |
|
| 10 |
CFLAGS = $(C_OPTS) $(CFLAGS_X11) $(CFLAGS_MOTIF) -DXT_CODE -I. |
| 11 |
LFLAGS = -L$(DICOM_LIB) $(LIBPATH_DATABASE) |
| 12 |
|
| 13 |
LIBPATH = $(LIBPATH_MOTIF) $(LIBPATH_X11) -L$(DICOM_LIB) $(LIBPATH_UCB) $(LIBPATH_DATABASE) |
| 14 |
LIBS = $(LIBS_CTN_NODB) $(LIBS_MOTIF) $(LIBS_X11) $(LIBS_OS) |
| 15 |
|
| 16 |
application: $(NAME) |
| 17 |
|
| 18 |
$(NAME): $(OBJS) |
| 19 |
$(CC) -o $(NAME) -g $(OBJS) $(LIBPATH) $(LIBS) |
| 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) fileSelectionBoxDialog1.c |
| 42 |
$(INDENT) fileSelectionBoxDialog1.h |
| 43 |
$(INDENT) format.c |
| 44 |
$(INDENT) format.h |
| 45 |
$(INDENT) object_viewer.c |
| 46 |
$(INDENT) topLevelShell1.c |
| 47 |
$(INDENT) topLevelShell1.h |
| 48 |
|
| 49 |
checkin: |
| 50 |
$(INDENT) SaAddLogin.h; $(CI) SaAddLogin.h |
| 51 |
$(INDENT) SaConsoleCalls.h; $(CI) SaConsoleCalls.h |
| 52 |
$(INDENT) SaPopCalls.h; $(CI) SaPopCalls.h |
| 53 |
$(INDENT) Sut.h; $(CI) Sut.h |
| 54 |
$(INDENT) SutList.h; $(CI) SutList.h |
| 55 |
$(INDENT) SutProto.h; $(CI) SutProto.h |
| 56 |
$(INDENT) UxMethod.c; $(CI) UxMethod.c |
| 57 |
$(INDENT) UxXt.c; $(CI) UxXt.c |
| 58 |
$(INDENT) WorkingDialog.h; $(CI) WorkingDialog.h |
| 59 |
$(INDENT) fileSelectionBoxDialog1.c; $(CI) fileSelectionBoxDialog1.c |
| 60 |
$(INDENT) fileSelectionBoxDialog1.h; $(CI) fileSelectionBoxDialog1.h |
| 61 |
$(CI) fileSelectionBoxDialog1.i |
| 62 |
$(INDENT) format.c; $(CI) format.c |
| 63 |
$(INDENT) format.h; $(CI) format.h |
| 64 |
$(INDENT) object_viewer.c; $(CI) object_viewer.c |
| 65 |
$(CI) object_viewer.op |
| 66 |
$(CI) object_viewer.prj |
| 67 |
$(INDENT) topLevelShell1.c; $(CI) topLevelShell1.c |
| 68 |
$(INDENT) topLevelShell1.h; $(CI) topLevelShell1.h |
| 69 |
$(CI) topLevelShell1.i |
| 70 |
rm -f $(NAME) *.o *BAK *.bak *% core |
| 71 |
|
| 72 |
|
| 73 |
checkout: |
| 74 |
$(CO) SaAddLogin.h |
| 75 |
$(CO) SaConsoleCalls.h |
| 76 |
$(CO) SaPopCalls.h |
| 77 |
$(CO) Sut.h |
| 78 |
$(CO) SutList.h |
| 79 |
$(CO) SutProto.h |
| 80 |
$(CO) UxMethod.c |
| 81 |
$(CO) UxXt.c |
| 82 |
$(CO) WorkingDialog.h |
| 83 |
$(CO) fileSelectionBoxDialog1.c |
| 84 |
$(CO) fileSelectionBoxDialog1.h |
| 85 |
$(CO) fileSelectionBoxDialog1.i |
| 86 |
$(CO) format.c |
| 87 |
$(CO) format.h |
| 88 |
$(CO) object_viewer.c |
| 89 |
$(CO) object_viewer.op |
| 90 |
$(CO) object_viewer.prj |
| 91 |
$(CO) topLevelShell1.c |
| 92 |
$(CO) topLevelShell1.h |
| 93 |
$(CO) topLevelShell1.i |
| 94 |
|
| 95 |
lint: |
| 96 |
flexelint $(LINTOPTIONS) object_viewer.c format.c |