OSSP CVS Repository

ossp - Difference in ossp-pkg/js/Makefile.in versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/Makefile.in 1.1 -> 1.2

--- Makefile.in  2006/07/22 11:04:43     1.1
+++ Makefile.in  2006/07/22 13:48:03     1.2
@@ -40,10 +40,10 @@
 libdir      = @libdir@
 includedir  = @includedir@
 mandir      = @mandir@
-
+datarootdir = @datarootdir@
 
 CXX         = @CXX@
-CPPFLAGS    = -I. -I$(S) -Isrc -I($S)/src @CPPFLAGS@ @DEFS@
+CPPFLAGS    = @CPPFLAGS@ @DEFS@ -Isrc
 CFLAGS      = @CFLAGS@
 CXXFLAGS    = @CXXFLAGS@
 LDFLAGS     = @LDFLAGS@
@@ -109,7 +109,6 @@
               src/jsatom.lo    \
               src/jsbool.lo    \
               src/jscntxt.lo   \
-              src/jscpucfg.lo  \
               src/jsdate.lo    \
               src/jsdbgapi.lo  \
               src/jsdhash.lo   \
@@ -138,7 +137,40 @@
               src/jsutil.lo    \
               src/jsxdrapi.lo  \
               src/jsxml.lo     \
-              src/prmjtime.lo
+              src/prmjtime.lo  \
+              src/fdlibm/e_acos.lo        \
+              src/fdlibm/e_asin.lo        \
+              src/fdlibm/e_atan2.lo       \
+              src/fdlibm/e_exp.lo         \
+              src/fdlibm/e_fmod.lo        \
+              src/fdlibm/e_log.lo         \
+              src/fdlibm/e_pow.lo         \
+              src/fdlibm/e_rem_pio2.lo    \
+              src/fdlibm/s_scalbn.lo      \
+              src/fdlibm/e_sqrt.lo        \
+              src/fdlibm/k_cos.lo         \
+              src/fdlibm/k_sin.lo         \
+              src/fdlibm/k_rem_pio2.lo    \
+              src/fdlibm/k_tan.lo         \
+              src/fdlibm/s_atan.lo        \
+              src/fdlibm/s_ceil.lo        \
+              src/fdlibm/s_copysign.lo    \
+              src/fdlibm/s_cos.lo         \
+              src/fdlibm/s_fabs.lo        \
+              src/fdlibm/s_finite.lo      \
+              src/fdlibm/s_floor.lo       \
+              src/fdlibm/s_isnan.lo       \
+              src/fdlibm/s_lib_version.lo \
+              src/fdlibm/s_sin.lo         \
+              src/fdlibm/s_tan.lo         \
+              src/fdlibm/w_acos.lo        \
+              src/fdlibm/w_asin.lo        \
+              src/fdlibm/w_atan2.lo       \
+              src/fdlibm/w_exp.lo         \
+              src/fdlibm/w_fmod.lo        \
+              src/fdlibm/w_log.lo         \
+              src/fdlibm/w_pow.lo         \
+              src/fdlibm/w_sqrt.lo
 LIB_NAME    = libjs.la
 
 PRG_NAME    = js
@@ -152,10 +184,10 @@
 all: $(TARGETS)
 
 .c.o:
-        $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+        $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
 
 .c.lo:
-        @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+        @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
 
 $(LIB_NAME): $(LIB_OBJS)
         @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \
@@ -164,6 +196,16 @@
 $(PRG_NAME): $(PRG_OBJS) $(LIB_NAME)
         @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PRG_NAME) $(PRG_OBJS) $(LIB_NAME) $(LIBS)
 
+$(LIB_OBJS): src/jsautocfg.h
+src/jsautocfg.h: jscpucfg
+        -rm -f $@ src/jsautocfg.h
+        $(LIBTOOL) --mode=execute ./jscpucfg >src/jsautocfg.h
+jscpucfg.o: src/jscpucfg.c
+        $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
+jscpucfg: jscpucfg.o
+        @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o jscpucfg jscpucfg.o $(LIBS)
+src/jsopcode.h src/jsopcode.c: src/jsopcode.tbl
+
 .PHONY: install
 install:
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)

CVSTrac 2.0.1