mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/Makefile.in: Support for parallel compilation with 'make -j'
in multi core CPUs: fix compilation dependencies; compile behaviors before other source code. (thanks to Jonathan Schleifer) * src/mod_pubsub/Makefile.in: Likewise * src/eldap/Makefile.in: Likewise SVN Revision: 1258
This commit is contained in:
parent
9b3926baf1
commit
ab1610021d
@ -1,3 +1,11 @@
|
|||||||
|
2008-03-26 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/Makefile.in: Support for parallel compilation with 'make -j'
|
||||||
|
in multi core CPUs: fix compilation dependencies; compile
|
||||||
|
behaviors before other source code. (thanks to Jonathan Schleifer)
|
||||||
|
* src/mod_pubsub/Makefile.in: Likewise
|
||||||
|
* src/eldap/Makefile.in: Likewise
|
||||||
|
|
||||||
2008-03-26 Alexey Shchepin <alexey@process-one.net>
|
2008-03-26 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
* src/ejabberd_local.erl: The iq_response table wasn't cloned
|
* src/ejabberd_local.erl: The iq_response table wasn't cloned
|
||||||
|
@ -50,7 +50,9 @@ prefix = @prefix@
|
|||||||
SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @mod_proxy65@ @eldap@ @pam@ @web@ stringprep @tls@ @odbc@ @ejabberd_zlib@
|
SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @mod_proxy65@ @eldap@ @pam@ @web@ stringprep @tls@ @odbc@ @ejabberd_zlib@
|
||||||
ERLSHLIBS = expat_erl.so
|
ERLSHLIBS = expat_erl.so
|
||||||
ERLBEHAVS = cyrsasl.erl gen_mod.erl p1_fsm.erl
|
ERLBEHAVS = cyrsasl.erl gen_mod.erl p1_fsm.erl
|
||||||
SOURCES = $(ERLBEHAVS) $(wildcard *.erl)
|
SOURCES_ALL = $(wildcard *.erl)
|
||||||
|
SOURCES = $(filter-out $(ERLBEHAVS),$(SOURCES_ALL))
|
||||||
|
ERLBEHAVBEAMS = $(ERLBEHAVS:.erl=.beam)
|
||||||
BEAMS = $(SOURCES:.erl=.beam)
|
BEAMS = $(SOURCES:.erl=.beam)
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
@ -74,7 +76,11 @@ endif
|
|||||||
|
|
||||||
all: $(ERLSHLIBS) compile-beam all-recursive
|
all: $(ERLSHLIBS) compile-beam all-recursive
|
||||||
|
|
||||||
compile-beam: XmppAddr.hrl $(BEAMS)
|
compile-beam: XmppAddr.hrl $(ERLBEHAVBEAMS) $(BEAMS)
|
||||||
|
|
||||||
|
$(BEAMS): $(ERLBEHAVBEAMS)
|
||||||
|
|
||||||
|
all-recursive: $(ERLBEHAVBEAMS)
|
||||||
|
|
||||||
%.beam: %.erl
|
%.beam: %.erl
|
||||||
@ERLC@ -W $(ERLC_FLAGS) $<
|
@ERLC@ -W $(ERLC_FLAGS) $<
|
||||||
|
@ -22,6 +22,8 @@ BEAMS = $(addprefix $(OUTDIR)/,$(SOURCES:.erl=.beam))
|
|||||||
|
|
||||||
all: $(BEAMS) ELDAPv3.beam
|
all: $(BEAMS) ELDAPv3.beam
|
||||||
|
|
||||||
|
ELDAPv3.beam: ELDAPv3.erl
|
||||||
|
|
||||||
ELDAPv3.erl: ELDAPv3.asn
|
ELDAPv3.erl: ELDAPv3.asn
|
||||||
@ERLC@ -bber_bin -W $(EFLAGS) $<
|
@ERLC@ -bber_bin -W $(EFLAGS) $<
|
||||||
|
|
||||||
|
@ -16,11 +16,16 @@ ifdef debug
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
OUTDIR = ..
|
OUTDIR = ..
|
||||||
SOURCES = $(wildcard *.erl)
|
ERLBEHAVS = gen_pubsub_node.erl gen_pubsub_nodetree.erl
|
||||||
|
SOURCES_ALL = $(wildcard *.erl)
|
||||||
|
SOURCES = $(filter-out $(ERLBEHAVS),$(SOURCES_ALL))
|
||||||
|
ERLBEHAVBEAMS = $(addprefix $(OUTDIR)/,$(ERLBEHAVS:.erl=.beam))
|
||||||
BEAMS = $(addprefix $(OUTDIR)/,$(SOURCES:.erl=.beam))
|
BEAMS = $(addprefix $(OUTDIR)/,$(SOURCES:.erl=.beam))
|
||||||
|
|
||||||
|
|
||||||
all: $(BEAMS)
|
all: $(ERLBEHAVBEAMS) $(BEAMS)
|
||||||
|
|
||||||
|
$(BEAMS): $(ERLBEHAVBEAMS)
|
||||||
|
|
||||||
$(OUTDIR)/%.beam: %.erl
|
$(OUTDIR)/%.beam: %.erl
|
||||||
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
||||||
|
Loading…
Reference in New Issue
Block a user