Debian Codegraph @

facilities/cfg/Makefile

raw symbols SCIP
1 # Makefile for CFG facility
2
3 OBJS = cfg.o
4
5 include $(DICOM_MAKE)
6 VPATH = ../../include
7 CFLAGS = $(C_OPTS) -I$(DICOM_INCLUDE)
8
9 library: libcfg.a
10 install: libcfg.a
11 cp libcfg.a $(DICOM_LIB); $(RANLIB) $(DICOM_LIB)/libcfg.a
12 $(INSTALLINCLUDE) cfg.h $(DICOM_INCLUDE)
13
14 export:
15 cp *.[ch] $(DICOM_LIBSRC)
16
17 headerexport:
18 $(INSTALLINCLUDE) cfg.h $(DICOM_INCLUDE)
19
20 links:
21 rm -f $(DICOM_LIBSRC)/cfg.c $(DICOM_LIBSRC)/cfg.h
22 ln -s ../facilities/cfg/cfg.c $(DICOM_LIBSRC)
23 ln -s ../facilities/cfg/cfg.h $(DICOM_LIBSRC)
24
25 clean:
26 rm -f *.a *.o *BAK *% core
27
28 indent:
29 $(INDENT) cfg.c
30 $(INDENT) cfg.h
31 checkin:
32 $(INDENT) cfg.c; $(CI) cfg.c
33 $(INDENT) cfg.h; $(CI) cfg.h
34 rm -f *.a *.o *BAK *% core
35
36 checkout:
37 $(CO) cfg.c
38 $(CO) cfg.h
39
40 libcfg.a: $(OBJS)
41 ar cvr libcfg.a $(OBJS); $(RANLIB) libcfg.a
42
43 cfg.o: cfg.c cfg.h
44
45 lint:
46 flexelint $(LINTOPTIONS) cfg.c