Files
pyDevSup/logApp/src/Makefile
Sebastian Marsching f18bdb7b56 Fix build on macOS.
This changeset consists of two changes:

The declaration of the pyInitLastState global variable is moved from
pydevsup.h to setup.c. This is needed to avoid an "duplicate symbols"
error when linking. As this variable is only used in setup.c anyway,
there is no downside in moving its declaration there.

The log example application is now only built on Linux. As it depends
on the inotify API, which is Linux-specific, it cannot be reasonably
built on other platforms. As it is not needed for the pyDevSup to work,
it is OK to built it without this application.
2019-02-25 08:37:52 -08:00

26 lines
567 B
Makefile

TOP=../..
include $(TOP)/configure/CONFIG
include $(TOP)/configure/CONFIG_PY
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
#=============================
# Build the IOC application
LOADABLE_LIBRARY_HOST_Linux = _inotifyy
_inotifyy_SRCS += inotify_wrap.c
PY += inotifyy.py
PY += logwatch/__init__.py
PY += logwatch/caputlog.py
#===========================
include $(TOP)/configure/RULES
include $(TOP)/configure/RULES_PY
#----------------------------------------
# ADD RULES AFTER THIS LINE