blob: 935d63d3764b6d494208d4077d2cfb04f1387be9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
##
## $Id$
##
include $(top_srcdir)/common/common.am
MKSPEC = $(SHELL) ./mkspec
SUBPACKAGES = header.add
SUBPACKAGES += $(top_builddir)/common/common.add
SUBPACKAGES += rtems-cpukit.add
SUBPACKAGES += $(top_builddir)/common/clean.add
SUBPACKAGES += target-cpukit.add
MKSPEC_DEPS = mkspec rtems-cpukit.spec.in $(top_builddir)/setup.cache
rtems-cpukit.spec.in: $(SUBPACKAGES)
cat $^ > $@
CLEANFILES = rtems-cpukit.spec.in
h8300-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems@osversion@ > $@
RPM_SPECS_DATA = h8300-rtems@osversion@-cpukit.spec
i386-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems@osversion@ > $@
RPM_SPECS_DATA += i386-rtems@osversion@-cpukit.spec
m68k-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems@osversion@ > $@
RPM_SPECS_DATA += m68k-rtems@osversion@-cpukit.spec
mips-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems@osversion@ > $@
RPM_SPECS_DATA += mips-rtems@osversion@-cpukit.spec
powerpc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems@osversion@ > $@
RPM_SPECS_DATA += powerpc-rtems@osversion@-cpukit.spec
sh-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems@osversion@ > $@
RPM_SPECS_DATA += sh-rtems@osversion@-cpukit.spec
sparc-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems@osversion@ > $@
RPM_SPECS_DATA += sparc-rtems@osversion@-cpukit.spec
tic4x-rtems@osversion@-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . tic4x-rtems@osversion@ > $@
RPM_SPECS_DATA += tic4x-rtems@osversion@-cpukit.spec
EXTRA_DIST = $(SUBPACKAGES)
CLEANFILES += $(RPM_SPECS_DATA)
include $(top_srcdir)/../automake/local.am
|