Fixed generation of header files. Removed generated header files from

repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-01-25 17:21:52 +00:00
parent ca9b91886d
commit 4945683e6f
4 changed files with 8 additions and 13 deletions

View File

@ -1,2 +0,0 @@
B_WEBCAM_MKINTFUNC(quickcam)
B_WEBCAM_MKINTFUNC(sonix)

View File

@ -1 +0,0 @@
B_WEBCAM_DECLARE_CSTRANSFORM(BayerTransform, bayer)

View File

@ -1,3 +0,0 @@
B_WEBCAM_DECLARE_SENSOR(HDCS1000Sensor, hdcs1000)
B_WEBCAM_DECLARE_SENSOR(HV7131E1Sensor, hv7131e1)
B_WEBCAM_DECLARE_SENSOR(TAS5110C1BSensor, tas5110c1b)

View File

@ -51,19 +51,20 @@ sensorsSources = hdcs1000.cpp hv7131e1.cpp tas5110c1b.cpp ;
## how to build header files from sources to include the list of built-in addons.
# but it doesn't seem to work for some reason...
rule USBWebcamHeaderGen
rule USBWebcamHeaderGen header : macro : sources
{
SEARCH on $(3) = $(SEARCH_SOURCE) ;
SEARCH on $(sources) = $(SEARCH_SOURCE) ;
Depends $(1) : $(3) ;
MakeLocateArch $(<) ;
USBWebcamHeaderGen1 $(2) : $(3) : $(1) ;
LocalClean clean : $(<) ;
Depends $(header) : $(sources) ;
MakeLocateArch $(header) ;
GREP_DEFINE on $(header) = $(macro) ;
USBWebcamHeaderGen1 $(header) : $(sources) ;
LocalClean clean : $(header) ;
}
actions USBWebcamHeaderGen1
{
alert 'grep -h $(1) $(2) > $(3) ' ;
grep -h $(GREP_DEFINE) $(2) > $(1) ;
}
USBWebcamHeaderGen [ FGristFiles CamInternalAddons.h ] : B_WEBCAM_MKINTFUNC : $(addonSources) ;