Commit | Line | Data |
---|---|---|
6c437065 TN |
1 | noinst_LTLIBRARIES = librquota.la |
2 | ||
3 | rquota_SOURCES_GENERATED = libnfs-raw-rquota.c | |
4 | rquota_HEADERS_GENERATED = libnfs-raw-rquota.h | |
5 | rquota_GENERATED = $(rquota_SOURCES_GENERATED) $(rquota_HEADERS_GENERATED) | |
6 | ||
7 | CLEANFILES = $(rquota_GENERATED) rquota-stamp | |
8 | ||
9 | librquota_la_CPPFLAGS = -I$(abs_top_srcdir)/include | |
10 | librquota_la_SOURCES = \ | |
11 | $(rquota_SOURCES_GENERATED) \ | |
12 | rquota.c | |
13 | ||
14 | $(rquota_GENERATED) : rquota-stamp | |
15 | rquota-stamp : rquota.x | |
16 | rm -f $(rquota_GENERATED) | |
752d8ed2 TN |
17 | rpcgen -h @RPCGENFLAGS@ $< > libnfs-raw-rquota.h |
18 | rpcgen -c @RPCGENFLAGS@ $< | sed -e "s/#include \".*rquota.h\"/#include \"libnfs-raw-rquota.h\"/" > libnfs-raw-rquota.c | |
6c437065 TN |
19 | touch rquota-stamp |
20 |