Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. thisdir = class/Npgsql
  2. SUBDIRS =
  3. include ../../build/rules.make
  4. LIBRARY = Npgsql.dll
  5. LIBRARY_SNK = Npgsql/Npgsql.snk
  6. LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
  7. /r:System.Data.dll /r:System.Drawing.dll \
  8. /r:System.Windows.Forms.dll /r:System.Design.dll \
  9. /r:Mono.Security.dll \
  10. @Npgsql.dll.resources
  11. TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
  12. /r:System.Web.dll /r:System.Data.dll
  13. LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS)
  14. # TODO: We need System.Web.UI.WebControls to build DataAdapterTests.cs
  15. # and DataReaderTests.cs
  16. EXTRA_DISTFILES = \
  17. LICENSE.txt \
  18. README.txt \
  19. RELEASENOTES.txt \
  20. STATUS.txt \
  21. TODO.txt \
  22. Npgsql/Npgsql.snk \
  23. Npgsql/Npgsql.xml
  24. include ../../build/library.make
  25. RESX_RES = Npgsql/NpgsqlState.resources Npgsql/NpgsqlClosedState.resources Npgsql/NpgsqlParameterCollection.resources Npgsql/NpgsqlCommand.resources Npgsql/NpgsqlConnectedState.resources Npgsql/NpgsqlParameter.resources Npgsql/NpgsqlConnection.resources Npgsql/NpgsqlReadyState.resources Npgsql/NpgsqlTransaction.resources Npgsql/NpgsqlEventLog.resources Npgsql/NpgsqlException.resources Npgsql/PGUtil.resources NpgsqlTypes/NpgsqlTypesHelper.resources Npgsql/Design/ConnectionStringEditorForm.resources
  26. $(the_lib): $(RESX_RES)
  27. %.resources: %.resx
  28. $(RESGEN) $<