Mercurial > hg > freeDiameter
annotate contrib/debian/rules @ 328:90294e7e986c
Moved the debian dir outside the top level directory
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 28 May 2010 17:19:22 +0900 |
parents | debian/rules@48225b1db9d4 |
children | 2bf23d10bc6f |
rev | line source |
---|---|
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
1 #!/usr/bin/make -f |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
2 # -*- makefile -*- |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
3 # Sample debian/rules that uses debhelper. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
4 # |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
5 # This file was originally written by Joey Hess and Craig Small. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
6 # As a special exception, when this file is copied by dh-make into a |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
7 # dh-make output file, you may use that output file without restriction. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
8 # This special exception was added by Craig Small in version 0.37 of dh-make. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
9 # |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
10 # Modified to make a template file for a multi-binary package with separated |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
11 # build-arch and build-indep targets by Bill Allombert 2001 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
12 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
13 # Uncomment this to turn on verbose mode. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
14 #export DH_VERBOSE=1 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
15 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
16 # This has to be exported to make some magic below work. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
17 export DH_OPTIONS |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
18 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
19 # Uncomment this to run the tests when the package is built |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
20 # compile_the_tests=-DSKIP_TESTS:BOOL=OFF |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
21 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
22 %: |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
23 dh $@ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
24 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
25 override_dh_auto_configure: |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
26 dh_auto_configure -- $(compile_the_tests) \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
27 -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
28 -DDEFAULT_CONF_PATH:PATH=/etc/freeDiameter \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
29 -DBUILD_APP_ACCT:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
30 -DBUILD_APP_RADGW:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
31 -DBUILD_DBG_MONITOR:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
32 -DBUILD_DBG_RT:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
33 -DBUILD_TEST_APP:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
34 -DBUILD_APP_ACCT:BOOL=ON |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
35 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
36 |