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