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 9cc3da6 was
533550c,
checked in by Jiao Lin <jiao.lin@…>, 16 years ago
|
sans/models/c_extensions: added Make.mm to build c shared library
|
-
Property mode set to
100644
|
File size:
1.7 KB
|
Line | |
---|
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 | |
---|
12 | include local.def |
---|
13 | |
---|
14 | PROJECT = sans |
---|
15 | PACKAGE = libsansmodels |
---|
16 | |
---|
17 | PROJ_SAR = $(BLD_LIBDIR)/$(PACKAGE).$(EXT_SAR) |
---|
18 | PROJ_DLL = $(BLD_BINDIR)/$(PACKAGE).$(EXT_SO) |
---|
19 | PROJ_TMPDIR = $(BLD_TMPDIR)/$(PROJECT)/$(PACKAGE) |
---|
20 | PROJ_CLEAN += $(PROJ_SAR) $(PROJ_DLL) |
---|
21 | |
---|
22 | PROJ_SRCS = \ |
---|
23 | core_shell.c \ |
---|
24 | core_shell_cylinder.c \ |
---|
25 | cylinder.c \ |
---|
26 | ellipsoid.c \ |
---|
27 | elliptical_cylinder.c \ |
---|
28 | gaussian.c \ |
---|
29 | lorentzian.c \ |
---|
30 | sphere.c \ |
---|
31 | |
---|
32 | |
---|
33 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
34 | # build the library |
---|
35 | |
---|
36 | all: $(PROJ_SAR) export |
---|
37 | |
---|
38 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
39 | |
---|
40 | ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)}) |
---|
41 | |
---|
42 | # build the shared object |
---|
43 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
44 | $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \ |
---|
45 | -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS) |
---|
46 | |
---|
47 | # export |
---|
48 | export:: export-headers export-libraries export-binaries |
---|
49 | |
---|
50 | else |
---|
51 | |
---|
52 | # build the shared object |
---|
53 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
54 | $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) |
---|
55 | |
---|
56 | |
---|
57 | # export |
---|
58 | export:: export-headers export-libraries |
---|
59 | |
---|
60 | endif |
---|
61 | |
---|
62 | EXPORT_HEADERS = \ |
---|
63 | core_shell.h \ |
---|
64 | core_shell_cylinder.h \ |
---|
65 | cylinder.h \ |
---|
66 | ellipsoid.h \ |
---|
67 | elliptical_cylinder.h \ |
---|
68 | gaussian.h \ |
---|
69 | lorentzian.h \ |
---|
70 | sphere.h \ |
---|
71 | |
---|
72 | |
---|
73 | EXPORT_LIBS = $(PROJ_SAR) |
---|
74 | EXPORT_BINS = $(PROJ_DLL) |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | #include doxygen/default.def |
---|
79 | #docs: export-doxygen-docs |
---|
80 | |
---|
81 | |
---|
82 | # version |
---|
83 | # $Id: Make.mm 1444 2007-11-16 16:46:15Z linjiao $ |
---|
84 | |
---|
85 | # |
---|
86 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.