source: sasview/sansmodels/src/libigor/Make.mm @ 52b8b74

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 52b8b74 was 5f96484, checked in by Jiao Lin <jiao.lin@…>, 16 years ago

make.mm at a few top level directories

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[6765f57]1# -*- Makefile -*-
2#
3# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4#
5#                               Michael A.G. Aivazis
6#                        California Institute of Technology
7#                        (C) 1998-2004  All Rights Reserved
8#
9# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10#
11
12include local.def
13
14PROJECT = sans
15PACKAGE = libsansigor
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        libCylinder.c \
24        libSphere.c \
25        libStructureFactor.c \
26        libTwoPhase.c \
27
28
29# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30# build the library
31
32all: $(PROJ_SAR) export
33
34# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35
36ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)})
37
38# build the shared object
39$(PROJ_SAR): product_dirs $(PROJ_OBJS)
40        $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \
41        -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS)
42
43# export
44export:: export-headers export-libraries export-binaries
45
46else
47
48# build the shared object
49$(PROJ_SAR): product_dirs $(PROJ_OBJS)
50        $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS)
51
52
53# export
54export:: export-headers export-libraries
55
56endif
57
58EXPORT_HEADERS = \
59        GaussWeights.h \
60        StandardHeaders.h \
61        libCylinder.h \
62        libSANSAnalysis.h \
63        libSphere.h \
64        libStructureFactor.h \
65        libTwoPhase.h \
66
67EXPORT_LIBS = $(PROJ_SAR)
68EXPORT_BINS = $(PROJ_DLL)
69
70
71
[5f96484]72#include doxygen/default.def
73#docs: export-doxygen-docs
[6765f57]74
75
76# version
77# $Id: Make.mm 1444 2007-11-16 16:46:15Z linjiao $
78
79#
80# End of file
Note: See TracBrowser for help on using the repository browser.