makefile.mk (7871dc3e) makefile.mk (71cbe377)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 18 unchanged lines hidden (view full) ---

27TARGET=qa_rtl_uritest
28
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE : settings.mk
34
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 18 unchanged lines hidden (view full) ---

27TARGET=qa_rtl_uritest
28
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE : settings.mk
34
35.IF "$(ENABLE_UNIT_TESTS)" != "YES"
36all:
37 @echo unit tests are disabled. Nothing to do.
38
39.ELSE
40
35CFLAGS+= $(LFS_CFLAGS)
36CXXFLAGS+= $(LFS_CFLAGS)
37
41CFLAGS+= $(LFS_CFLAGS)
42CXXFLAGS+= $(LFS_CFLAGS)
43
38CFLAGSCXX += $(CPPUNIT_CFLAGS)
39
40# --- BEGIN --------------------------------------------------------
44# --- BEGIN --------------------------------------------------------
41SHL1OBJS= \
45APP1OBJS= \
42 $(SLO)$/rtl_Uri.obj
46 $(SLO)$/rtl_Uri.obj
43SHL1TARGET= rtl_uri_simple
44SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
47APP1TARGET= rtl_uri_simple
48APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
49APP1RPATH = NONE
50APP1TEST = enabled
45
51
46SHL1IMPLIB= i$(SHL1TARGET)
47DEF1NAME =$(SHL1TARGET)
48SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
49
50# END --------------------------------------------------------------
51
52# --- BEGIN --------------------------------------------------------
52# END --------------------------------------------------------------
53
54# --- BEGIN --------------------------------------------------------
53SHL2OBJS= \
55APP2OBJS= \
54 $(SLO)$/rtl_testuri.obj
56 $(SLO)$/rtl_testuri.obj
55SHL2TARGET= rtl_Uri
56SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
57APP2TARGET= rtl_Uri
58APP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
59APP2RPATH = NONE
60APP2TEST = enabled
57
61
58SHL2IMPLIB= i$(SHL2TARGET)
59DEF2NAME =$(SHL2TARGET)
60SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
61
62# END --------------------------------------------------------------
63
62# END --------------------------------------------------------------
63
64#------------------------------- All object files -------------------------------
65# do this here, so we get right dependencies
66# SLOFILES=$(SHL1OBJS)
67
68# --- Targets ------------------------------------------------------
69
70.INCLUDE : target.mk
64# --- Targets ------------------------------------------------------
65
66.INCLUDE : target.mk
71.INCLUDE : _cppunit.mk
67
68.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"