| 1 |
# Makefile for print_server_display |
| 2 |
# |
| 3 |
|
| 4 |
NAME = print_server_display |
| 5 |
OBJ = $(NAME).o display_prn.o |
| 6 |
|
| 7 |
include $(DICOM_MAKE) |
| 8 |
VPATH = ../../include |
| 9 |
CFLAGS = $(C_OPTS) -I$(DICOM_INCLUDE) -I/usr/openwin/include |
| 10 |
LFLAGS = -L$(DICOM_LIB) $(LIBPATH_X11) $(LIBPATH_DATABASE) |
| 11 |
LIBS = $(LIBS_CTN_NODB) |
| 12 |
|
| 13 |
application: $(NAME) |
| 14 |
|
| 15 |
install: $(NAME) |
| 16 |
$(INSTALL) $(NAME) $(DICOM_BIN) |
| 17 |
|
| 18 |
install-clean: install |
| 19 |
make clean |
| 20 |
|
| 21 |
clean: |
| 22 |
rm -f $(NAME) *.BAK *.bak *% *.o core |
| 23 |
|
| 24 |
checkin: |
| 25 |
$(INDENT) $(NAME).c ; $(CI) $(NAME).c |
| 26 |
$(INDENT) display_prn.h ; $(CI) display_prn.h |
| 27 |
$(INDENT) display_prn.c ; $(CI) display_prn.c |
| 28 |
rm -f $(NAME) *.BAK *.bak *% *.o core |
| 29 |
|
| 30 |
indent: |
| 31 |
$(INDENT) $(NAME).c ; |
| 32 |
$(INDENT) display_prn.h ; |
| 33 |
$(INDENT) display_prn.c ; |
| 34 |
|
| 35 |
checkout: |
| 36 |
$(CO) $(NAME).c |
| 37 |
$(CO) display_prn.h |
| 38 |
$(CO) display_prn.c |
| 39 |
|
| 40 |
$(NAME): $(OBJ) |
| 41 |
$(XCC) -o $(NAME) -g $(LFLAGS) $(OBJ) $(LIBS) $(LIBS_XAW) $(LIBS_X11) -lm |
| 42 |
|
| 43 |
$(NAME).o: $(NAME).c dicom.h dicom_objects.h display_prn.h |
| 44 |
$(XCC) -c $(CFLAGS) $(NAME).c |
| 45 |
|
| 46 |
display_prn.o: display_prn.h display_prn.c dicom_print.h |
| 47 |
$(XCC) -c $(CFLAGS) display_prn.c |
| 48 |
|
| 49 |
lint: |
| 50 |
flexelint $(LINTOPTIONS) $(NAME).c display_prn.c |