source: sasview/realSpaceModeling/pointsmodelpy/libpointsmodelpy/Make.mm @ 479eced

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 479eced was f2d6445, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

moving realSpaceModeling to trunk

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[f2d6445]1# -*- Makefile -*-
2#
3# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4#
5#                               Michael A.G. Aivazis
6#                        California Institute of Technology
7#                        (C) 1998-2005  All Rights Reserved
8#
9# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10#
11
12include local.def
13
14PROJECT = pointsmodelpy
15PACKAGE = libpointsmodelpy
16
17PROJ_SAR = $(BLD_LIBDIR)/$(PACKAGE).$(EXT_SAR)
18PROJ_DLL = $(BLD_BINDIR)/$(PACKAGE).$(EXT_SO)
19PROJ_TMPDIR = $(BLD_TMPDIR)/$(PROJECT)/$(PACKAGE)
20PROJ_CLEAN += $(PROJ_SAR) $(PROJ_DLL)
21
22PROJ_SRCS = \
23        lores_model.cc  \
24        points_model.cc \
25        pdb_model.cc  \
26        complex_model.cc
27
28# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29# build the library
30
31all: $(PROJ_SAR) export
32
33# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
35ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)})
36
37# build the shared object
38$(PROJ_SAR): product_dirs $(PROJ_OBJS)
39        $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \
40        -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS)
41
42# export
43export:: export-headers export-libraries export-binaries
44
45else
46
47# build the shared object
48$(PROJ_SAR): product_dirs $(PROJ_OBJS)
49        $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) -L$(BLD_LIBDIR)
50
51# export
52export:: export-headers export-libraries
53
54endif
55
56EXPORT_HEADERS = \
57        lores_model.h   \
58        points_model.h  \
59        complex_model.h
60
61EXPORT_LIBS = $(PROJ_SAR)
62EXPORT_BINS = $(PROJ_DLL)
63
64
65# version
66# $Id$
67
68#
69# End of file
Note: See TracBrowser for help on using the repository browser.