1 | # $Id: Makefile 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 | CC = gcc
|
---|
29 | CFLAGS = -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs \
|
---|
30 | -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
---|
31 | DEFS = -DVBOX -D_FILE_OFFSET_BITS=64
|
---|
32 | INCS = -I. -I/usr/include/subversion-1 -I/usr/include/apr-1.0
|
---|
33 | LIBS = -lsvn_ra-1 -lsvn_ra_local-1 \
|
---|
34 | -lsvn_repos-1 -lsvn_fs-1 -lsvn_delta-1 \
|
---|
35 | -lsvn_subr-1 -lapr-1 -laprutil-1 \
|
---|
36 | -ldb
|
---|
37 |
|
---|
38 | all: svnsync-vbox
|
---|
39 |
|
---|
40 | svnsync-vbox: main.c
|
---|
41 | $(CC) $(CFLAGS) $(DEFS) $(INCS) $(LIBS) -o $@ $<
|
---|
42 |
|
---|
43 | svnsync-vbox: svn_private_config.h
|
---|
44 |
|
---|
45 | svnsync-vbox: Makefile
|
---|
46 |
|
---|