mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -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
|
||||
*Lexer.[ch]
|
||||
*Parser.[ch]
|
||||
DAAP2SQL.[ch]
|
||||
RSP2SQL.[ch]
|
||||
SMARTPL2SQL.[ch]
|
||||
|
||||
*2SQL.[ch]
|
||||
*.u
|
||||
|
||||
daap_query_hash.c
|
||||
rsp_query_hash.c
|
||||
dacp_prop_hash.c
|
||||
dmap_fields_hash.c
|
||||
daap_query_hash.h
|
||||
rsp_query_hash.h
|
||||
dacp_prop_hash.h
|
||||
dmap_fields_hash.h
|
||||
|
@ -44,7 +44,7 @@ options {
|
||||
};
|
||||
|
||||
/* gperf static hash, daap_query.gperf */
|
||||
#include "daap_query_hash.c"
|
||||
#include "daap_query_hash.h"
|
||||
}
|
||||
|
||||
query returns [ pANTLR3_STRING result ]
|
||||
|
@ -39,11 +39,7 @@ GPERF_FILES = \
|
||||
dacp_prop.gperf \
|
||||
dmap_fields.gperf
|
||||
|
||||
GPERF_PRODUCTS = \
|
||||
daap_query_hash.c \
|
||||
rsp_query_hash.c \
|
||||
dacp_prop_hash.c \
|
||||
dmap_fields_hash.c
|
||||
GPERF_PRODUCTS = $(GPERF_FILES:.gperf=_hash.h)
|
||||
|
||||
ANTLR_GRAMMARS = \
|
||||
RSP.g RSP2SQL.g \
|
||||
@ -158,7 +154,7 @@ CLEANFILES = \
|
||||
|
||||
|
||||
# gperf construction rules
|
||||
%_hash.c: %.gperf
|
||||
%_hash.h: %.gperf
|
||||
if $(GPERF) $< > $@.tmp; then \
|
||||
mv $@.tmp $@; \
|
||||
elif $(GPERF) --version >/dev/null 2>&1; then \
|
||||
|
@ -50,7 +50,7 @@ options {
|
||||
};
|
||||
|
||||
/* gperf static hash, rsp_query.gperf */
|
||||
#include "rsp_query_hash.c"
|
||||
#include "rsp_query_hash.h"
|
||||
}
|
||||
|
||||
query returns [ pANTLR3_STRING result ]
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
|
||||
/* gperf static hash, dmap_fields.gperf */
|
||||
#include "dmap_fields_hash.c"
|
||||
#include "dmap_fields_hash.h"
|
||||
|
||||
|
||||
const struct dmap_field *
|
||||
|
@ -136,7 +136,7 @@ dacp_propset_userrating(const char *value, struct evkeyvalq *query);
|
||||
|
||||
|
||||
/* gperf static hash, dacp_prop.gperf */
|
||||
#include "dacp_prop_hash.c"
|
||||
#include "dacp_prop_hash.h"
|
||||
|
||||
|
||||
/* Play status update */
|
||||
|
Loading…
Reference in New Issue
Block a user