Debian Codegraph @

facilities/motif_utl/Makefile

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