Debian Codegraph @

facilities/idbmb/Makefile

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