Files
cdesktop/cde/programs/dtinfo/mmdb/object/Makefile.am
Jon Trulson 97b2f86eba dtinfo/mmdb: redo the way this library is built
Specifically:

- use libtool so that the top level library contains the actual
  objects, and not just the sub-archives, which the linker will just
  ignore.
- create the source files via symlinks rather than referencing them
  with relative paths.  Doing it that way causes a 'make clean' to
  delete objects in DtMmdb/ which is wrong.
- fix up utility/ - it seemed to be building more source files than
  the original Imakefile listed.  Other changes may need to be done
  here if similar mistakes were made in other subdirs.
2021-12-05 11:57:50 -07:00

23 lines
647 B
Makefile

MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/programs/dtinfo/dtinfo/src/templates/dtinfo_env.mk
BASE = ../../DtMmdb/object
BUILT_SOURCES = composite.C compressed_pstring.C cset.C dl_list.C \
dl_list_cell.C handler.C integer.C \
long_pstring.C oid.C oid_list.C oid_t.C \
primitive.C pstring.C random_gen.C root.C \
short_list.C tuple.C
$(BUILT_SOURCES):
$(LN_S) $(BASE)/$@ $@
CLEANFILES = $(BUILT_SOURCES)
noinst_LTLIBRARIES = libobject.la
libobject_la_CXXFLAGS = $(DTINFO_DEFINES) -DPORTABLE_DB -I../../DtMmdb -I../../DtMmdb/dti_excs \
-I$(BASE)
libobject_la_SOURCES = $(BUILT_SOURCES)