Browse Source

move all compatibility shims to compat

OPENBSD_5_7
Brent Cook 10 years ago
committed by Brent Cook
parent
commit
ca4f4d455a
3 changed files with 5 additions and 5 deletions
  1. +5
    -5
      Makefile.am
  2. +0
    -0
      compat/bsd-adjfreq.c
  3. +0
    -0
      compat/fake-sensors.c

+ 5
- 5
Makefile.am View File

@ -23,13 +23,10 @@ ntpd_SOURCES += ntp_msg.c
ntpd_SOURCES += ntpd.c
ntpd_SOURCES += ntpd.h
ntpd_SOURCES += parse.y
if !HAVE_ADJFREQ
ntpd_SOURCES += bsd-adjfreq.c
endif
if HAVE_SENSORS
ntpd_SOURCES += sensors.c
else
ntpd_SOURCES += fake-sensors.c
ntpd_SOURCES += compat/fake-sensors.c
endif
ntpd_SOURCES += server.c
ntpd_SOURCES += util.c
@ -52,7 +49,6 @@ libcompat_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS)
libcompat_la_SOURCES =
libcompat_la_LIBADD = $(PLATFORM_LDADD)
if !HAVE_SETPROCTITLE
libcompat_la_SOURCES += compat/setproctitle.c
endif
@ -94,6 +90,10 @@ libcompat_la_SOURCES += compat/imsg.c
libcompat_la_SOURCES += compat/imsg-buffer.c
endif
if !HAVE_ADJFREQ
libcompat_la_SOURCES += compat/bsd-adjfreq.c
endif
if !HAVE_CLOCK_GETRES
libcompat_la_SOURCES += compat/clock_getres.c
endif


bsd-adjfreq.c → compat/bsd-adjfreq.c View File


fake-sensors.c → compat/fake-sensors.c View File


Loading…
Cancel
Save