~ubuntu-branches/ubuntu/breezy/muse/breezy

« back to all changes in this revision

Viewing changes to common.am

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-02-07 15:18:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040207151822-es27xxkzbcxkebjm
Tags: 0.6.3-1
* New upstream version.
* Added patches:
  + [10_alsa_init_fix] New, from upstream CVS.
    Initialize direction variable when setting Alsa parameters.
  + [10_canvas_translation_fix] New, from upstream CVS.
    Do not translate tooltips twice in canvas popup.
  + [10_checkbox_fix] New, from upstream CVS.
    Use proper set/test methods on metronome checkboxes.
  + [10_html_doc_cleanup] New.
    Fix links and HTML errors in documentation.
  + [20_allow_system_timer] New.
    The new upstream version fails by default if the real-time clock
    could not be accessed (usually the case when not running suid-root).
    This patch reverts the old behaviour of falling back to the more
    inaccurate system timer.
* Updated patches:
  + [11_PIC_fixes_fixup] Rediffed.
* Removed patches:
  + [20_no_atomic_asm] Merged upstream.
* debian/compat: Splice out debhelper compatibility level from rules file.
* debian/control: Build-depend on latest jack release by default.
  Closes: #228788
* debian/control: Bump standards version.
* debian/control: Use auto-generated debconf dependency via misc:Depends.
* debian/control: Minor tweaks to the long description.
* debian/control: Tighten fluidsynth build dependency to sane version.
* debian/muse.doc-base: New. Register HTML documentation with doc-base.
* debian/templates: Tiny rewording, and typo fix.
* debian/templates, debian/po/*: Switch to po-debconf for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AM_CPPFLAGS =
 
2
AM_CXXFLAGS =
 
3
 
1
4
INCLUDES = $(MUSECXXFLAGS)
2
5
 
 
6
UIFILES = $(wildcard *.ui)
 
7
 
 
8
MOCFILES = $(shell for h in $(filter %.h,$(SOURCES)); do \
 
9
                     if grep -q Q_OBJECT $$h; then \
 
10
                       echo $$h | sed "s/\(.*\)\.h/moc_\1.cpp/"; \
 
11
                     fi; \
 
12
                   done)
 
13
 
 
14
BUILT_SOURCES = $(MOCFILES) $(UIFILES:%.ui=%.h)
 
15
 
 
16
MOSTLYCLEANFILES = $(MOCFILES) $(UIFILES:%.ui=%.h)
 
17
 
 
18
de:
 
19
        @for base in $(MOCFILES); do echo -e "\t$${base}.cpp $${base}.h \\"; done
 
20
 
 
21
nde:
 
22
        @for base in $(MOCFILES); do echo -e "\tmoc_$${base}.cpp \\"; done
 
23
 
 
24
SUFFIXES = .ui
 
25
 
 
26
.ui.o: %.h
 
27
        $(UIC) -o $*.cpp -impl $*.h $*.ui
 
28
        $(MOC) $*.h -o moc_$*.cpp
 
29
        $(CXXCOMPILE) -c $*.cpp -o base_$*.o
 
30
        $(CXXCOMPILE) -c moc_$*.cpp -o moc_$*.o
 
31
        $(CXXLINK) -r base_$*.o moc_$*.o -o $*.o
 
32
        $(RM) $*.cpp moc_$*.cpp base_$*.o moc_$*.o
 
33
 
 
34
.ui.lo: %.h
 
35
        $(UIC) -o $*.cpp -impl $*.h $*.ui
 
36
        $(MOC) $*.h -o moc_$*.cpp
 
37
        $(LTCXXCOMPILE) -c $*.cpp -o base_$*.lo
 
38
        $(LTCXXCOMPILE) -c moc_$*.cpp -o moc_$*.lo
 
39
        $(CXXLINK) -r base_$*.lo moc_$*.lo -o $*.lo
 
40
        $(RM) $*.cpp moc_$*.cpp base_$*.lo moc_$*.lo base_$*.o moc_$*.o
 
41
 
 
42
 
3
43
moc_%.cpp: %.h
4
44
        $(MOC) $< -o $@
5
45
 
6
 
%.cpp: %.h %.ui
7
 
        $(UIC) -o $@ -impl $*.h $*.ui
8
 
 
9
46
%.h: %.ui
10
47
        $(UIC) -o $@ $<
11
48
 
12
 
BUILT_SOURCES = $(MOCBASES:%=moc_%.cpp) $(UICBASES:%=%.h) \
13
 
                $(UICBASES:%=moc_%.cpp) $(UICBASES:%=%.cpp)
14
 
 
15
 
MOSTLYCLEANFILES = $(MOCBASES:%=moc_%.cpp) $(UICBASES:%=%.h) \
16
 
                   $(UICBASES:%=moc_%.cpp) $(UICBASES:%=%.cpp)
17
 
 
18
 
EXTRA_DIST = $(UICBASES:%=%.ui)
19
 
 
20
 
de:
21
 
        @for base in $(MOCBASES); do echo -e "\t$${base}.cpp $${base}.h \\"; done
22
 
 
23
 
nde:
24
 
        @for base in $(MOCBASES); do echo -e "\tmoc_$${base}.cpp \\"; done
25
 
        @for base in $(UICBASES); do echo -e "\tmoc_$${base}.cpp $${base}.cpp $${base}.h \\"; done