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