magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249unittest-saveload
Last change
on this file since f5483ef was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[aa639ea] | 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 | |
---|
| 12 | include local.def |
---|
| 13 | |
---|
| 14 | PROJECT = analmodelpy |
---|
| 15 | PACKAGE = libanalmodelpy |
---|
| 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 | PROJ_LIBRARIES = -lgeoshpespy -liqPy |
---|
| 22 | #PROJ_LIBRARIES = -L/home/jingz1/dv/tools/pythia-0.8/lib -lgeoshpespy -liqPy |
---|
| 23 | |
---|
| 24 | PROJ_SRCS = \ |
---|
| 25 | analytical_model.cc |
---|
| 26 | |
---|
| 27 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 28 | # build the library |
---|
| 29 | |
---|
| 30 | all: $(PROJ_SAR) export |
---|
| 31 | |
---|
| 32 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 33 | |
---|
| 34 | ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)}) |
---|
| 35 | |
---|
| 36 | # build the shared object |
---|
| 37 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
| 38 | $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \ |
---|
| 39 | -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS) |
---|
| 40 | |
---|
| 41 | # export |
---|
| 42 | export:: export-headers export-libraries export-binaries |
---|
| 43 | |
---|
| 44 | else |
---|
| 45 | |
---|
| 46 | # build the shared object |
---|
| 47 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
| 48 | $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) $(PROJ_LIBRARIES) |
---|
| 49 | |
---|
| 50 | # export |
---|
| 51 | export:: export-headers export-libraries |
---|
| 52 | |
---|
| 53 | endif |
---|
| 54 | |
---|
| 55 | EXPORT_HEADERS = \ |
---|
| 56 | analytical_model.h \ |
---|
[b9a5f0e] | 57 | sas_model.h |
---|
[aa639ea] | 58 | |
---|
| 59 | EXPORT_LIBS = $(PROJ_SAR) |
---|
| 60 | EXPORT_BINS = $(PROJ_DLL) |
---|
| 61 | |
---|
| 62 | # version |
---|
| 63 | # $Id$ |
---|
| 64 | |
---|
| 65 | # |
---|
| 66 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.