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 45d90b9 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
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 = iqPy |
---|
15 | PACKAGE = libiqPy |
---|
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 | iq.cc |
---|
24 | |
---|
25 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
26 | # build the library |
---|
27 | |
---|
28 | all: $(PROJ_SAR) export |
---|
29 | |
---|
30 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
31 | |
---|
32 | ifeq (Win32, ${findstring Win32, $(PLATFORM_ID)}) |
---|
33 | |
---|
34 | # build the shared object |
---|
35 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
36 | $(CXX) $(LCXXFLAGS) -o $(PROJ_DLL) \ |
---|
37 | -Wl,--out-implib=$(PROJ_SAR) $(PROJ_OBJS) |
---|
38 | |
---|
39 | # export |
---|
40 | export:: export-headers export-libraries export-binaries |
---|
41 | |
---|
42 | else |
---|
43 | |
---|
44 | # build the shared object |
---|
45 | $(PROJ_SAR): product_dirs $(PROJ_OBJS) |
---|
46 | $(CXX) $(LCXXFLAGS) -o $(PROJ_SAR) $(PROJ_OBJS) |
---|
47 | |
---|
48 | # export |
---|
49 | export:: export-headers export-libraries |
---|
50 | |
---|
51 | endif |
---|
52 | |
---|
53 | EXPORT_HEADERS = \ |
---|
54 | iq.h |
---|
55 | |
---|
56 | EXPORT_LIBS = $(PROJ_SAR) |
---|
57 | EXPORT_BINS = $(PROJ_DLL) |
---|
58 | |
---|
59 | |
---|
60 | # version |
---|
61 | # $Id$ |
---|
62 | |
---|
63 | # |
---|
64 | # End of file |
---|
Note: See
TracBrowser
for help on using the repository browser.