mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule
|
|
|
|
EXTRA_DIST = \
|
|
gmoduleconf.h.in
|
|
|
|
BUILT_SOURCES = gmoduleconf.h
|
|
gmoduleconf.h: gmoduleconf.h.in
|
|
|
|
include_HEADERS = \
|
|
gmodule.h
|
|
|
|
lib_LTLIBRARIES = libgmodule-1.1.la libgplugin_a.la libgplugin_b.la
|
|
|
|
libgmodule_1_1_la_SOURCES = gmodule.c
|
|
libgmodule_1_1_la_LDFLAGS = @G_MODULE_LDFLAGS@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
|
libgmodule_1_1_la_LIBADD = @G_MODULE_LIBS@ -lglib-@LT_RELEASE@
|
|
|
|
libgplugin_a_la_SOURCES = libgplugin_a.c
|
|
libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@
|
|
libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ -lglib-@LT_RELEASE@
|
|
|
|
libgplugin_b_la_SOURCES = libgplugin_b.c
|
|
libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@
|
|
libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ -lglib-@LT_RELEASE@
|
|
|
|
noinst_PROGRAMS = testgmodule
|
|
testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
|
|
testgmodule_LDADD = libgmodule-@LT_RELEASE@.la -lglib-@LT_RELEASE@ @G_MODULE_LIBS@
|
|
|
|
.PHONY: files release
|
|
|
|
files:
|
|
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
|
|
echo $$p; \
|
|
done
|
|
|
|
install-libLTLIBRARIES: libgmodule-1.1.la
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
@list='libgmodule-1.1.la'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
|
|
$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
|
|
else :; fi; \
|
|
done
|
|
|
|
release:
|
|
$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
|