Debian Codegraph @

apps/simple_pacs/Makefile

raw
1 # Makefile for simple_pacs
2
3 NAME = simple_pacs
4 OBJ = $(NAME).o sscond.o
5 include $(DICOM_MAKE)
6
7 VPATH = ../../include:../include
8 CFLAGS = $(C_OPTS) -I$(DICOM_INCLUDE) -I../include
9 LFLAGS = -L$(DICOM_LIB) $(LIBPATH_UCB) $(LIBPATH_DATABASE)
10 LIBS = $(LIBS_CTN) $(LIBS_OS_SECURE_UCB)
11
12 application: $(NAME)
13
14 install: $(NAME)
15 $(INSTALLUID) $(NAME) $(DICOM_BIN)
16
17 install-clean: install
18 make clean
19
20 clean:
21 rm -f $(NAME) *.o *.BAK *.bak *% core
22
23 indent:
24 $(INDENT) simple_pacs.c
25 $(INDENT) sscond.c
26 $(INDENT) simple_pacs.h
27
28 checkin:
29 $(INDENT) simple_pacs.c; $(CI) $(NAME).c
30 $(INDENT) sscond.c; $(CI) sscond.c
31 $(INDENT) simple_pacs.h; $(CI) $(NAME).h
32 rm -f $(NAME) *.o *.BAK *.bak *% core
33
34 checkout:
35 $(CO) simple_pacs.c
36 $(CO) sscond.c
37 $(CO) simple_pacs.h
38
39 $(NAME): $(OBJ)
40 $(CC) -o $(NAME) -g $(LFLAGS) $(OBJ) $(LIBS)
41
42 $(NAME).o: $(NAME).c dicom.h dulprotocol.h lst.h condition.h dicom_services.h \
43 dicom_messages.h dicom_uids.h simple_pacs.h
44 sscond.o: $(NAME).c dicom.h simple_pacs.h
45 lint:
46 flexelint $(LINTOPTIONS) $(NAME).c sscond.c