Annotation of embedaddon/dhcp/server/Makefile.am, revision 1.1.1.1.2.1

1.1.1.1   misho       1: # We want to build this directory first, before descending into tests subdir.
                      2: # The reason is that ideally the tests should link existing objects from this
                      3: # directory. That eliminates any discrepancies between tested code and
                      4: # production code. Sadly, we are not there yet.
                      5: SUBDIRS = . tests
                      6: 
1.1       misho       7: AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
                      8: 
                      9: dist_sysconf_DATA = dhcpd.conf
1.1.1.1.2.1! misho      10: dist_sysconfDATA_INSTALL = $(INSTALL_DATA)
1.1       misho      11: sbin_PROGRAMS = dhcpd
                     12: dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \
                     13:                omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c \
                     14:                dhcpv6.c mdb6.c
                     15: 
                     16: # libomapi.a this is here twice to handle circular library dependencies :(
                     17: dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a ../dst/libdst.a \
                     18:              ../dhcpctl/libdhcpctl.a ../minires/libres.a \
                     19:              ../omapip/libomapi.a
                     20: 
                     21: man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
                     22: EXTRA_DIST = $(man_MANS)
                     23: 
1.1.1.1.2.1! misho      24: install-dist_sysconfDATA: $(dist_sysconf_DATA)
        !            25:        @$(NORMAL_INSTALL)
        !            26:        test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
        !            27:        @list='$(dist_sysconf_DATA)'; for p in $$list; do \
        !            28:        if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
        !            29:                $(am__strip_dir) \
        !            30:                echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f.sample'"; \
        !            31:                $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f.sample"; \
        !            32:        done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>