Show
Ignore:
Timestamp:
11/28/02 14:52:49 (10 years ago)
Author:
ahu
Message:

juh

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/modules/gmysqlbackend/Makefile

    r6 r14  
     1# Generated automatically from Makefile.in by configure. 
    12PDNS_HOME               = ../../pdns 
    23PDNS_LIBDIR             = /usr/lib/powerdns 
     
    1819DIRNAME=pdns-gmypgsqlbackend-$(VERSION) 
    1920 
    20 dist: 
    21         mkdir $(DIRNAME) 
    22         cp COPYING smysql.cc spgsql.cc gmysqlbackend.cc gmysqlbackend.hh smysql.hh ssql.hh spgsql.hh Makefile INSTALL $(DIRNAME) 
    23         tar cvzf $(DIRNAME).tar.gz $(DIRNAME) 
    24         rm -rf $(DIRNAME) 
     21PACKAGE = pdns 
     22VERSION = 2.9 
     23DISTFILES=*.cc *.hh Makefile.in OBJECTFILES OBJECTLIBS 
     24 
     25top_distdir = ../.. 
     26distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 
     27 
     28distdir: $(DISTFILES) 
     29        @for file in $(DISTFILES); do \ 
     30          if test -f $$file; then d=.; else d=$(srcdir); fi; \ 
     31          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 
     32          if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 
     33            $(mkinstalldirs) "$(distdir)/$$dir"; \ 
     34          fi; \ 
     35          if test -d $$d/$$file; then \ 
     36            cp -pR $$d/$$file $(distdir) \ 
     37            || exit 1; \ 
     38          else \ 
     39            test -f $(distdir)/$$file \ 
     40            || cp -p $$d/$$file $(distdir)/$$file \ 
     41            || exit 1; \ 
     42          fi; \ 
     43        done 
    2544         
    2645deps: 
     
    3655        g++ -MD -g -c $(CXXFLAGS) $(CPPFLAGS) $< 
    3756 
     57distclean: clean 
     58 
    3859clean: 
    3960        rm -f *.o *.so *~ *.d deps