Changeset 5033

Show
Ignore:
Timestamp:
11/01/07 20:06:32 (8 months ago)
Author:
morris
Message:

Update for autoconf

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wired/trunk/Makefile.in

    r5031 r5033  
    11# Makefile.in 
    22 
    3 top_srcdir             = @top_srcdir@ 
     3abs_top_srcdir = @abs_top_srcdir@ 
    44datarootdir             = @datarootdir@ 
    55exec_prefix             = @exec_prefix@ 
     
    2222SUBDIRS                 = libwired 
    2323 
    24 WIREDOBJECTS    = $(addprefix $(objdir)/wired/,$(notdir $(patsubst %.c,%.o,$(shell find $(top_srcdir)/wired -name "*.c")))) 
     24WIREDOBJECTS    = $(addprefix $(objdir)/wired/,$(notdir $(patsubst %.c,%.o,$(shell find $(abs_top_srcdir)/wired -name "*.c")))) 
    2525 
    2626DEFS                    = @DEFS@ -DWD_ROOT="\"$(fake_prefix)/$(wireddir)\"" 
     
    3030LDFLAGS                 = -L$(rundir)/libwired/lib @LDFLAGS@ 
    3131LIBS                    = -lwired @LIBS@ 
    32 INCLUDES                = -I$(top_srcdir) -I$(rundir)/libwired/include 
     32INCLUDES                = -I$(abs_top_srcdir) -I$(rundir)/libwired/include 
    3333 
    3434INSTALL                 = @INSTALL@ 
     
    7070        $(LINK) $(WIREDOBJECTS) $(LIBS) 
    7171 
    72 $(rundir)/wiredctl: $(top_srcdir)/wired/wiredctl.in 
     72$(rundir)/wiredctl: $(abs_top_srcdir)/wired/wiredctl.in 
    7373        @test -d $(@D) || mkdir -p $(@D) 
    7474        sed -e 's,@wireddir\@,$(fake_prefix)/$(wireddir),g' $< > $@ 
    7575        chmod +x $@ 
    7676 
    77 $(rundir)/etc/wired.conf: $(top_srcdir)/wired/wired.conf.in 
     77$(rundir)/etc/wired.conf: $(abs_top_srcdir)/wired/wired.conf.in 
    7878        @test -d $(@D) || mkdir -p $(@D) 
    7979        sed -e 's,@WD_USER\@,$(WD_USER),g' -e 's,@WD_GROUP\@,$(WD_GROUP),g' $< > $@ 
    8080 
    81 $(objdir)/wired/%.o: $(top_srcdir)/wired/%.c 
     81$(objdir)/wired/%.o: $(abs_top_srcdir)/wired/%.c 
    8282        @test -d $(@D) || mkdir -p $(@D) 
    8383        $(COMPILE) -I$(<D) -c $< -o $@ 
    8484 
    85 $(objdir)/wired/%.d: $(top_srcdir)/wired/%.c 
     85$(objdir)/wired/%.d: $(abs_top_srcdir)/wired/%.c 
    8686        @test -d $(@D) || mkdir -p $(@D) 
    8787        ($(DEPEND) $< | sed 's,$*.o,$(@D)/&,g'; echo "$@: $<") > $@ 
     
    161161install-man: 
    162162        $(INSTALL) -m 755 -d $(mandir)/man1/ 
    163         $(INSTALL) -m 644 $(top_srcdir)/man/wiredctl.1 $(mandir)/man1/ 
     163        $(INSTALL) -m 644 $(abs_top_srcdir)/man/wiredctl.1 $(mandir)/man1/ 
    164164        $(INSTALL) -m 755 -d $(mandir)/man5/ 
    165         $(INSTALL) -m 644 $(top_srcdir)/man/wired.conf.5 $(mandir)/man5/ 
     165        $(INSTALL) -m 644 $(abs_top_srcdir)/man/wired.conf.5 $(mandir)/man5/ 
    166166        $(INSTALL) -m 755 -d $(mandir)/man8/ 
    167         $(INSTALL) -m 644 $(top_srcdir)/man/wired.8 $(mandir)/man8/ 
     167        $(INSTALL) -m 644 $(abs_top_srcdir)/man/wired.8 $(mandir)/man8/ 
    168168 
    169169dist: