diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-10-21 02:59:50 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-10-21 02:59:50 +0000 |
commit | 50fcfe00dfef499c25e38b0e4d6c594964ca4d9a (patch) | |
tree | e8eabbd40676f1cebb0835350c9a9788d328c553 /lib | |
parent | af600a78dc0f71100432cbb39792b308199fde9b (diff) | |
download | netpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.tar.gz netpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.tar.xz netpbm-mirror-50fcfe00dfef499c25e38b0e4d6c594964ca4d9a.zip |
Rename header files from <xxx.h> to <netpbm/xxx.h>
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@441 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 6 | ||||
-rw-r--r-- | lib/bitio.h | 4 | ||||
-rw-r--r-- | lib/colorname.h | 2 | ||||
-rw-r--r-- | lib/pam.h | 4 | ||||
-rw-r--r-- | lib/pammap.h | 4 | ||||
-rw-r--r-- | lib/pbm.h | 2 | ||||
-rw-r--r-- | lib/pgm.h | 4 | ||||
-rw-r--r-- | lib/pm.h | 2 | ||||
-rw-r--r-- | lib/pm_gamma.h | 2 | ||||
-rw-r--r-- | lib/pnm.h | 4 | ||||
-rw-r--r-- | lib/ppm.h | 6 |
11 files changed, 21 insertions, 19 deletions
diff --git a/lib/Makefile b/lib/Makefile index 508cd6a0..c7af819f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -240,9 +240,11 @@ install.hdr: $(INTERFACE_HEADERS:%=%_installhdr) # prefer not to "install" them, but just to access the Netpbm source # directory when you compile your programs. -%_installhdr: $(PKGDIR)/include +.PHONY: $(INTERFACE_HEADERS:%=%_installhdr) + +$(INTERFACE_HEADERS:%=%_installhdr): $(PKGDIR)/include/netpbm $(INSTALL) -c -m $(INSTALL_PERM_HDR) \ - $(SRCDIR)/lib/$(@:%_installhdr=%) $(PKGDIR)/include/; + $(SRCDIR)/lib/$(@:%_installhdr=%) $(PKGDIR)/include/netpbm/ .PHONY: install.staticlib install.staticlib: $(PKGDIR)/link diff --git a/lib/bitio.h b/lib/bitio.h index 15fe0e8a..dfc5a153 100644 --- a/lib/bitio.h +++ b/lib/bitio.h @@ -32,7 +32,7 @@ #ifndef _BITIO_H_ #define _BITIO_H_ -#include "pm.h" +#include <netpbm/pm.h> #ifdef __cplusplus extern "C" { @@ -86,4 +86,4 @@ pm_bitwrite(BITSTREAM b, #ifdef __cplusplus } #endif -#endif /* _BITIO_H_ */ +#endif diff --git a/lib/colorname.h b/lib/colorname.h index d33980e4..74583144 100644 --- a/lib/colorname.h +++ b/lib/colorname.h @@ -3,7 +3,7 @@ #include <string.h> #include <stdio.h> -#include "ppm.h" +#include <netpbm/ppm.h> #ifdef __cplusplus extern "C" { diff --git a/lib/pam.h b/lib/pam.h index 8f9f5d12..c28c5c2c 100644 --- a/lib/pam.h +++ b/lib/pam.h @@ -6,8 +6,8 @@ #ifndef PAM_H #define PAM_H -#include "pm.h" -#include "pnm.h" +#include <netpbm/pm.h> +#include <netpbm/pnm.h> #ifdef __cplusplus extern "C" { diff --git a/lib/pammap.h b/lib/pammap.h index a53a9c23..c9c1deed 100644 --- a/lib/pammap.h +++ b/lib/pammap.h @@ -9,8 +9,8 @@ #ifndef PAMMAP_H #define PAMMAP_H -#include "colorname.h" -#include "pam.h" +#include <netpbm/colorname.h> +#include <netpbm/pam.h> #ifdef __cplusplus extern "C" { diff --git a/lib/pbm.h b/lib/pbm.h index 1591c77f..dbe50216 100644 --- a/lib/pbm.h +++ b/lib/pbm.h @@ -1,7 +1,7 @@ #ifndef PBM_H_INCLUDED #define PBM_H_INCLUDED -#include "pm.h" +#include <netpbm/pm.h> #ifdef __cplusplus extern "C" { diff --git a/lib/pgm.h b/lib/pgm.h index fd960b5b..2de8d531 100644 --- a/lib/pgm.h +++ b/lib/pgm.h @@ -4,8 +4,8 @@ #ifndef _PGM_H_ #define _PGM_H_ -#include "pm.h" -#include "pbm.h" +#include <netpbm/pm.h> +#include <netpbm/pbm.h> #ifdef __cplusplus extern "C" { diff --git a/lib/pm.h b/lib/pm.h index 30f126db..28dfbb43 100644 --- a/lib/pm.h +++ b/lib/pm.h @@ -13,7 +13,7 @@ #ifndef PM_H_INCLUDED #define PM_H_INCLUDED -#include "pm_config.h" +#include <netpbm/pm_config.h> #include <sys/types.h> #include <ctype.h> diff --git a/lib/pm_gamma.h b/lib/pm_gamma.h index 92b34145..6630e05c 100644 --- a/lib/pm_gamma.h +++ b/lib/pm_gamma.h @@ -1,7 +1,7 @@ #ifndef _PM_GAMMA_H_ #define _PM_GAMMA_H_ -#include "pm_config.h" +#include <netpbm/pm_config.h> #include <math.h> diff --git a/lib/pnm.h b/lib/pnm.h index 93660d91..636c1336 100644 --- a/lib/pnm.h +++ b/lib/pnm.h @@ -4,8 +4,8 @@ #ifndef _PNM_H_ #define _PNM_H_ -#include "pm.h" -#include "ppm.h" +#include <netpbm/pm.h> +#include <netpbm/ppm.h> #ifdef __cplusplus extern "C" { diff --git a/lib/ppm.h b/lib/ppm.h index 190f9aae..604b9cb1 100644 --- a/lib/ppm.h +++ b/lib/ppm.h @@ -3,8 +3,8 @@ #ifndef _PPM_H_ #define _PPM_H_ -#include "pm.h" -#include "pgm.h" +#include <netpbm/pm.h> +#include <netpbm/pgm.h> #ifdef __cplusplus extern "C" { @@ -51,7 +51,7 @@ typedef struct { #define PPM_TYPE PPM_FORMAT -#include "ppmcmap.h" +#include <netpbm/ppmcmap.h> /* Macro for turning a format number into a type number. */ |