~ubuntu-branches/ubuntu/hardy/swi-prolog/hardy

« back to all changes in this revision

Viewing changes to packages/xpce/src/ker/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2007-12-02 23:26:00 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071202232600-b7d3d1i4kzfqmipf
Tags: 5.6.47-1
* New upstream version (Closes: #295209, #308325, #425580)
* New maintainer (Closes: #422576)
* Bump Debhelper compatibility to 5
* debian/rules:
   * Update config.sub and config.guess from autotools-dev
       (Closes: #408076, #414181)
   * Desist from blindly ignoring "clean" target
* debian/control:
   * Use ${binary:Version} instead of ${Source-Version}
   * Add new Homepage: field
   * Add XS-Vcs-* fields
* Change ".menu" sections from
     "Apps/Programming" -> "Applications/Programming"
* Documentation:
   * Remove some SGML documentation now missing from upstream
   * Add Sicstus and SWI-Prolog v4.8 -related XPCE documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# KER           --- Kernel modules
 
2
 
 
3
KER1OBJS=       alloc.o assoc.o behaviour.o class.o conversion.o \
 
4
                csymbol.o debug.o declarations.o error.o gc.o \
 
5
                getmethod.o glob.o global.o goodies.o passing.o \
 
6
                method.o name.o object.o programobject.o save.o \
 
7
                self.o sendmethod.o sourcelocation.o timer.o \
 
8
                trace.o type.o variable.o vmi.o xref.o error.o \
 
9
                classstub.o
 
10
KER2OBJS=       inline.o
 
11
KEROBJS=        $(KER1OBJS) $(KER2OBJS)
 
12
KER1SRC=        $(KER1OBJS:.o=.c)
 
13
 
 
14
objects:        $(KEROBJS)
 
15
 
 
16
addlib:         $(KEROBJS)
 
17
                $(AR) $(ARFLAGS) $(LIB) $(KEROBJS)
 
18
                @touch addlib
 
19
 
 
20
proto.h:        $(KER1SRC)
 
21
                $(MKPROTO) $(KER1SRC:.o=.c) | $(CLPROTO) > proto.h
 
22
 
 
23
version.h:      ../../Makefile
 
24
                @echo "#define MACHINE \"$(ARCH)\"" > %$@%
 
25
                @echo "#define PCE_VERSION \"$(VERSION)\"" >> %$@%
 
26
                @echo "#define OS \"$(OS)\"" >> %$@%
 
27
                @if cmp -s %$@% $@; then rm %$@%; else mv %$@% $@; fi
 
28
 
 
29
self.o:         version.h
 
30
 
 
31
name.o:         ../h/names.ih
 
32
 
 
33
glob.o:         ../h/kernel.h ../h/types.h ../h/graphics.h ../h/lang.h
 
34
 
 
35
clean:
 
36
                $(RM) -f *~ a.out core $(KEROBJS) addlib