ld --as-needed compilation fixes with external libs.
[fvwm.git] / perllib / FVWM / Makefile.am
blobddd0ed505fbac91fa9f4a5f26b3f8d7a774fb5f6
1 ## Process this file with automake to create Makefile.in
3 SUBDIRS = Module Tracker
5 configdir = @FVWM_PERLLIBDIR@/FVWM
7 ORIGINAL_PMS = \
8         Commands.pm Constants.pm EventNames.pm Event.pm Tracker.pm
10 config_DATA = $(ORIGINAL_PMS) Module.pm
12 EXTRA_DIST = $(ORIGINAL_PMS) create-commands create-constants
14 _Constants.pm: Makefile.am $(top_srcdir)/libs/Module.h
15         cd $(top_builddir)/perllib/FVWM && \
16         (fvwm_libdir=$(top_builddir)/libs ./create-constants)
18 _Commands.pm: Makefile $(top_srcdir)/fvwm/functable.c
19         cd $(top_builddir)/perllib/FVWM && \
20         (fvwm_libdir=$(top_builddir)/libs ./create-commands)
22 regenerate: _Constants.pm _Commands.pm