/usr/share/pwlib/make/plugins.mak is in libpt-1.10.10-dev 1.10.10-3.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | include ../../make/unix.mak
PLUGIN_FILENAME = $(PLUGIN_NAME)_pwplugin.$(LIB_SUFFIX)
OBJDIR = ../pwlib/$(PLUGIN_FAMILY)
TARGET = $(OBJDIR)/$(PLUGIN_FILENAME)
ifeq ($(OSTYPE),solaris)
LDSOPTS += -G
else
LDSOPTS += -shared
endif
ifeq ($(MACHTYPE),x86_64)
CFLAGS += -fPIC
endif
$(OBJDIR)/$(PLUGIN_FILENAME): $(PLUGIN_SOURCES)
mkdir -p $(OBJDIR)
$(CPLUS) $(CFLAGS) $(STDCCFLAGS) \
$(PLUGIN_LIBS) \
-I. $(LDSOPTS) $< -o $@
include ../../make/common.mak
|