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 957af0d was
79492222,
checked in by krzywon, 10 years ago
|
Changed the file and folder names to remove all SANS references.
|
-
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 = pointsmodelpy |
---|
| 15 | PACKAGE = libpointsmodelpy |
---|
| 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 | lores_model.cc \ |
---|
| 24 | points_model.cc \ |
---|
| 25 | pdb_model.cc \ |
---|
| 26 | complex_model.cc |
---|
| 27 | |
---|
| 28 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 29 | # build the library |
---|
| 30 | |
---|
| 31 | all: $(PROJ_SAR) export |
---|
| 32 | |
---|
| 33 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
| 34 | |
---|
| 35 | ifeq (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 |
---|
| 43 | export:: export-headers export-libraries export-binaries |
---|
| 44 | |
---|
| 45 | else |
---|
| 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 |
---|
| 52 | export:: export-headers export-libraries |
---|
| 53 | |
---|
| 54 | endif |
---|
| 55 | |
---|
| 56 | EXPORT_HEADERS = \ |
---|
| 57 | lores_model.h \ |
---|
| 58 | points_model.h \ |
---|
| 59 | complex_model.h |
---|
| 60 | |
---|
| 61 | EXPORT_LIBS = $(PROJ_SAR) |
---|
| 62 | EXPORT_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.