Revert "tizen: Add additional unit for "unified" user session"
[platform/upstream/csr-framework.git] / systemd / CMakeLists.txt
1 # Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
2 #
3 #    Licensed under the Apache License, Version 2.0 (the "License");
4 #    you may not use this file except in compliance with the License.
5 #    You may obtain a copy of the License at
6 #
7 #        http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #    Unless required by applicable law or agreed to in writing, software
10 #    distributed under the License is distributed on an "AS IS" BASIS,
11 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #    See the License for the specific language governing permissions and
13 #    limitations under the License.
14 #
15 CONFIGURE_FILE(${SERVICE_NAME}.service.in ${SERVICE_NAME}.service @ONLY)
16 CONFIGURE_FILE(${SERVICE_NAME}-cs.socket.in ${SERVICE_NAME}-cs.socket @ONLY)
17 CONFIGURE_FILE(${SERVICE_NAME}-wp.socket.in ${SERVICE_NAME}-wp.socket @ONLY)
18 CONFIGURE_FILE(${SERVICE_NAME}-admin.socket.in ${SERVICE_NAME}-admin.socket @ONLY)
19
20 CONFIGURE_FILE(${SERVICE_NAME}-popup.service.in ${SERVICE_NAME}-popup.service @ONLY)
21 CONFIGURE_FILE(${SERVICE_NAME}-popup.socket.in ${SERVICE_NAME}-popup.socket @ONLY)
22
23 INSTALL(
24         FILES
25                 ${SERVICE_NAME}.service
26                 ${SERVICE_NAME}-cs.socket
27                 ${SERVICE_NAME}-wp.socket
28                 ${SERVICE_NAME}-admin.socket
29         DESTINATION ${SYSTEMD_UNIT_DIR}
30 )
31
32 INSTALL(
33         FILES
34                 ${SERVICE_NAME}-popup.service
35                 ${SERVICE_NAME}-popup.socket
36         DESTINATION ${POPUP_SYSTEMD_UNIT_DIR}
37 )