diff options
| author | Antonin Descampe <antonin@gmail.com> | 2011-04-13 15:24:36 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2011-04-13 15:24:36 +0000 |
| commit | a6f19781d71ebedeada4deefd6eeefcfa1bdce5e (patch) | |
| tree | 83e887f0263f8ff2c72cb8215fd972411387e1a3 /codec/Makefile.nix | |
| parent | e5f3a101608c3b5a90a518c904146a43e9372d7c (diff) | |
renamed and reorganized "jp3d" directory to "openjpeg3d". Is now a standalone directory, with independent cmake files. Done as it uses its own version of the openjpeg library and does not depend on the one currently developped. Will be removed from the trunk and stored in a branch.openjpeg3d@749
Diffstat (limited to 'codec/Makefile.nix')
| -rw-r--r-- | codec/Makefile.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/codec/Makefile.nix b/codec/Makefile.nix deleted file mode 100644 index e34ad39c..00000000 --- a/codec/Makefile.nix +++ /dev/null @@ -1,37 +0,0 @@ -#jp3d/codec/Makefile - -include ../../config.nix - -INSTALL_BIN = $(prefix)/bin -CFLAGS = -Wall -I. -I../libjp3dvm -lstdc++ # -g -p -pg -#USERLIBS = -lm - -ifeq ($(ENABLE_SHARED),yes) -ELIB = ../libopenjp3dvm.so.$(JP3D_MAJOR).$(JP3D_MINOR).$(JP3D_BUILD) -else -ELIB = ../libopenjp3dvm.a -endif - -all: jp3d_to_volume volume_to_jp3d - install -d ../../bin - install jp3d_to_volume volume_to_jp3d ../../bin - -jp3d_to_volume: jp3d_to_volume.c $(ELIB) - $(CC) $(CFLAGS) getopt.c convert.c jp3d_to_volume.c \ - -o jp3d_to_volume $(ELIB) $(USERLIBS) - -volume_to_jp3d: volume_to_jp3d.c $(ELIB) - $(CC) $(CFLAGS) getopt.c convert.c volume_to_jp3d.c \ - -o volume_to_jp3d $(ELIB) $(USERLIBS) - -clean: - rm -f jp3d_to_volume volume_to_jp3d - -install: all - install -d $(DESTDIR)$(INSTALL_BIN) - install -m 755 -o root -g root jp3d_to_volume $(DESTDIR)$(INSTALL_BIN) - install -m 755 -o root -g root volume_to_jp3d $(DESTDIR)$(INSTALL_BIN) - -uninstall: - rm -f $(DESTDIR)$(INSTALL_BIN)/jp3d_to_volume - rm -f $(DESTDIR)$(INSTALL_BIN)/volume_to_jp3d |
