1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
thisdir = class/Npgsql
SUBDIRS =
include ../../build/rules.make
LIBRARY = Npgsql.dll
LIBRARY_SNK = Npgsql/Npgsql.snk
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
/r:System.Data.dll \
/r:Mono.Security.dll \
@Npgsql.dll.resources
TEST_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Xml.dll \
/r:System.Web.dll /r:System.Data.dll \
-nowarn:0618 -nowarn:219 -nowarn:169
LIB_MCS_FLAGS_RESOURCES = $(LIB_MCS_FLAGS)
# TODO: We need System.Web.UI.WebControls to build DataAdapterTests.cs
# and DataReaderTests.cs
EXTRA_DISTFILES = \
LICENSE.txt \
README.txt \
RELEASENOTES.txt \
STATUS.txt \
TODO.txt \
Npgsql/Npgsql.snk \
Npgsql/Npgsql.pub \
$(RESX_RES:.resources=.resx) \
$(OTHER_RES) \
Npgsql.dll.resources
CLEAN_FILES = $(RESX_RES)
OTHER_RES = \
Npgsql/NpgsqlConnection.bmp \
Npgsql/NpgsqlCommand.bmp \
Npgsql/NpgsqlDataAdapter.bmp
RESX_RES = \
Npgsql/NpgsqlState.resources \
Npgsql/NpgsqlClosedState.resources \
Npgsql/NpgsqlParameterCollection.resources \
Npgsql/NpgsqlCommand.resources \
Npgsql/NpgsqlCommandBuilder.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 \
Npgsql/NpgsqlConnectionString.resources \
NpgsqlTypes/NpgsqlTypesHelper.resources
include ../../build/library.make
$(the_lib): $(RESX_RES) $(OTHER_RES)
$(RESX_RES): %.resources: %.resx
$(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
|