2007-11-15 23:45:00 -05:00
|
|
|
|
|
|
|
RS_TOP_DIR = ..
|
|
|
|
##### Define any flags that are needed for this section #######
|
|
|
|
###############################################################
|
|
|
|
|
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/config.mk
|
|
|
|
###############################################################
|
|
|
|
|
|
|
|
RSOBJ = rsserial.o rsbaseserial.o rstlvbase.o rstlvtypes.o rsbaseitems.o
|
|
|
|
RSOBJ += rstlvfileitem.o rstlvutil.o
|
|
|
|
|
|
|
|
TESTOBJ = tlvbase_test.o tlvbase_test2.o tlvfileitem_test.o
|
2007-11-21 23:04:13 -05:00
|
|
|
TESTOBJ += tlvitems_test.o tlvstack_test.o tlvconfig_test.o
|
|
|
|
TESTOBJ += rsserial_test.o
|
|
|
|
|
|
|
|
#rsbaseitem_test.o
|
2007-11-15 23:45:00 -05:00
|
|
|
|
|
|
|
TESTS = tlvbase_test tlvbase_test2 tlvfileitem_test
|
2007-11-21 21:28:28 -05:00
|
|
|
TESTS += tlvitems_test tlvstack_test tlvconfig_test
|
2007-11-21 23:04:13 -05:00
|
|
|
TESTS += rsserial_test
|
|
|
|
|
|
|
|
#rsbaseitem_test
|
2007-11-15 23:45:00 -05:00
|
|
|
|
|
|
|
all: librs tests
|
|
|
|
|
|
|
|
tlvbase_test : tlvbase_test.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvbase_test tlvbase_test.o $(OBJ) $(LIBS)
|
|
|
|
|
|
|
|
tlvbase_test2 : tlvbase_test2.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvbase_test2 tlvbase_test2.o $(OBJ) $(LIBS)
|
|
|
|
|
|
|
|
tlvfileitem_test : tlvfileitem_test.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvfileitem_test tlvfileitem_test.o $(OBJ) $(LIBS)
|
|
|
|
|
|
|
|
tlvitems_test : tlvitems_test.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvitems_test tlvitems_test.o $(OBJ) $(LIBS)
|
|
|
|
|
|
|
|
tlvstack_test : tlvstack_test.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvstack_test tlvstack_test.o $(OBJ) $(LIBS)
|
|
|
|
|
2007-11-21 21:28:28 -05:00
|
|
|
tlvconfig_test : tlvconfig_test.o
|
|
|
|
$(CC) $(CFLAGS) -o tlvconfig_test tlvconfig_test.o $(OBJ) $(LIBS)
|
|
|
|
|
2007-11-21 23:04:13 -05:00
|
|
|
rsserial_test : rsserial_test.o
|
|
|
|
$(CC) $(CFLAGS) -o rsserial_test rsserial_test.o $(OBJ) $(LIBS)
|
2007-11-21 21:28:28 -05:00
|
|
|
|
2007-11-21 23:04:13 -05:00
|
|
|
rsbaseitem_test : rsbaseitem_test.o
|
|
|
|
$(CC) $(CFLAGS) -o rsbaseitem_test rsbaseitem_test.o $(OBJ) $(LIBS)
|
2007-11-15 23:45:00 -05:00
|
|
|
|
|
|
|
|
|
|
|
###############################################################
|
|
|
|
include $(RS_TOP_DIR)/scripts/rules.mk
|
|
|
|
###############################################################
|
|
|
|
|