2004-05-22 00:05:20 +00:00
|
|
|
# Makefile
|
|
|
|
# This file holds the make rules for the Telephony Engine
|
|
|
|
|
|
|
|
# override DESTDIR at install time to prefix the install directory
|
|
|
|
DESTDIR :=
|
|
|
|
|
|
|
|
# override DEBUG at compile time to enable full debug or remove it all
|
|
|
|
DEBUG :=
|
|
|
|
|
2004-12-14 03:09:26 +00:00
|
|
|
CXX := @CXX@ -Wall
|
2004-05-22 00:05:20 +00:00
|
|
|
SED := sed
|
|
|
|
DEFS :=
|
2004-08-19 22:53:55 +00:00
|
|
|
LIBTHR:= -lpthread
|
2004-12-21 04:16:09 +00:00
|
|
|
INCLUDES := -I. -I@srcdir@
|
2005-01-29 18:34:34 +00:00
|
|
|
CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
|
2004-05-22 00:05:20 +00:00
|
|
|
LDFLAGS:=
|
2004-12-13 15:43:39 +00:00
|
|
|
LDCONFIG:=true
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-11-23 14:14:54 +00:00
|
|
|
MKDEPS := ./config.status
|
2004-05-22 00:05:20 +00:00
|
|
|
PROGS:= yate
|
2007-12-17 14:40:38 +00:00
|
|
|
YLIB := libyate.so.@PACKAGE_VERSION@
|
|
|
|
SLIBS:= $(YLIB) libyate.so libyatesig.so.@PACKAGE_VERSION@ libyatesig.so
|
2007-07-26 23:45:33 +00:00
|
|
|
INCS := yateclass.h yatemime.h yatengine.h yatephone.h yatecbase.h
|
2004-12-21 04:16:09 +00:00
|
|
|
GENS := yateversn.h
|
2004-05-22 00:05:20 +00:00
|
|
|
LIBS :=
|
2005-01-09 06:13:28 +00:00
|
|
|
MAN8 := yate.8 yate-config.8
|
2004-05-22 00:05:20 +00:00
|
|
|
DOCS := README COPYING ChangeLog
|
|
|
|
OBJS := main.o
|
|
|
|
|
2005-03-18 18:16:59 +00:00
|
|
|
CLEANS = $(PROGS) $(SLIBS) $(LIBS) $(OBJS) yatepaths.h core
|
2004-12-14 03:09:26 +00:00
|
|
|
COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
|
|
|
|
LINK = $(CXX) $(LDFLAGS)
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-07-20 00:07:02 +00:00
|
|
|
DOCGEN_F := $(INCS)
|
2006-06-08 18:31:00 +00:00
|
|
|
|
2004-05-22 00:05:20 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2007-11-15 23:06:36 +00:00
|
|
|
datarootdir = @datarootdir@
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
datadir = @datadir@
|
2005-11-07 03:09:23 +00:00
|
|
|
confdir = @sysconfdir@/yate
|
2004-05-22 00:05:20 +00:00
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
|
|
|
incdir = @includedir@/yate
|
|
|
|
mandir = @mandir@
|
2007-12-16 21:08:02 +00:00
|
|
|
docdir = @datadir@/doc/yate-@PACKAGE_VERSION@
|
2004-05-22 00:05:20 +00:00
|
|
|
vardir = @localstatedir@/lib/yate
|
2007-12-14 15:45:25 +00:00
|
|
|
moddir = @libdir@/yate
|
2007-11-15 23:06:36 +00:00
|
|
|
shrdir = $(datadir)/yate
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2005-12-19 17:57:16 +00:00
|
|
|
# include optional local make rules
|
|
|
|
-include YateLocal.mak
|
|
|
|
|
2007-07-20 00:07:02 +00:00
|
|
|
DOCGEN :=
|
|
|
|
DOCGEN_K :=
|
|
|
|
DOCGEN_D :=
|
|
|
|
ifneq (_@KDOC_BIN@,_)
|
2007-11-15 23:06:36 +00:00
|
|
|
DOCGEN_K := @KDOC_BIN@ -C ./docs/doc-filter.sh -d docs/api/ $(DOCGEN_F)
|
2007-07-20 00:07:02 +00:00
|
|
|
DOCGEN := $(DOCGEN_K)
|
|
|
|
endif
|
|
|
|
ifneq (_@DOXYGEN_BIN@,_)
|
2007-11-15 23:06:36 +00:00
|
|
|
DOCGEN_D := (cat docs/Doxyfile; echo 'INPUT = $(DOCGEN_F)') | @DOXYGEN_BIN@ -
|
2007-07-20 00:07:02 +00:00
|
|
|
DOCGEN := $(DOCGEN_D)
|
|
|
|
endif
|
|
|
|
|
2006-02-21 14:00:56 +00:00
|
|
|
.PHONY: all everything debug ddebug xdebug ndebug
|
2005-05-05 17:02:18 +00:00
|
|
|
all: engine modules clients
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
everything: engine libs modules clients test apidocs
|
2005-01-09 06:05:02 +00:00
|
|
|
|
2006-02-17 10:17:51 +00:00
|
|
|
debug:
|
|
|
|
$(MAKE) all DEBUG=-g3 MODSTRIP=
|
|
|
|
|
2006-02-21 14:00:56 +00:00
|
|
|
ddebug:
|
|
|
|
$(MAKE) all DEBUG='-g3 -DDEBUG' MODSTRIP=
|
|
|
|
|
|
|
|
xdebug:
|
|
|
|
$(MAKE) all DEBUG='-g3 -DXDEBUG' MODSTRIP=
|
|
|
|
|
|
|
|
ndebug:
|
|
|
|
$(MAKE) all DEBUG='-g0 -DNDEBUG'
|
|
|
|
|
2005-01-09 06:05:02 +00:00
|
|
|
.PHONY: clean distclean cvsclean clean-config-files clean-tables clean-apidocs
|
2004-05-22 00:05:20 +00:00
|
|
|
clean:
|
2005-01-29 18:34:34 +00:00
|
|
|
@-$(RM) $(CLEANS) 2>/dev/null
|
2005-03-18 18:16:59 +00:00
|
|
|
$(MAKE) -C ./engine $@
|
2004-05-22 00:05:20 +00:00
|
|
|
$(MAKE) -C ./modules $@
|
2005-05-05 17:02:18 +00:00
|
|
|
$(MAKE) -C ./clients $@
|
2007-11-15 23:06:36 +00:00
|
|
|
@for i in libs/*; do \
|
2006-04-21 16:17:00 +00:00
|
|
|
test ! -f "$$i/Makefile" || $(MAKE) -C "$$i" clean ; \
|
2005-01-29 18:34:34 +00:00
|
|
|
done
|
2005-01-09 06:05:02 +00:00
|
|
|
|
|
|
|
check-topdir:
|
|
|
|
@test -f configure || (echo "Must make this target in the top source directory"; exit 1)
|
|
|
|
|
2006-07-04 19:11:58 +00:00
|
|
|
check-root:
|
|
|
|
@test `id -u` = '0' || (echo "You must run this command as root"; exit 1)
|
|
|
|
|
2005-01-09 06:05:02 +00:00
|
|
|
clean-config-files: check-topdir
|
|
|
|
-rm -rf auto*.cache
|
|
|
|
-rm -f @CONFIGURE_FILES@
|
|
|
|
|
|
|
|
clean-tables: check-topdir
|
2007-11-15 23:06:36 +00:00
|
|
|
-rm -f packing/rpm/yate.spec
|
|
|
|
$(MAKE) -C ./engine/tables -f Makefile.tables mrproper
|
2005-01-09 06:05:02 +00:00
|
|
|
|
|
|
|
clean-apidocs: check-topdir
|
2006-06-11 14:41:04 +00:00
|
|
|
-rm docs/api/*.*
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2005-01-09 06:05:02 +00:00
|
|
|
distclean: check-topdir clean clean-config-files
|
|
|
|
|
|
|
|
cvsclean: check-topdir clean clean-tables clean-apidocs clean-config-files
|
|
|
|
-rm -f configure
|
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
.PHONY: engine libs modules clients test apidocs-build apidocs-kdoc apidocs-doxygen check-topdir windows
|
2005-03-18 21:36:47 +00:00
|
|
|
engine: tables library libyate.so $(PROGS)
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2006-09-18 17:35:28 +00:00
|
|
|
apidocs-kdoc: check-topdir
|
|
|
|
@if [ -n "$(DOCGEN_K)" ]; then \
|
|
|
|
$(DOCGEN_K) ; \
|
|
|
|
else \
|
|
|
|
echo "Executable kdoc is not installed!" ; exit 1 ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
apidocs-doxygen: check-topdir
|
|
|
|
@if [ -n "$(DOCGEN_D)" ]; then \
|
|
|
|
$(DOCGEN_D) ; \
|
|
|
|
else \
|
|
|
|
echo "Executable doxygen is not installed!" ; exit 1 ; \
|
|
|
|
fi
|
|
|
|
|
2007-08-23 11:12:50 +00:00
|
|
|
apidocs-build:
|
2006-06-08 18:31:00 +00:00
|
|
|
@if [ -n "$(DOCGEN)" ]; then \
|
2007-08-23 11:12:50 +00:00
|
|
|
cd @srcdir@ ; $(DOCGEN) ; \
|
2006-06-08 18:31:00 +00:00
|
|
|
else \
|
|
|
|
echo "Neither kdoc or doxygen is installed!" ; exit 1 ; \
|
|
|
|
fi
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2004-09-06 09:00:42 +00:00
|
|
|
apidocs: @srcdir@/docs/api/index.html
|
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
@srcdir@/docs/api/index.html: @srcdir@/docs/Doxyfile \
|
2007-07-26 23:45:33 +00:00
|
|
|
@srcdir@/yateclass.h @srcdir@/yatemime.h @srcdir@/yatengine.h \
|
2007-07-20 00:07:02 +00:00
|
|
|
@srcdir@/yatephone.h @srcdir@/yatecbase.h
|
2004-09-06 09:00:42 +00:00
|
|
|
$(MAKE) apidocs-build
|
|
|
|
|
2005-01-09 06:05:02 +00:00
|
|
|
.PHONY: strip sex love war
|
2004-05-22 00:05:20 +00:00
|
|
|
strip: all
|
|
|
|
-strip --strip-debug --discard-locals $(PROGS) $(SLIBS)
|
|
|
|
|
|
|
|
sex: strip
|
|
|
|
@echo 'Stripped for you!'
|
|
|
|
|
2004-09-06 09:00:42 +00:00
|
|
|
# Let's have a little fun
|
2004-05-22 00:05:20 +00:00
|
|
|
love:
|
|
|
|
@echo 'Not war?'
|
|
|
|
|
2004-09-06 09:00:42 +00:00
|
|
|
war:
|
|
|
|
@echo 'Please make love instead!'
|
|
|
|
|
2005-05-05 17:02:18 +00:00
|
|
|
modules clients test: engine
|
|
|
|
$(MAKE) -C ./$@ all
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
libs: engine
|
|
|
|
@for i in libs/*; do \
|
2006-04-21 16:17:00 +00:00
|
|
|
test ! -f "$$i/Makefile" || $(MAKE) -C "$$i" all ; \
|
2005-01-09 07:12:28 +00:00
|
|
|
done
|
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
tables: @srcdir@/engine/tables/all.h
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-11-15 23:06:36 +00:00
|
|
|
@srcdir@/engine/tables/all.h:
|
|
|
|
$(MAKE) -C @srcdir@/engine/tables -f Makefile.tables all
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2004-11-29 03:56:41 +00:00
|
|
|
yatepaths.h: $(MKDEPS)
|
2007-12-14 15:45:25 +00:00
|
|
|
@echo '#define CFG_PATH "$(confdir)"' > $@
|
|
|
|
@echo '#define MOD_PATH "$(moddir)"' >> $@
|
|
|
|
@echo '#define SHR_PATH "$(shrdir)"' >> $@
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2005-04-03 21:29:45 +00:00
|
|
|
windows: check-topdir
|
|
|
|
@cmp -s yateversn.h $@/yateversn.h || cp -p yateversn.h $@/yateversn.h
|
2006-07-04 19:11:58 +00:00
|
|
|
@cmp -s yateiss.inc $@/yateiss.inc || cp -p yateiss.inc $@/yateiss.inc
|
2005-04-03 21:29:45 +00:00
|
|
|
|
2005-03-18 18:16:59 +00:00
|
|
|
.PHONY: install install-root install-noapi install-api uninstall uninstall-root
|
|
|
|
install install-root: all apidocs install-noapi install-api
|
|
|
|
|
|
|
|
install-noapi: all
|
2004-05-22 00:05:20 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(libdir)/" && \
|
2005-01-09 06:05:02 +00:00
|
|
|
for i in $(SLIBS) ; do \
|
|
|
|
if [ -h "$$i" ]; then \
|
|
|
|
f=`readlink "$$i"` ; \
|
|
|
|
ln -sf "$$f" "$(DESTDIR)$(libdir)/$$i" ; \
|
|
|
|
else \
|
|
|
|
install $$i "$(DESTDIR)$(libdir)/" ; \
|
|
|
|
fi \
|
|
|
|
done && $(LDCONFIG)
|
2004-05-22 00:05:20 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(bindir)/" && \
|
|
|
|
install $(PROGS) yate-config "$(DESTDIR)$(bindir)/"
|
2004-12-13 15:43:39 +00:00
|
|
|
$(MAKE) -C ./modules install
|
2005-05-05 17:02:18 +00:00
|
|
|
$(MAKE) -C ./clients install
|
2007-11-15 23:06:36 +00:00
|
|
|
$(MAKE) -C ./share install
|
2004-12-13 15:43:39 +00:00
|
|
|
$(MAKE) -C ./conf.d install
|
2004-09-06 09:00:42 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(mandir)/man8/" && \
|
|
|
|
for i in $(MAN8) ; do \
|
2007-11-15 23:06:36 +00:00
|
|
|
install -m 0644 @srcdir@/docs/man/$$i "$(DESTDIR)$(mandir)/man8/" ; \
|
2004-09-06 09:00:42 +00:00
|
|
|
done
|
2004-05-22 00:05:20 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(libdir)/pkgconfig/" && \
|
2004-11-29 03:56:41 +00:00
|
|
|
install -m 0644 yate.pc "$(DESTDIR)$(libdir)/pkgconfig/"
|
2004-05-22 00:05:20 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(incdir)/" && \
|
|
|
|
for i in $(INCS) ; do \
|
|
|
|
install -m 0644 @srcdir@/$$i "$(DESTDIR)$(incdir)/" ; \
|
|
|
|
done
|
2007-11-15 23:06:36 +00:00
|
|
|
@for i in $(GENS) ; do \
|
2004-12-21 04:16:09 +00:00
|
|
|
install -m 0644 $$i "$(DESTDIR)$(incdir)/" ; \
|
|
|
|
done
|
2004-05-22 00:05:20 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(docdir)/api/" && \
|
|
|
|
for i in $(DOCS) ; do \
|
|
|
|
install -m 0644 @srcdir@/$$i "$(DESTDIR)$(docdir)/" ; \
|
|
|
|
done ;
|
2005-03-18 18:16:59 +00:00
|
|
|
|
|
|
|
install-api: apidocs
|
2007-11-15 23:06:36 +00:00
|
|
|
@mkdir -p "$(DESTDIR)$(docdir)/api/" && \
|
2004-05-22 00:05:20 +00:00
|
|
|
install -m 0644 @srcdir@/docs/*.html "$(DESTDIR)$(docdir)/" && \
|
2006-06-08 18:31:00 +00:00
|
|
|
install -m 0644 @srcdir@/docs/api/*.* "$(DESTDIR)$(docdir)/api/"
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2004-12-13 15:43:39 +00:00
|
|
|
uninstall uninstall-root:
|
2004-05-22 00:05:20 +00:00
|
|
|
@-for i in $(SLIBS) ; do \
|
|
|
|
rm "$(DESTDIR)$(libdir)/$$i" ; \
|
|
|
|
done; \
|
2005-05-05 17:02:18 +00:00
|
|
|
$(MAKE) -C ./clients uninstall
|
2005-11-07 03:09:23 +00:00
|
|
|
@$(LDCONFIG)
|
2004-05-22 00:05:20 +00:00
|
|
|
@-for i in $(PROGS) yate-config ; do \
|
|
|
|
rm "$(DESTDIR)$(bindir)/$$i" ; \
|
|
|
|
done
|
|
|
|
@-rm "$(DESTDIR)$(libdir)/pkgconfig/yate.pc" && \
|
|
|
|
rmdir $(DESTDIR)$(libdir)/pkgconfig
|
2004-12-21 04:16:09 +00:00
|
|
|
@-for i in $(INCS) $(GENS) ; do \
|
2004-05-22 00:05:20 +00:00
|
|
|
rm "$(DESTDIR)$(incdir)/$$i" ; \
|
|
|
|
done; \
|
|
|
|
rmdir "$(DESTDIR)$(incdir)"
|
|
|
|
@-for i in $(MAN8) ; do \
|
|
|
|
rm "$(DESTDIR)$(mandir)/man8/$$i" ; \
|
|
|
|
done
|
|
|
|
@rm -rf "$(DESTDIR)$(docdir)/"
|
2004-12-13 15:43:39 +00:00
|
|
|
$(MAKE) -C ./modules uninstall
|
2007-12-14 15:45:25 +00:00
|
|
|
$(MAKE) -C ./share uninstall
|
2004-12-13 15:43:39 +00:00
|
|
|
$(MAKE) -C ./conf.d uninstall
|
|
|
|
|
|
|
|
install-root uninstall-root: LDCONFIG:=ldconfig
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2007-04-13 23:01:20 +00:00
|
|
|
.PHONY: snapshot tarball rpm srpm
|
2005-04-03 21:29:45 +00:00
|
|
|
snapshot tarball: check-topdir clean tables windows apidocs
|
2008-01-07 21:07:07 +00:00
|
|
|
@if [ $@ = snapshot ]; then ver="`date '+SVN-%Y%m%d'`"; else ver="@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@"; fi ; \
|
2004-05-22 00:05:20 +00:00
|
|
|
wd=`pwd|sed 's,^.*/,,'`; \
|
2007-11-15 23:06:36 +00:00
|
|
|
mkdir -p packing/tarballs; cd ..; \
|
2004-05-22 00:05:20 +00:00
|
|
|
echo $$wd/tar-exclude >$$wd/tar-exclude; \
|
|
|
|
find $$wd -name Makefile >>$$wd/tar-exclude; \
|
2007-11-15 23:06:36 +00:00
|
|
|
find $$wd -name 'YateLocal*' >>$$wd/tar-exclude; \
|
2004-05-22 00:05:20 +00:00
|
|
|
find $$wd/conf.d -name '*.conf' >>$$wd/tar-exclude; \
|
|
|
|
find $$wd -name '*.cache' >>$$wd/tar-exclude; \
|
|
|
|
find $$wd -name '*~' >>$$wd/tar-exclude; \
|
|
|
|
find $$wd -name '.*.swp' >>$$wd/tar-exclude; \
|
|
|
|
if [ $@ = tarball ]; then \
|
2007-11-15 23:06:36 +00:00
|
|
|
find $$wd -name .svn >>$$wd/tar-exclude; \
|
2004-05-22 00:05:20 +00:00
|
|
|
find $$wd -name CVS >>$$wd/tar-exclude; \
|
|
|
|
find $$wd -name .cvsignore >>$$wd/tar-exclude; \
|
|
|
|
else \
|
2007-11-15 23:06:36 +00:00
|
|
|
echo "$$wd/packing/rpm/yate.spec" >>$$wd/tar-exclude; \
|
2004-05-22 00:05:20 +00:00
|
|
|
fi ; \
|
2007-12-14 15:45:25 +00:00
|
|
|
tar czf $$wd/packing/tarballs/@PACKAGE_TARNAME@-$$ver.tar.gz \
|
2007-11-15 23:06:36 +00:00
|
|
|
--exclude $$wd/packing/tarballs \
|
2004-05-22 00:05:20 +00:00
|
|
|
--exclude $$wd/config.status \
|
|
|
|
--exclude $$wd/config.log \
|
|
|
|
--exclude $$wd/run \
|
|
|
|
--exclude $$wd/yate-config \
|
|
|
|
--exclude $$wd/yate.pc \
|
|
|
|
--exclude $$wd/yatepaths.h \
|
2004-12-21 04:16:09 +00:00
|
|
|
--exclude $$wd/yateversn.h \
|
2004-05-22 00:05:20 +00:00
|
|
|
-X $$wd/tar-exclude \
|
|
|
|
$$wd; \
|
|
|
|
rm $$wd/tar-exclude
|
|
|
|
|
2006-07-04 19:11:58 +00:00
|
|
|
rpm: check-root tarball
|
2008-01-07 21:07:07 +00:00
|
|
|
rpmbuild -tb packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@.tar.gz
|
2006-07-04 19:11:58 +00:00
|
|
|
|
2007-04-13 23:01:20 +00:00
|
|
|
srpm: check-root tarball
|
2008-01-07 21:07:07 +00:00
|
|
|
rpmbuild -ta packing/tarballs/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-@PACKAGE_STATUS@@PACKAGE_RELEASE@.tar.gz
|
2007-04-13 23:01:20 +00:00
|
|
|
|
2005-03-18 18:16:59 +00:00
|
|
|
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/yatengine.h
|
2004-05-22 00:05:20 +00:00
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
@srcdir@/configure: @srcdir@/configure.in
|
|
|
|
cd @srcdir@ && autoconf
|
|
|
|
|
|
|
|
config.status: @srcdir@/configure
|
|
|
|
./config.status --recheck
|
|
|
|
|
2004-11-29 03:56:41 +00:00
|
|
|
Makefile: @srcdir@/Makefile.in $(MKDEPS)
|
2007-11-23 14:14:54 +00:00
|
|
|
./config.status
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2005-03-18 18:16:59 +00:00
|
|
|
yate: libyate.so $(OBJS) $(LIBS)
|
2004-08-19 22:53:55 +00:00
|
|
|
$(LINK) -o $@ $(LIBTHR) $^
|
2004-05-22 00:05:20 +00:00
|
|
|
|
2005-03-18 18:16:59 +00:00
|
|
|
libyate.so: $(YLIB)
|
2005-01-09 06:05:02 +00:00
|
|
|
ln -sf $^ $@
|
|
|
|
|
2005-03-18 21:36:47 +00:00
|
|
|
.PHONY: library
|
|
|
|
library $(YLIB): yatepaths.h
|
2005-03-18 18:16:59 +00:00
|
|
|
$(MAKE) -C ./engine all
|
2004-05-22 00:05:20 +00:00
|
|
|
|
|
|
|
.PHONY: help
|
|
|
|
help:
|
2007-11-15 23:06:36 +00:00
|
|
|
@echo -e 'Usual make targets:\n'\
|
|
|
|
' all engine libs modules clients apidocs test everything\n'\
|
|
|
|
' install uninstall install-noapi install-root uninstall-root\n'\
|
|
|
|
' clean distclean cvsclean (avoid this one!) clean-apidocs\n'\
|
|
|
|
' debug ddebug xdebug (carefull!)\n'\
|
|
|
|
' snapshot tarball rpm srpm'
|