js-elisp / Makefile


# CR pszilagyi: The following compatibility settings are necessary but
# not sufficient to build an ocaml/omake/omake_server.exe (for
# example) on CentOS 6 that can be run on CentOS 5.  These take care
# of application libraries, such as libtinfo.so, but not libc.so.
# When using opam with a recent Jane Street system compiler
# (/janelibs/ocaml-4.00.0+jane1+with-fp, for example), these are not
# necessary.  We may want to remove these if we decide to use a
# /janelibs build as an opam system compiler.
# Jane-specific CentOS 5 build compatibility based on jane/trunk/OMakeroot:
REDHAT_RELEASE = $(shell \
  test -f /etc/redhat-release \
   && cat /etc/redhat-release)
REDHAT_VERSION = $(strip \
  $(if $(findstring CentOS release 5,$(REDHAT_RELEASE)),5,\
  $(if $(findstring CentOS release 6,$(REDHAT_RELEASE)),6)))
C5COMPATROOT = /usr/jane
  $(C5COMPATROOT)/lib64 \
  $(C5COMPATROOT)/usr/lib64 \
  -ccopt -Xlinker \
  -ccopt -rpath \
  -ccopt -Xlinker \
  -ccopt $(d))
ifeq ($(REDHAT_VERSION),6)

default : ocaml

ocaml :
	cd ocaml; $(MAKE)

clean :
	cd ocaml; $(MAKE) clean

.PHONY : ocaml
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.