Skip to content

Commit

Permalink
add LIBSRC in tarball. clean erlc output.
Browse files Browse the repository at this point in the history
SVN Revision: 602
  • Loading branch information
nniclausse committed Dec 4, 2005
1 parent 1eca127 commit 38ecdb5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Makefile.in
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ doc:
release: Makefile tsung.spec release: Makefile tsung.spec
rm -fr $(distdir) rm -fr $(distdir)
mkdir -p $(distdir) mkdir -p $(distdir)
tar zcf tmp.tgz $(SRC) $(SRC_APPFILES) $(INC_FILES) \ tar zcf tmp.tgz $(SRC) $(SRC_APPFILES) $(INC_FILES) $(LIBSRC) \
$(CONTROLLER_SRC) $(CONTROLLER_SRC_APPFILES) \ $(CONTROLLER_SRC) $(CONTROLLER_SRC_APPFILES) \
$(RECORDER_SRC) $(RECORDER_SRC_APPFILES) $(TEMPLATES) \ $(RECORDER_SRC) $(RECORDER_SRC_APPFILES) $(TEMPLATES) \
doc/*.erl doc/*.txt doc/*.fig doc/*.png doc/Makefile doc/*.sgml \ doc/*.erl doc/*.txt doc/*.fig doc/*.png doc/Makefile doc/*.sgml \
Expand All @@ -331,19 +331,23 @@ snapshot:
make TYPE=snapshot release make TYPE=snapshot release


builder.beam: priv/builder.erl builder.beam: priv/builder.erl
$(CC) -W0 $(OPT) -I $(INC) $< @$(CC) -W0 $(OPT) -I $(INC) $<


ebin/%.beam: src/lib/%.erl $(INC_FILES) ebin/%.beam: src/lib/%.erl $(INC_FILES)
$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $< @echo "Compiling $< ... "
@$(CC) -W0 $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $<


ebin/%.beam: src/$(APPLICATION)/%.erl $(INC_FILES) ebin/%.beam: src/$(APPLICATION)/%.erl $(INC_FILES)
$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $< @echo "Compiling $< ... "
@$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $<


ebin/%.beam: src/$(RECORDER_APPLICATION)/%.erl $(INC_FILES) ebin/%.beam: src/$(RECORDER_APPLICATION)/%.erl $(INC_FILES)
$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $< @echo "Compiling $< ... "
@$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $<


ebin/%.beam: src/$(CONTROLLER_APPLICATION)/%.erl $(INC_FILES) ebin/%.beam: src/$(CONTROLLER_APPLICATION)/%.erl $(INC_FILES)
$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $< @echo "Compiling $< ... "
@$(CC) $(OPT) -I $(INC) -I $(ERLANG_XMERL_DIR) -o ebin $<


%:%.sh %:%.sh
# Override makefile default implicit rule # Override makefile default implicit rule

0 comments on commit 38ecdb5

Please sign in to comment.