~ubuntu-branches/ubuntu/natty/sawfish/natty

« back to all changes in this revision

Viewing changes to src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Luis Rodrigo Gallardo Cruz
  • Date: 2009-11-23 09:05:20 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20091123090520-m588qe37wtxzr2b5
Tags: upstream-1.5.3
ImportĀ upstreamĀ versionĀ 1.5.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
all : sawfish libclient.o $(DL_OBJS) .libexec gtk-style
44
44
 
45
45
sawfish : $(OBJS) $(LIBOBJS)
46
 
        $(rep_LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) \
 
46
        $(rep_LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(LDFLAGS) \
47
47
          -o sawfish $(OBJS) $(LIBOBJS) $(REP_LIBS) $(PANGO_LIBS) \
48
48
          $(IMAGE_LIBS) $(X11_LIBS) $(EXTRA_X11_LIBS) $(LIBS)
49
49
 
54
54
        $(rep_DL_LD) $(LDFLAGS) -o $@ $< $(ESD_LIBS) $(AUDIOFILE_LIBS)
55
55
 
56
56
libclient_.lo : libclient.c
57
 
        $(rep_LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
 
57
        $(rep_LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
58
58
 
59
59
client.la : client.lo libclient_.lo
60
60
        $(rep_DL_LD) $(LDFLAGS) -o $@ $^ $(X11_LIBS) $(REP_LIBS) $(LIBS)
61
61
 
62
62
gtk-style : gtk-style.c
63
 
        $(CC) $(CPPFLAGS) $(GTK_CFLAGS) $(LDFLAGS) -o $@ $< $(GTK_LIBS) $(LIBS)
 
63
        $(CC) $(CFLAGS) $(CPPFLAGS) $(GTK_CFLAGS) $(LDFLAGS) -o $@ $< $(GTK_LIBS) $(LIBS)
64
64
 
65
65
install : all installdirs
66
66
        for p in sawfish; do \
70
70
        $(foreach x,$(DL_DSTS),\
71
71
          $(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
72
72
          $(notdir $(x)) $(DESTDIR)$(sawfishexecdir)/$(dir $(x));)
73
 
        $(rep_INSTALL_ALIASES) -c . $(DESTDIR)$(sawfishexecdir)
 
73
        $(rep_INSTALL_ALIASES) -c $(srcdir) $(DESTDIR)$(sawfishexecdir)
74
74
        $(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) client.la $(DESTDIR)$(repexecdir)/sawfish/
75
75
 
76
76
uninstall :
77
77
        for p in sawfish; do \
78
 
          $(rep_LIBTOOL) rm $(DESTDIR)${bindir}/$$p; \
 
78
          $(rep_LIBTOOL) --mode=uninstall rm -f $(DESTDIR)${bindir}/$$p; \
79
79
        done
80
80
        rm -f $(DESTDIR)$(bindir)/sawfish-client
81
 
        $(rep_DL_UNINSTALL) $(DESTDIR)${sawfishexecdir}/gtk-style
 
81
        $(rep_DL_UNINSTALL) -f $(DESTDIR)${sawfishexecdir}/gtk-style
82
82
        for dl in $(DL_DSTS); do \
83
 
          $(rep_LIBTOOL) rm $(DESTDIR)${sawfishexecdir}/$$dl; \
 
83
          $(rep_LIBTOOL) --mode=uninstall rm -f $(DESTDIR)${sawfishexecdir}/$$dl; \
84
84
        done
85
 
        $(rep_DL_UNINSTALL) $(DESTDIR)$(repexecdir)/sawfish/client.la
 
85
        $(rep_DL_UNINSTALL) -f $(DESTDIR)$(repexecdir)/sawfish/client.la
86
86
 
87
87
installdirs : mkinstalldirs
88
88
        $(SHELL) $< $(DESTDIR)$(bindir) $(DESTDIR)$(repexecdir)/sawfish \
94
94
clean :
95
95
        rm -f *~ *.o *.lo *.la *.jlc build.h core
96
96
 
 
97
distclean: realclean
 
98
 
97
99
realclean : clean
98
100
        rm -f .*.d sawfish sawfish-about.jl Makefile gtk-style
99
101
        rm -rf .libs