hepmc - Rev 189
Subversion Repositories:
## Process this file with automake to produce Makefile.inif USE_GMAKEMAKE = gmakeendifINCLUDES = -I$(top_builddir) -I$(top_srcdir)libHepMC_a_SOURCES = \CommonIO.cc \Flow.cc \GenEvent.cc \GenParticle.cc \GenVertex.cc \IO_Ascii.cc \IO_AsciiParticles.cc \IO_ExtendedAscii.cc \IO_PDG_ParticleDataTable.cc \IO_GenEvent.cc \ParticleData.cc \Polarization.cc \SearchVector.cclibHepMC_so_OBJECTS = $(patsubst %.cc,$(shareddir)/%.$(OBJEXT),$(libHepMC_a_SOURCES))# these if/else blocks will be parsed by automake and translatedif BUILD_SHAREDshareddir = sharedif BUILD_VISUALlib_shared = HepMC.$(SHEXT)elselib_shared = libHepMC.$(SHEXT)endifSHFLAGS = @MY_SHFLAGS@SHLINK = @MY_SHLINK@SHNAME = @MY_SHNAME@endifif BUILD_STATIClib_LIBRARIES = libHepMC.aendifCLEANFILES = $(lib_shared)all-local: $(shareddir) $(lib_shared)$(shareddir):test -d $(shareddir) || mkdir $(shareddir)if BUILD_VISUAL$(lib_shared): $(libHepMC_so_OBJECTS)$(SHLINK) $(SHNAME)$@ $(libHepMC_so_OBJECTS)$(shareddir)/%.$(OBJEXT): %.cc$(CXXCOMPILE) $(SHFLAGS) /c /Fo$@ $<else$(lib_shared): $(libHepMC_so_OBJECTS)$(CXXLINK) $(SHLINK) $(SHNAME)$@ $(libHepMC_so_OBJECTS) -o $@$(shareddir)/%.$(OBJEXT): %.cc$(CXXCOMPILE) $(SHFLAGS) -c -o $@ $<endifinstall-exec-local: $(lib_shared)@$(NORMAL_INSTALL)test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"@list='$(lib_shared)'; for p in $$list; do \if test -f $$p; then \echo " $(INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$p'"; \$(INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \else :; fi; \doneclean-local:-test -d $(shareddir) && rm -f $(shareddir)/*.$(OBJEXT)distclean-local:-test -d $(shareddir) && rm -rf ./$(shareddir)
