diff options
| author | Winfried <szukw000@arcor.de> | 2010-12-14 03:33:31 +0000 |
|---|---|---|
| committer | Winfried <szukw000@arcor.de> | 2010-12-14 03:33:31 +0000 |
| commit | 1c1c123897c9e754cd48c123a50abf882403b6aa (patch) | |
| tree | d14bd08a01e22b26ec4c53aebadaa44236cc9822 /codec/Makefile.am | |
| parent | 4c9a4ee2fae893be2b92f19806be54588567450a (diff) | |
Adapted Makefile.am/Makefile.nix to build choice: shared xor static
Diffstat (limited to 'codec/Makefile.am')
| -rw-r--r-- | codec/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/codec/Makefile.am b/codec/Makefile.am index 5b3e8cf4..819b91a3 100644 --- a/codec/Makefile.am +++ b/codec/Makefile.am @@ -4,8 +4,10 @@ USERLIBS = INCLUDES = -I. -I../libjp3dvm CFLAGS = -Wall $(INCLUDES) -if with_staticlibs -CFLAGS += -static +if with_sharedlibs +CFLAGS += -DOPJ_EXPORTS +else +CFLAGS += -DOPJ_STATIC endif bin_PROGRAMS = jp3d_to_volume volume_to_jp3d |
