SRCDIR := $(SRCPARENT)/PayloadInterfaceLib
DEP0 := SV3RemotingLib SMACFramework EventLib
DEP := SMACIdl $(DEP0)
CXXFLAGS := -I$(SRCDIR) -I$(SRCPARENT)/$(DEP0) $(IDLCFLAGS) -I$(CORBA_INSTALL)/include -I$(CORBA_INSTALL)/include/COS $(CXXFLAGSSTD) -c

MODULES := \
AlarmSubsytem \
AddressedPacketEvent \
CommonSendCommand \
CRC16 \
DoThrow \
FCCMessage_CommHeaderMessageGeneric \
FCCMessage \
FCCMessage_Utilities \
HDLCParser \
HDLCPort \
LatLon_Components \
LatLon \
LocalTransactionCounter \
md5 \
MD5-2 \
PayloadAddressableMessageService \
PayloadAddressableMessageServiceSettings \
PayloadInterfaceController_Config \
PayloadInterfaceController \
PayloadInterfaceSettings \
PayloadMessage \
PayloadMessage_Header \
PayloadPortSlave \
PayloadPortSlave_ThreadSafeMap \
PayloadProtocol \
ProxySC \
ProxySCDictionary \
ProxySC_TransactionInfo \
SCLookup \
StorageController_Config \
StorageController \
StorageController_FileState \
SV3NetChannel \
SV3NetInterface \
SV3NetInterface_PollingLoop \
SV3NetInterface_RegistrationLoop \
SV3NetInterfaceSettings \
SV3RemoteController \
TelemetryBuffer \
TelemetryFieldLibrary \
TelemetryFieldList \
TelemetryPublisher \
TelemetryPublisherKey \
TelemetryReport \
TelemetryReportKey \
TelemetryReportParameters \
TelemetrySubsystem

$(phony all):	$(MODULES).o

$(phony clean):
	rm -f $(MODULES).o

$(phony cleanall): $(TOP)/$(DEP)/$(BUILDDIR)/cleanall clean

%.o : $(SRCDIR)/%.cpp
    $(CXX) $(CXXFLAGS) $(input) -o $(output)

%.o : $(SRCDIR)/%.c
    $(CC) $(CXXFLAGS) $(input) -o $(output)

