]> git.pld-linux.org Git - packages/gcl.git/blob - gcl-make.patch
- updated for 2.6.2
[packages/gcl.git] / gcl-make.patch
1 --- gcl-2.6.2/makefile.orig     2004-05-26 04:22:25.000000000 +0200
2 +++ gcl-2.6.2/makefile  2004-07-15 19:44:19.787820607 +0200
3 @@ -51,26 +51,30 @@
4         cp $(<D)/../include/$(@F) $@
5  
6  $(PORTDIR)/saved_pre_gcl: $(HDIR)cmpinclude.h
7 -       (cd $(BINDIR); $(MAKE) all)
8 +       $(MAKE) -C $(BINDIR) all
9         $(MAKE) mpfiles
10         rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
11 -       (cd $(ODIR); $(MAKE) all)
12 +       $(MAKE) -C $(ODIR) all
13         $(MAKE) $<
14         rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
15 -       (cd $(ODIR); $(MAKE) all)
16 +       $(MAKE) -C $(ODIR) all
17         cd $(@D) && $(MAKE) $(@F)
18  
19  $(PORTDIR)/saved_gcl: $(HDIR)cmpinclude.h $(PORTDIR)/saved_pre_gcl
20 -       (cd $(LSPDIR); touch *.lsp ; $(MAKE) all)
21 -       (cd $(CMPDIR); touch *.lsp ; $(MAKE) all)
22 +       (cd $(LSPDIR); touch *.lsp)
23 +       $(MAKE) -C $(LSPDIR) all
24 +       (cd $(CMPDIR); touch *.lsp)
25 +       $(MAKE) -C $(CMPDIR) all
26         cd $(@D) && $(MAKE) $(@F)
27  
28  $(PORTDIR)/saved_pcl_gcl: $(PORTDIR)/saved_gcl
29 -       (cd $(PCLDIR); rm -f *.c; $(MAKE) all)
30 +       (cd $(PCLDIR); rm -f *.c)
31 +       $(MAKE) -C $(PCLDIR) all
32         cd $(@D) && $(MAKE) $(@F)
33  
34  $(PORTDIR)/saved_ansi_gcl: $(PORTDIR)/saved_pcl_gcl
35 -       (cd $(CLCSDIR); rm -f *.c; $(MAKE) all)
36 +       (cd $(CLCSDIR); rm -f *.c)
37 +       $(MAKE) -C $(CLCSDIR) all
38         cd $(@D) && $(MAKE) $(@F)
39  
40  ansi-tests/test_results: $(PORTDIR)/saved_ansi_gcl
41 @@ -102,7 +106,7 @@
42  mpfiles: $(MPFILES)
43  
44  $(MPDIR)/libmport.a:
45 -       (cd mp ; $(MAKE) all)
46 +       $(MAKE) -C mp all
47  
48  $(GMPDIR)/libgmp.a: $(GMPDIR)/Makefile
49         cd $(GMPDIR) && $(MAKE) && rm -f libgmp.a &&  ar qc libgmp.a *.o */*.o
50 @@ -234,7 +238,7 @@
51  OTHERS=$(HDIR)notcomp.h $(HDIR)rgbc.h $(HDIR)stacks.h 
52  
53  $(HDIR)new_decl.h:
54 -       (cd o && $(MAKE) ../$@)
55 +       $(MAKE) -C o ../$@
56  
57  $(HDIR)cmpinclude.h: $(CMPINCLUDE_FILES) $(HDIR)config.h
58         cat $(HDIR)config.h | sed -e "1,/Begin for cmpincl/d" \
59 @@ -258,7 +262,7 @@
60         chmod a+rx configure
61  
62  kcp:
63 -       (cd go ; $(MAKE)  "CFLAGS = -I../h -pg  -c -g ")
64 -       (cd unixport ; $(MAKE) gcp)
65 +       $(MAKE) -C go "CFLAGS = -I../h -pg  -c -g "
66 +       $(MAKE) -C unixport gcp
67  
68 -#.INTERMEDIATE: unixport/saved_pcl_gcl
69 \ No newline at end of file
70 +#.INTERMEDIATE: unixport/saved_pcl_gcl
This page took 0.455906 seconds and 3 git commands to generate.