mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 08:45:02 -05:00
[gperf] Renamed products to .h so they aren't built if listed in SOURCES
This commit is contained in:
parent
d7f8dea0ec
commit
b38bccc458
13
src/.gitignore
vendored
13
src/.gitignore
vendored
@ -3,13 +3,10 @@ forked-daapd
|
|||||||
*.tokens
|
*.tokens
|
||||||
*Lexer.[ch]
|
*Lexer.[ch]
|
||||||
*Parser.[ch]
|
*Parser.[ch]
|
||||||
DAAP2SQL.[ch]
|
*2SQL.[ch]
|
||||||
RSP2SQL.[ch]
|
|
||||||
SMARTPL2SQL.[ch]
|
|
||||||
|
|
||||||
*.u
|
*.u
|
||||||
|
|
||||||
daap_query_hash.c
|
daap_query_hash.h
|
||||||
rsp_query_hash.c
|
rsp_query_hash.h
|
||||||
dacp_prop_hash.c
|
dacp_prop_hash.h
|
||||||
dmap_fields_hash.c
|
dmap_fields_hash.h
|
||||||
|
@ -44,7 +44,7 @@ options {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* gperf static hash, daap_query.gperf */
|
/* gperf static hash, daap_query.gperf */
|
||||||
#include "daap_query_hash.c"
|
#include "daap_query_hash.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
query returns [ pANTLR3_STRING result ]
|
query returns [ pANTLR3_STRING result ]
|
||||||
|
@ -39,11 +39,7 @@ GPERF_FILES = \
|
|||||||
dacp_prop.gperf \
|
dacp_prop.gperf \
|
||||||
dmap_fields.gperf
|
dmap_fields.gperf
|
||||||
|
|
||||||
GPERF_PRODUCTS = \
|
GPERF_PRODUCTS = $(GPERF_FILES:.gperf=_hash.h)
|
||||||
daap_query_hash.c \
|
|
||||||
rsp_query_hash.c \
|
|
||||||
dacp_prop_hash.c \
|
|
||||||
dmap_fields_hash.c
|
|
||||||
|
|
||||||
ANTLR_GRAMMARS = \
|
ANTLR_GRAMMARS = \
|
||||||
RSP.g RSP2SQL.g \
|
RSP.g RSP2SQL.g \
|
||||||
@ -158,7 +154,7 @@ CLEANFILES = \
|
|||||||
|
|
||||||
|
|
||||||
# gperf construction rules
|
# gperf construction rules
|
||||||
%_hash.c: %.gperf
|
%_hash.h: %.gperf
|
||||||
if $(GPERF) $< > $@.tmp; then \
|
if $(GPERF) $< > $@.tmp; then \
|
||||||
mv $@.tmp $@; \
|
mv $@.tmp $@; \
|
||||||
elif $(GPERF) --version >/dev/null 2>&1; then \
|
elif $(GPERF) --version >/dev/null 2>&1; then \
|
||||||
|
@ -50,7 +50,7 @@ options {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* gperf static hash, rsp_query.gperf */
|
/* gperf static hash, rsp_query.gperf */
|
||||||
#include "rsp_query_hash.c"
|
#include "rsp_query_hash.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
query returns [ pANTLR3_STRING result ]
|
query returns [ pANTLR3_STRING result ]
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* gperf static hash, dmap_fields.gperf */
|
/* gperf static hash, dmap_fields.gperf */
|
||||||
#include "dmap_fields_hash.c"
|
#include "dmap_fields_hash.h"
|
||||||
|
|
||||||
|
|
||||||
const struct dmap_field *
|
const struct dmap_field *
|
||||||
|
@ -136,7 +136,7 @@ dacp_propset_userrating(const char *value, struct evkeyvalq *query);
|
|||||||
|
|
||||||
|
|
||||||
/* gperf static hash, dacp_prop.gperf */
|
/* gperf static hash, dacp_prop.gperf */
|
||||||
#include "dacp_prop_hash.c"
|
#include "dacp_prop_hash.h"
|
||||||
|
|
||||||
|
|
||||||
/* Play status update */
|
/* Play status update */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user