| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| include common.mk |
| include pc_utils.mk |
| |
| PC_DEPS := arc-camera3-android-headers |
| PC_CFLAGS := $(call get_pc_cflags,$(PC_DEPS)) |
| |
| CPPFLAGS += $(PC_CFLAGS) -D_GNU_SOURCE -I$(abspath $(SRC)) \ |
| -I$(abspath $(SRC)/include) |
| CXXFLAGS += -std=c++11 -Wpointer-arith |
| CFLAGS += -std=c99 |
| |
| camera_hal_usb: hal/usb/camera_hal |
| |
| .PHONY: camera_hal_usb |
| |
| camera3_test: camera3_test/arc_camera3_test |
| |
| .PHONY: camera3_test |
| |
| camera3_fuzzer: camera3_test/arc_camera3_fuzzer |
| |
| .PHONY: camera3_fuzzer |
| |
| hal_adapter: |
| $(MAKE) hal_adapter/mojo/mojo_templates |
| $(MAKE) hal_adapter/arc_camera3_service |
| |
| .PHONY: hal_adapter |
| |
| libcab: |
| $(MAKE) common/mojo/mojo_templates |
| $(MAKE) common/libcab |
| |
| .PHONY: libcab |
| |
| libcab_test: common/libcab_test |
| |
| .PHONY: libcab_test |
| |
| libcamera_exif: common/libcamera_exif |
| |
| .PHONY: libcamera_exif |
| |
| libcamera_jpeg: common/libcamera_jpeg |
| |
| .PHONY: libcamera_jpeg |
| |
| libcamera_timezone: common/libcamera_timezone |
| |
| .PHONY: libcamera_timezone |
| |
| libcbm: common/libcbm |
| |
| .PHONY: libcbm |