jdk/make/common/shared/Sanity.gmk
changeset 1631 c4ebd0337a6c
parent 1163 0de695c3558f
child 1776 33e9405ab91b
equal deleted inserted replaced
1630:27ede89dcb9c 1631:c4ebd0337a6c
  1348 	@$(CC) -lasound -o $@ $<
  1348 	@$(CC) -lasound -o $@ $<
  1349 
  1349 
  1350 $(ALSA_VERSION_CHECK).c:
  1350 $(ALSA_VERSION_CHECK).c:
  1351 	@$(prep-target)
  1351 	@$(prep-target)
  1352 	@$(ECHO) "#include <alsa/asoundlib.h>\n" \
  1352 	@$(ECHO) "#include <alsa/asoundlib.h>\n" \
  1353                   "int main(char** argv, int argc) {\n" \
  1353 		 "#include <stdio.h>\n" \
  1354                    "  printf(\"%s\", SND_LIB_VERSION_STR);\n" \
  1354 		 "int main(int argc, char** argv) {\n" \
  1355                     "  return 0;\n" \
  1355 		 "  printf(\"%s\", SND_LIB_VERSION_STR);\n" \
  1356                     "}\n" \
  1356 		 "  return 0;\n" \
       
  1357 		 "}\n" \
  1357                     > $@
  1358                     > $@
  1358 endif
  1359 endif
  1359 
  1360 
  1360 sane-alsa-versioncheck: $(ALSA_VERSION_CHECK)
  1361 sane-alsa-versioncheck: $(ALSA_VERSION_CHECK)
  1361 sane-alsa-headers: sane-alsa-versioncheck
  1362 sane-alsa-headers: sane-alsa-versioncheck