| 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) |
| 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 |
| 19 | touch rquota-stamp |
| 20 | |