CVS: beepcore-c/core/unix Makefile.in,1.2,1.3
Chris Hanson <[email protected]> Thu, 01 Aug 2002 21:18:32 -0700
| Newsgroups | gmane.network.beep.beepcore.c.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/beepcore-c/beepcore-c/core/unix
In directory usw-pr-cvs1:/tmp/cvs-serv32661/core/unix
Modified Files:
Makefile.in
Log Message:
Rewrite makefiles to use standard GNU directory variables and to
install in standard places.
Refer to DESTDIR during installation to simplify packaging.
Coalesce all non-profile libraries into a single library.
Don't compile the examples.
Index: Makefile.in
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/core/unix/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile.in 30 Oct 2001 06:00:37 -0000 1.2
--- Makefile.in 2 Aug 2002 04:18:29 -0000 1.3
***************
*** 12,76 ****
# License.
#
! #
! # $Header$
! #
! # Exit if SRC_ROOT undefined
! #
! REL_TO_ROOT = /../..
!
! ifndef SRC_ROOT
! SRC_ROOT = $(CURDIR)$(REL_TO_ROOT)
! export SRC_ROOT
! endif
!
! # 1. Generic settings
! include $(SRC_ROOT)/Make.defs
! #
! VPATH = ../generic:..
ifdef PURIFY
! PURECMD = purify -cache-dir=/iw/home/wmills/purify/cache -best-effort -forbidden-directories=/iw:/var/opt:/usr/lib:/usr/local/lib:/ccs/lib:
else
! PURECMD =
endif
! CC = $(PURECMD) $(_CC) $(INCLUDES)
!
! OBJS= base64.lo \
! CBEEP.lo \
! channel_0.lo \
! cbxml_entities.lo
! DIRS = test
! all: ${OBJS} libbeepcore.la treeall
! @echo making all
! #test: .DEFAULT
! # cd test; ${MAKE}
clean: treeclean
@touch foo.o foo.so; rm -rf *.[ao] *.so *.lo *.la .libs
! cd test; ${MAKE} clean
libbeepcore.la: $(OBJS)
! $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LIBTOOL_LDFLAGS)
!
! install: $(LIB_INSTALL_DIR) treeinstall
! $(INSTALLLIB) libbeepcore.la $(LIB_INSTALL_DIR)/.
! $(INSTALLFINISH) $(LIB_INSTALL_DIR)/.
! $(LIB_INSTALL_DIR):
! $(INSTALLDIR) $@
.DEFAULT:
! ################################################################################
! #
! # Include the default behavior at the eend so as not to
! # replace the default target above if any.
! #
! include $(SRC_ROOT)/Make.targets
!
--- 12,51 ----
# License.
#
! # $Id$
! ### Generic settings
! srcdir = @srcdir@
! top_srcdir = @top_srcdir@
! include $(top_srcdir)/Make.defs
! VPATH = ../generic:..
ifdef PURIFY
! PURECMD = purify -cache-dir=/iw/home/wmills/purify/cache -best-effort -forbidden-directories=/iw:/var/opt:/usr/lib:/usr/local/lib:/ccs/lib:
else
! PURECMD =
endif
! CC = $(PURECMD) $(_CC) $(INCLUDES)
! OBJS = base64.lo CBEEP.lo channel_0.lo cbxml_entities.lo
! DIRS = test
! all: $(OBJS) libbeepcore.la treeall
! #test: .DEFAULT
! # cd test; $(MAKE)
clean: treeclean
@touch foo.o foo.so; rm -rf *.[ao] *.so *.lo *.la .libs
! cd test; $(MAKE) clean
libbeepcore.la: $(OBJS)
! $(LDLIBTOOL) $(CC) -o $@ $(OBJS)
! install:
.DEFAULT:
! ### Default tree handling targets
! include $(top_srcdir)/Make.targets
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf