Changeset 438 in project for rpc


Ignore:
Timestamp:
05/06/06 01:22:58 (13 years ago)
Author:
Thomas Chust
Message:

[rpc] made the egg fit for -check-imports

Location:
rpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rpc/Makefile

    r10 r438  
    44ENSCRIPT=enscript
    55
    6 CSCFLAGS=-C -DC_ENABLE_PTABLES #-O2 -d0
     6CSCFLAGS=-C -DC_ENABLE_PTABLES -O2 -d0 -check-imports
    77LDLIBS=
    88
     
    2424
    2525$(NAME).setup: Makefile
    26         echo "(compile $(CSCFLAGS) -s \"$(NAME).scm\" $(LDLIBS) -o \"$(NAME).so\")" >$@; \
     26        echo "(define so-file" >$@; \
     27        echo "  (string-append" >>$@; \
     28        echo "    \"$(NAME).\"" >>$@; \
     29        echo "    (if (eq? (software-type) 'windows) \"dll\" \"so\")))" >>$@; \
     30        echo "(compile" >>$@; \
     31        echo "  $(CSCFLAGS) -s \"$(NAME).scm\" $(LDLIBS)" >>$@; \
     32        echo "  -o ,so-file -emit-exports \"$(NAME).exports\")" >>$@; \
    2733        echo "(install-extension" >>$@; \
    28         echo " '$(NAME)" >>$@; \
    29         echo " '(\"$(NAME).so\" \"$(NAME).html\" \"egg.jpg\")" >>$@; \
    30         echo " '((version \"$(VERSION)\") (documentation \"$(NAME).html\")))" >>$@
     34        echo "  '$(NAME)" >>$@; \
     35        echo "  \`(\"$(NAME).scm\" ,so-file" >>$@; \
     36        echo "    \"$(NAME).html\" \"egg.jpg\")" >>$@; \
     37        echo "  '((version \"$(VERSION)\") (documentation \"$(NAME).html\")))" >>$@
    3138
    3239%.html: %.scm
  • rpc/rpc.setup

    r10 r438  
    1 (compile -C -DC_ENABLE_PTABLES  -s "rpc.scm"  -o "rpc.so")
     1(define so-file
     2  (string-append
     3    "rpc."
     4    (if (eq? (software-type) 'windows) "dll" "so")))
     5(compile
     6  -C -DC_ENABLE_PTABLES -O2 -d0 -check-imports -s "rpc.scm"
     7  -o ,so-file -emit-exports "rpc.exports")
    28(install-extension
    3  'rpc
    4  '("rpc.so" "rpc.html" "egg.jpg")
    5  '((version "1.0.0") (documentation "rpc.html")))
     9  'rpc
     10  `("rpc.scm" ,so-file
     11    "rpc.html" "egg.jpg")
     12  '((version "1.0.0") (documentation "rpc.html")))
Note: See TracChangeset for help on using the changeset viewer.