OLD | NEW |
1 | 1 |
2 #set these to your alembic check-out and build dirs | 2 #set these to your alembic check-out and build dirs |
3 #ABCROOT = /net/soft_scratch/users/stevel/abcdev/millerlucas-dev/lib/ | 3 ABCROOT = ../../lib |
4 #ABCBUILDROOT = /net/soft_scratch/users/stevel/abcdev/alembic_lmiller_build/lib/
Alembic | 4 ABCBUILDROOT = ../../../alembic_build/lib/Alembic |
5 | |
6 ABCROOT = /net/soft_scratch/users/stevel/abcdev/millerlucas-dev-trunk/lib/ | |
7 ABCBUILDROOT = /net/soft_scratch/users/stevel/abcdev/millerlucas-dev-trunk-build
/lib/Alembic | |
8 | 5 |
9 | 6 |
10 | 7 INCLUDES = -I $(ABCROOT) |
11 | |
12 #this is custom to our linux distro | |
13 OPENEXRINC = /usr/include/OpenEXR | |
14 #this is custom to our linux distro | |
15 GLULIB = -L /usr/lib64/xorg.mesa.3d -L /usr/lib64/ | |
16 | |
17 INCLUDES = -I /usr/local/spi/include \ | |
18 -I $(OPENEXRINC) \ | |
19 -I $(ABCROOT) | |
20 ··········· | 8 ··········· |
21 LINKPATHS = -L $(ABCBUILDROOT)/MD5Hash \ | 9 LINKPATHS = -L $(ABCBUILDROOT)/MD5Hash \ |
22 -L $(ABCBUILDROOT)/Util \ | 10 -L $(ABCBUILDROOT)/Util \ |
23 -L $(ABCBUILDROOT)/AbcCoreAbstract \ | 11 -L $(ABCBUILDROOT)/AbcCoreAbstract \ |
24 -L $(ABCBUILDROOT)/AbcCoreHDF5 \ | 12 -L $(ABCBUILDROOT)/AbcCoreHDF5 \ |
25 -L $(ABCBUILDROOT)/Abc \ | 13 -L $(ABCBUILDROOT)/Abc \ |
26 -L $(ABCBUILDROOT)/AbcGeom \ | 14 -L $(ABCBUILDROOT)/AbcGeom \ |
27 $(GLULIB) | 15 $(GLULIB) |
28 | 16 |
29 LINKS = -l AlembicAbcGeom \ | 17 LINKS = -l AlembicAbcGeom \ |
30 -l AlembicAbc \ | 18 -l AlembicAbc \ |
31 -l AlembicAbcCoreHDF5 \ | 19 -l AlembicAbcCoreHDF5 \ |
32 -l AlembicAbcCoreAbstract \ | 20 -l AlembicAbcCoreAbstract \ |
33 -l AlembicMD5Hash \ | |
34 -l AlembicUtil \ | 21 -l AlembicUtil \ |
35 -l hdf5 -l hdf5_hl \ | 22 -l hdf5 -l hdf5_hl· |
36 -l SpiImath -l SpiIex -l SpiHalf #custom to our facility, get rid of the
Spi prefixes | 23 ········ |
| 24 |
| 25 HCUSTOM_ADDITIONAL_ARGS =· |
| 26 |
| 27 #Sony-specific errata you can ignore (and which will go away soon) |
| 28 ATSPI = 0 |
| 29 ifeq ($(ATSPI), 1) |
| 30 INCLUDES += -I /usr/local/spi/include |
| 31 INCLUDES += -I /usr/include/OpenEXR |
| 32 LINKS += -l SpiImath -l SpiIex -l SpiHalf |
| 33 LINKS += -L /usr/lib64/xorg.mesa.3d -L /usr/lib64/ |
| 34 HCUSTOM_ADDITIONAL_ARGS += --appver 11.0.703 |
| 35 endif |
| 36 |
37 | 37 |
38 INSTALLDIR = /tmp | 38 INSTALLDIR = /tmp |
39 | 39 |
40 HCUSTOM_ADDITIONAL_ARGS = --appver 11.0.703 | 40 |
| 41 |
41 | 42 |
42 debug: SOP_AlembicIn.cpp | 43 debug: SOP_AlembicIn.cpp |
43 hcustom $(HCUSTOM_ADDITIONAL_ARGS) -e SOP_AlembicIn.cpp $(INCLUDES) $(LI
NKPATHS) $(LINKS) -i $(INSTALLDIR) | 44 hcustom $(HCUSTOM_ADDITIONAL_ARGS) -e SOP_AlembicIn.cpp $(INCLUDES) $(LI
NKPATHS) $(LINKS) -i $(INSTALLDIR) |
44 rm SOP_AlembicIn.o | 45 rm SOP_AlembicIn.o |
OLD | NEW |