|
|
Choosing A Webhost: |
rev 146 - in trunk: . src: msg#00016lang.prothon.cvs
Author: bcollins Date: 2004-03-26 21:39:20 -0500 (Fri, 26 Mar 2004) New Revision: 146 Modified: trunk/Rules.mk.in trunk/src/Makefile.in Log: Integrate libtool usage into prothon part of the build. Modified: trunk/Rules.mk.in =================================================================== --- trunk/Rules.mk.in 2004-03-27 02:18:31 UTC (rev 145) +++ trunk/Rules.mk.in 2004-03-27 02:39:20 UTC (rev 146) @@ -26,3 +26,24 @@ INSTALL_DATA=$(INSTALL) -m 644 INSTALL_PROGRAM=$(INSTALL) -m 755 INSTALL_DIR=$(INSTALL) -d -m 755 + +LIBTOOL = @LIBTOOL@ +LTFLAGS = --silent +LT_LDFLAGS = @LT_LDFLAGS@ + +COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) +LT_COMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) + +LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir) + +.SUFFIXES: +.SUFFIXES: .c .lo .o .la-a .la + +.c.o: + $(COMPILE) -o $@ -c $< + +.c.lo: + $(LT_COMPILE) -o $@ -c $< + +.la.la-a: + sed "/library_names/s/'.*'/''/" $< > $@ Modified: trunk/src/Makefile.in =================================================================== --- trunk/src/Makefile.in 2004-03-27 02:18:31 UTC (rev 145) +++ trunk/src/Makefile.in 2004-03-27 02:39:20 UTC (rev 146) @@ -9,10 +9,6 @@ include ../Rules.mk -# The -rdynamic makes it so that the binary can export symbols to the -# modules. This is needed. -LDFLAGS += -rdynamic - TARGET=prothon OBJS = argproc.o clist.o lock.o memory_mgr.o parser.o prmalloc.o sys.o \ builtins.o interp.o main.o object.o parser_routines.o symbol.o \
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | rev 144 - trunk/src, SVN User |
|---|---|
| Next by Date: | rev 147 - trunk/src, SVN User |
| Previous by Thread: | rev 144 - trunk/src, SVN User |
| Next by Thread: | rev 147 - trunk/src, SVN User |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |