makefile.mk (7871dc3e) makefile.mk (bfbc7fbc)
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_osl_file
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_osl_file
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
38# --- BEGIN --------------------------------------------------------
41CFLAGS+= $(LFS_CFLAGS)
42CXXFLAGS+= $(LFS_CFLAGS)
43
44# --- BEGIN --------------------------------------------------------
39SHL1OBJS= \
45APP1OBJS= \
40 $(SLO)$/osl_File.obj
46 $(SLO)$/osl_File.obj
41SHL1TARGET= osl_File
42SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
43
44SHL1IMPLIB= i$(SHL1TARGET)
45
46DEF1NAME =$(SHL1TARGET)
47SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
48
47APP1TARGET= osl_File
48APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
49APP1RPATH = NONE
50APP1TEST = enabled
49#-------------------------------------------------------------------
50
51#-------------------------------------------------------------------
52
51SHL2OBJS=$(SLO)$/test_cpy_wrt_file.obj
52SHL2TARGET=tcwf
53SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
54SHL2IMPLIB=i$(SHL2TARGET)
55SHL2DEF=$(MISC)$/$(SHL2TARGET).def
56SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
57DEF2NAME =$(SHL2TARGET)
58
59
53APP2OBJS=$(SLO)$/test_cpy_wrt_file.obj
54APP2TARGET=tcwf
55APP2STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
56APP2RPATH = NONE
57APP2TEST = enabled
60# END --------------------------------------------------------------
61
62# --- BEGIN --------------------------------------------------------
58# END --------------------------------------------------------------
59
60# --- BEGIN --------------------------------------------------------
63SHL3OBJS= \
61APP3OBJS= \
64 $(SLO)$/osl_old_test_file.obj
62 $(SLO)$/osl_old_test_file.obj
65SHL3TARGET= osl_old_test_file
66SHL3STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
67
68SHL3IMPLIB= i$(SHL3TARGET)
69
70DEF3NAME =$(SHL3TARGET)
71SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
63APP3TARGET= osl_old_test_file
64APP3STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
65APP3RPATH = NONE
66APP3TEST = enabled
72# END --------------------------------------------------------------
73
67# END --------------------------------------------------------------
68
74#------------------------------- All object files -------------------------------
75# do this here, so we get right dependencies
76SLOFILES=$(SHL1OBJS)
77
78# --- Targets ------------------------------------------------------
79
80.INCLUDE : target.mk
69# --- Targets ------------------------------------------------------
70
71.INCLUDE : target.mk
81.INCLUDE : _cppunit.mk
72
73.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"