Files
PolyORB/Makefile.common
Jérôme Hugues 53490ebd5e Add support for TAG_Code_Sets to po_catref
Patch submitted by Vadim Godunko, reviewed by Jerome Hugues

[Imported from Perforce change 8626 at 2006-12-01 20:36:29]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36202
2004-10-01 18:19:13 +00:00

39 lines
1.0 KiB
Makefile

# Common Makefile fragments for all PolyORB subsystems
# $Id$
SUFFIXES= .c .adb .ads .lo .ali .idl
ADACOMPILER= $(top_builddir)/support/adacompiler
LINKER= $(top_builddir)/support/linker
MOVEIFCHANGE= $(top_builddir)/support/move-if-change
IDLAC_dir= $(top_builddir)/compilers/idlac
IDLAC= $(IDLAC_dir)/idlac
GEN_CODESET_dir=$(top_builddir)/src/giop
GEN_CODESET= $(GEN_CODESET_dir)/gen_codeset
LINK= $(LINKER) -o $(lib_LTLIBRARIES)
.c.lo:
$(LTCOMPILE) -c $<
.adb.lo:
@chmod a+x $(ADACOMPILER)
$(LIBTOOL) $(LIBTOOL_TAG) --mode=compile $(ADACOMPILER) -c $(ADAFLAGS) $<
.ads.lo:
@chmod a+x $(ADACOMPILER)
$(LIBTOOL) $(LIBTOOL_TAG) --mode=compile $(ADACOMPILER) -c $(ADAFLAGS) $<
.idl.ads:
$(IDLAC) -I$(srcdir) $(IDLAC_FLAGS) $<
.idl.adb:
$(IDLAC) -I$(srcdir) $(IDLAC_FLAGS) $<
__default__:: all
$(IDLAC): $(FORCE_IDLAC)
cd $(IDLAC_dir) && $(MAKE)
$(GEN_CODESET): $(FORCE_GEN_CODESET)
cd $(GEN_CODESET_dir) && $(MAKE) all-gen_codeset