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 e43c012 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
|
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 = libsansigor |
---|
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 | libCylinder.c \ |
---|
24 | libSphere.c \ |
---|
25 | libStructureFactor.c \ |
---|
26 | libTwoPhase.c \ |
---|
27 | |
---|
28 | |
---|
29 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
30 | # build the library |
---|
31 | |
---|
32 | all: $(PROJ_SAR) export |
---|
33 | |
---|
34 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
35 | |
---|
36 | ifeq (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 |
---|
44 | export:: export-headers export-libraries export-binaries |
---|
45 | |
---|
46 | else |
---|
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 |
---|
54 | export:: export-headers export-libraries |
---|
55 | |
---|
56 | endif |
---|
57 | |
---|
58 | EXPORT_HEADERS = \ |
---|
59 | GaussWeights.h \ |
---|
60 | StandardHeaders.h \ |
---|
61 | libCylinder.h \ |
---|
62 | libSANSAnalysis.h \ |
---|
63 | libSphere.h \ |
---|
64 | libStructureFactor.h \ |
---|
65 | libTwoPhase.h \ |
---|
66 | |
---|
67 | EXPORT_LIBS = $(PROJ_SAR) |
---|
68 | EXPORT_BINS = $(PROJ_DLL) |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | #include doxygen/default.def |
---|
73 | #docs: export-doxygen-docs |
---|
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.