1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#
# Makefile for dcmpmap/libsrc
#
@SET_MAKE@
SHELL = /bin/sh
VPATH = @srcdir@:@top_srcdir@/include:@top_srcdir@/@configdir@/include
srcdir = @srcdir@
top_srcdir = @top_srcdir@
configdir = @top_srcdir@/@configdir@
include $(configdir)/@common_makefile@
ofstddir = $(top_srcdir)/../ofstd
oflogdir = $(top_srcdir)/../oflog
dcmdatadir = $(top_srcdir)/../dcmdata
dcmioddir = $(top_srcdir)/../dcmiod
dcmfgdir = $(top_srcdir)/../dcmfg
LOCALINCLUDES = -I$(ofstddir)/include -I$(oflogdir)/include \
-I$(dcmdatadir)/include -I$(dcmioddir)/include -I$(dcmfgdir)/include
LOCALDEFS =
objs = dpmtypes.o dpmmodparametricmapseries.o dpmmodparametricmapimage.o \
dpmparametricmapbase.o dpmparametricmapiod.o
library = libdcmpmap.$(LIBEXT)
all: $(library)
$(library): $(objs)
$(AR) $(ARFLAGS) $@ $(objs)
$(RANLIB) $@
install: $(library)
$(configdir)/mkinstalldirs $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(library) $(DESTDIR)$(libdir)/$(library)
$(RANLIB) $(DESTDIR)$(libdir)/$(library)
clean:
rm -f $(objs) $(library) $(TRASH)
distclean:
rm -f $(objs) $(library) $(DISTTRASH)
dependencies:
$(CXX) -MM $(defines) $(includes) $(CPPFLAGS) $(CXXFLAGS) *.cc > $(DEP)
include $(DEP)
|